Re: one particular doc in results should always come first for a particular query

2010-04-06 Thread Mark Fletcher
Thanks Eric, Chris! I tried the Query Elevation and it seems to be working fine for me. Best Rgds, Mark. On Mon, Apr 5, 2010 at 7:40 PM, Chris Hostetter wrote: > > : If that's the case, you could copy the magic keyword to a different field > : (say magic_keyword) and boost it right into orbit a

Re: one particular doc in results should always come first for a particular query

2010-04-05 Thread Chris Hostetter
: If that's the case, you could copy the magic keyword to a different field : (say magic_keyword) and boost it right into orbit as an OR clause : (magic_keyword:bonkers ^1). This kind of assumes that a magic keyword : corresponds to one and only one document : : If this is way off base, p

Re: one particular doc in results should always come first for a particular query

2010-04-05 Thread Erick Erickson
Hmmm, how do you know which particular record corresponds to which keyword? Is this a list known at index time, as in "this record should come up first whenever "bonkers" is the keyword? If that's the case, you could copy the magic keyword to a different field (say magic_keyword) and boost it righ

one particular doc in results should always come first for a particular query

2010-04-05 Thread Mark Fletcher
Hi, Suppose I search for the word *international. *A particular record (say * recordX*) I am looking for is coming as the Nth result now. I have a requirement that when a user queries for *international *I need recordX to always be the first result. How can I achieve this. Note:- When user searc