RE: boost docs if token matches happen in the first 5 words

2013-07-18 Thread Markus Jelsma
riginal message- > From:Anatoli Matuskova > Sent: Thursday 18th July 2013 12:33 > To: solr-user@lucene.apache.org > Subject: RE: boost docs if token matches happen in the first 5 words > > Thanks for the quick answer Markus. > Could you give me a a guideline or point me where t

RE: boost docs if token matches happen in the first 5 words

2013-07-18 Thread Anatoli Matuskova
Thanks for the quick answer Markus. Could you give me a a guideline or point me where to check in the solr source code to see how to get it done? -- View this message in context: http://lucene.472066.n3.nabble.com/boost-docs-if-token-matches-happen-in-the-first-5-words-tp4078786p4078792.html S

RE: boost docs if token matches happen in the first 5 words

2013-07-18 Thread Markus Jelsma
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 > Sent: Thursday 18th July 2013 11:54 > To: solr-user@lucene.apache.org > S