lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <>
Subject Re: Whole Phrase search in Solr
Date Mon, 03 Dec 2012 17:22:36 GMT
If you use the edismax query parser and set the "pf", "pf2", and "pf3" 
fields your phrases should show up as top results. This will not eliminate 
non-phrase matches, but will assure that phrase matches get boosted.


-- Jack Krupansky

-----Original Message----- 
From: NickA
Sent: Monday, December 03, 2012 11:37 AM
Subject: Re: Whole Phrase search in Solr

Thank you Jack,

the problem with the "AND" is that it does not search for a PHRASE but for
the 2 words being SOMEWHERE in the article.

For example the "Check this" will NOT search for "Check this" as a PHRASE
but for the "Check" word and the "this" word somewhere in the article, even
far away the one from the other.

So the suggestions that you made do not work for searching as a "PHRASE".

Unless we do something wrong?

Any other ideas on the PHRASE search?

Thank you again!

View this message in context:
Sent from the Solr - User mailing list archive at 

View raw message