Which version of Solr are you using?
: Terms with embedded special characters are treated as phrases with spaces in
: place of the special characters. So, "gb-mb" is treated as if you had enclosed
: the term in quotes.
take a look at "autoGeneratePhraseQueries" option on your field type ...
dep
You could pre-process your queries to convert hyphen and other special
characters to spaces.
-- Jack Krupansky
-Original Message-
From: Alireza Salimi
Sent: Wednesday, July 04, 2012 12:56 PM
To: solr-user@lucene.apache.org
Subject: Re: Synonyms and hyphens
ok, so how can I prevent
eza Salimi
> Sent: Wednesday, July 04, 2012 12:05 PM
>
> To: solr-user@lucene.apache.org
> Subject: Re: Synonyms and hyphens
>
> Wow, I didn't know that. Is there a way to disable this feature? I mean, is
> it something coming from the Analyzer?
>
> On Wed, Jul 4, 2012 at 12:26
Krupansky
-Original Message-
From: Alireza Salimi
Sent: Wednesday, July 04, 2012 12:05 PM
To: solr-user@lucene.apache.org
Subject: Re: Synonyms and hyphens
Wow, I didn't know that. Is there a way to disable this feature? I mean, is
it something coming from the Analyzer?
On Wed,
So, "gb-mb" is treated as if you had
> enclosed the term in quotes.
>
> -- Jack Krupansky
> -Original Message- From: Alireza Salimi
> Sent: Wednesday, July 04, 2012 6:50 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Synonyms and hyphens
>
>
> Hi
M
To: solr-user@lucene.apache.org
Subject: Re: Synonyms and hyphens
Hi,
Does anybody know why hyphen '-' and q.op=AND causes such a big difference
between the two queries? I thought hyphens are removed by StandardTokenizer
which means theoretically the two queries should be the same!
T
Hi,
Does anybody know why hyphen '-' and q.op=AND causes such a big difference
between the two queries? I thought hyphens are removed by StandardTokenizer
which means theoretically the two queries should be the same!
Thanks
On Tue, Jul 3, 2012 at 4:05 PM, Alireza Salimi wrote:
> Hi,
>
> I'm not