Re: how to boost first token

2010-03-06 Thread Erik Hatcher
I don't think there's a way to do this out of the box, but if there were a SpanFirstQuery parser plugin, it could be used as a dismax boosting query (bq) or as an optional _query_ expression. Erik On Mar 5, 2010, at 11:56 AM, Сергей Кашин wrote: I have some documents in Solr index

how to boost first token

2010-03-05 Thread Сергей Кашин
I have some documents in Solr index like this toyota shock front toyota front shock If I query with 'shock' phrase the result is not sorted and may be --