Hi,
I am using elastic search 0.20.5. when user stop word filter is not working.
my analyzer setting is in following link
and my stop word file is
I am creating index using following values
The oracle
The Rajesh
oracle company
The
oracle
Rajesh company
company
Rajesh
I got following indexes
it didn't remove stop word from values.
{id=4, CompanyName=The oracle}
{id=5, CompanyName=The Rajesh}
{id=1, CompanyName=oracle company}
{id=6, CompanyName=The}
{id=2, CompanyName=oracle}
{id=7, CompanyName=Rajesh company}
{id=3, CompanyName=company}
{id=8, CompanyName=Rajesh}
and when I search using "company" I got all record that contains "*company
*" like
{id=1, CompanyName=oracle company}
{id=7, CompanyName=Rajesh company}
{id=3, CompanyName=company}
i think it's wrong because company in stop word file.
I want the output like following
if i search for "company" then i must "get no record".
if i search for "oracle" the i must got
oracle
oralce(without "the" because "the" is also available in stopword file )
oralce(without "company" because "company" is also available in stopword
file )
and when i search for rajesh then search result is
Rajesh
Rajesh(without "the" because "the" is also available in stopword file )
Rajesh(without "company" because "company" is also available in stopword
file )
But i didn't get this result.
i think stopword is not working.
please help
Thanks
Rajesh
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.