Hi Otis,
Finally i construct my own function query that gives more score if the value
is at the start of the field. But, its possible to tell solr to use
spanFirstQuery without coding. I think i have read that its no possible.
Thanks,
Marco MartÃnez Bautista
http://www.paradigmatecnologico.com
Marco,
I don't think there is anything in Solr to do that (is there?), but you could
do it with some coding if you combined the "regular query" with SpanFirstQuery
with bigger boost:
http://search-lucene.com/jd/lucene/org/apache/lucene/search/spans/SpanFirstQuery.html
Oh, here are some exampl