On 4/20/07, Simon Kahl <[EMAIL PROTECTED]> wrote:
I need to conditionally order results of phrase searches like this: * First show all docs with phrase in field A - regardless of other occurences of phrase in doc - ordered alphabetically by field X * Next show all docs with phrase in field B - ... (as above) * Then same again for fields C, D and E * Then show remaining matching docs as per default scoring Perhaps I will have to do this clientside (ie. do multiple searches and concatenate results), but I'm hoping there is some way I can do this in a single search.
You can approximate it by doing something like: A:"phrase"^100000 B:"phrase"^10000 C:"phrase"^1000 D:"phrase"^100 E:"phrase"^30 <rest of query> HTH, -Mike