You can also specify a large slop in your phrase (e.g.
"arcos biosciences"~500 which will take distance into
account when scoring, although it may not be enough
to rank the document where you want. Sujit's comment
is probably a better place to start.
Best
Erick
On Tue, Apr 26, 2011 at 2:59 PM, Su
Hi Deepak,
Would something like this work in your case?
"Arcos Bioscience"^2.0 "Arcos" "Bioscience"
ie, a BooleanQuery with the full phrase boosted OR'd with a query on
each word?
-sujit
On Tue, 2011-04-26 at 14:46 -0400, Deepak Konidena wrote:
> Hi,
>
> Currently when I type in Arcos Bioscie
Hi,
Currently when I type in Arcos Bioscience in my lucene search, it returns all
those documents with
either Arcos or Bioscience at the top of the search results and the actual
document containing
"Arcos Bioscience" somewhere in the middle/bottom.
The desired behavior is to rank those documen