Ha!  Right, it's not about synonyms, it's about the QP doing the wrong
thing.

At this point I'm not even 100% sure which QP is the problem.  I think it's
the Lucene one, but also the SolrQueryParser, is this correct?

But isn't there a flex parser in Lucene contrib somewhere?  What is the
state of that one?  I could be mistaken, but it seems like that QP was
written, stuffed in the queryparser/, and is never used anywhere in Solr or
elsewhere?  Is this correct or am I missing something?

I'm referring to the Flexible query parser mentioned on
http://lucene.apache.org/core/4_2_0/queryparser/overview-summary.html (via
https://issues.apache.org/jira/browse/LUCENE-1567 )

I did not try it to see if it has the same problem with multi-word
synonyms, but I remember the authors being quite ambitious about it.
 Anyone happens to know?

Thanks,
Otis


On Thu, Jan 24, 2013 at 8:17 PM, Robert Muir <rcm...@gmail.com> wrote:

> On Thu, Jan 24, 2013 at 8:10 PM, Otis Gospodnetic
> <otis.gospodne...@gmail.com> wrote:
> > Funny, I expected everyone would jump on this thread considering so many
> > people hit this multi-word synonym issue...
> >
>
> Probably because its not a synonyms problem: its just a bug in a
> specific queryparser.
>
> If you dont use that queryparser, you dont care: if you want to fix
> that one, well the only correct solution is obvious, fix the
> queryparser not to split on whitespace. hacking other things around it
> is no option at all :)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>

Reply via email to