You must implement a SpanFirst query yourself. These are not implemented in any
Solr query parser. You can easily expand the (e)dismax parsers and add support
for it.
-----Original message-----
> From:Anatoli Matuskova <anatoli.matusk...@gmail.com>
> Sent: Thursday 18th July 2013 11:54
> To: solr-user@lucene.apache.org
> Subject: boost docs if token matches happen in the first 5 words
>
> I've a set of documents with a WhiteSpaceTokenize field. I want to give more
> boost when the match of the query happens in the first 3 token positions of
> the field. Is there any way to do that (don't want to use payloads as they
> mean on more seek to disk so lower performance)
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/boost-docs-if-token-matches-happen-in-the-first-5-words-tp4078786.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>