You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by zainu <za...@gmail.com> on 2012/09/04 12:08:14 UTC
solr issue with seaching words
I am facing a strange problem. I am searching for word "jacke" but solr also
returns result where my description contains 'RCA-Jack/'. Íf i search
"jacka" or "jackc" or "jackd", it works fine and does not return me any
result which is what i am expecting in this case.
Only when there is "jacke", it return me result with "RCA-Jack/". So there
seems some kind of relationshio between "e" and "/" and it considers e as
"/".
Any help?
--
View this message in context: http://lucene.472066.n3.nabble.com/solr-issue-with-seaching-words-tp4005200.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: solr issue with seaching words
Posted by Erick Erickson <er...@gmail.com>.
And you have SnowballPorterFilterFactory in your analysis chain which
is transforming "jacke" into "jack".
Best
Erick
On Mon, Sep 10, 2012 at 7:15 AM, zainu <za...@gmail.com> wrote:
> http://lucene.472066.n3.nabble.com/file/n4006583/Unbenannt.png
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/solr-issue-with-seaching-words-tp4005200p4006583.html
> Sent from the Solr - User mailing list archive at Nabble.com.
Re: solr issue with seaching words
Posted by zainu <za...@gmail.com>.
http://lucene.472066.n3.nabble.com/file/n4006583/Unbenannt.png
--
View this message in context: http://lucene.472066.n3.nabble.com/solr-issue-with-seaching-words-tp4005200p4006583.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: solr issue with seaching words
Posted by zainu <za...@gmail.com>.
Thank you very much guys for your reply and sorry for getting back to you so
late. Here is output from anylsis. Please see the attached image. I can see
, it returns me Jack as well when i type jacke.
--
View this message in context: http://lucene.472066.n3.nabble.com/solr-issue-with-seaching-words-tp4005200p4006580.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: solr issue with seaching words
Posted by Chris Hostetter <ho...@fucit.org>.
: I am facing a strange problem. I am searching for word "jacke" but solr also
: returns result where my description contains 'RCA-Jack/'. Íf i search
: "jacka" or "jackc" or "jackd", it works fine and does not return me any
: result which is what i am expecting in this case.
you need to tell us what the analyzers in your fieldType - if i had to
guess, i would suspect that you are using a rules basd stemmer that
converts "jacke" to "jack" in combination with something that splits on
"-" ... which could be WordDelimiterFilter, or it could be something else.
devil is in the details
-Hoss
Re: solr issue with seaching words
Posted by Rafał Kuć <r....@solr.pl>.
Hello!
I suppose, you may have word delimiter along with stemming in your
configuration. You may see how your analysis chain works in Solr
analysis pages (admin panel). You can paste the type configuration for
the field you experiencing issues on and we will be able to see what
is happening.
--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch
> I am facing a strange problem. I am searching for word "jacke" but solr also
> returns result where my description contains 'RCA-Jack/'. Íf i search
> "jacka" or "jackc" or "jackd", it works fine and does not return me any
> result which is what i am expecting in this case.
> Only when there is "jacke", it return me result with "RCA-Jack/". So there
> seems some kind of relationshio between "e" and "/" and it considers e as
> "/".
> Any help?
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/solr-issue-with-seaching-words-tp4005200.html
> Sent from the Solr - User mailing list archive at Nabble.com.
Re: solr issue with seaching words
Posted by Dikchant Sahi <co...@gmail.com>.
Try debugging it using analysis page or running the query in debug mode
(&debugQuery=true).
In analysis page, add 'RCA-Jack/' to index and 'jacke' to query. This might
help you understanding the behavior.
If still unable to debug, some additional information would be required to
help.
On Tue, Sep 4, 2012 at 3:38 PM, zainu <za...@gmail.com> wrote:
> I am facing a strange problem. I am searching for word "jacke" but solr
> also
> returns result where my description contains 'RCA-Jack/'. Íf i search
> "jacka" or "jackc" or "jackd", it works fine and does not return me any
> result which is what i am expecting in this case.
>
> Only when there is "jacke", it return me result with "RCA-Jack/". So there
> seems some kind of relationshio between "e" and "/" and it considers e as
> "/".
>
> Any help?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/solr-issue-with-seaching-words-tp4005200.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>