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 Alistair Young <al...@uhi.ac.uk> on 2013/09/04 12:57:14 UTC
Strange behaviour with single word and phrase
I wonder if anyone could point me in the right direction please?
If I search on the phrase "the toolkit" I get hits containing that phrase but also hits that have the word 'the' before the word 'toolkit', no matter how far apart they are.
Also, if I search on the word 'the' there are no hits at all.
Thanks,
Alistair
-----------------
mov eax,1
mov ebx,0
int 80
Re: Strange behaviour with single word and phrase
Posted by Alistair Young <al...@uhi.ac.uk>.
Yep ignoring stop words. Thanks for the pointer.
Alistair
-----------------
mov eax,1
mov ebx,0
int 80
On 04/09/2013 13:43, "Jack Krupansky" <ja...@basetechnology.com> wrote:
>Do you have stop word filtering enabled? What does your field type look
>like?
>
>If stop words are ignored, you will get exactly the behavior you
>described.
>
>-- Jack Krupansky
>
>-----Original Message-----
>From: Alistair Young
>Sent: Wednesday, September 04, 2013 6:57 AM
>To: solr-user@lucene.apache.org
>Subject: Strange behaviour with single word and phrase
>
>I wonder if anyone could point me in the right direction please?
>
>If I search on the phrase "the toolkit" I get hits containing that phrase
>but also hits that have the word 'the' before the word 'toolkit', no
>matter
>how far apart they are.
>
>Also, if I search on the word 'the' there are no hits at all.
>
>Thanks,
>
>Alistair
>
>-----------------
>mov eax,1
>mov ebx,0
>int 80
>
>
Re: Strange behaviour with single word and phrase
Posted by Jack Krupansky <ja...@basetechnology.com>.
Do you have stop word filtering enabled? What does your field type look
like?
If stop words are ignored, you will get exactly the behavior you described.
-- Jack Krupansky
-----Original Message-----
From: Alistair Young
Sent: Wednesday, September 04, 2013 6:57 AM
To: solr-user@lucene.apache.org
Subject: Strange behaviour with single word and phrase
I wonder if anyone could point me in the right direction please?
If I search on the phrase "the toolkit" I get hits containing that phrase
but also hits that have the word 'the' before the word 'toolkit', no matter
how far apart they are.
Also, if I search on the word 'the' there are no hits at all.
Thanks,
Alistair
-----------------
mov eax,1
mov ebx,0
int 80