Re: to prevent number-of-matching-terms in contributing score

2011-11-17 Thread Samarendra Pratap
On Thu, Nov 17, 2011 at 6:59 AM, Chris Hostetter hossman_luc...@fucit.orgwrote: : 1. omitTermFreqAndPositions is very straightforward but if I avoid : positions I'll refuse to serve phrase queries. I had searched for this in but do you really need phrase queries on your cat field? i

Re: to prevent number-of-matching-terms in contributing score

2011-11-16 Thread Chris Hostetter
: 1. omitTermFreqAndPositions is very straightforward but if I avoid : positions I'll refuse to serve phrase queries. I had searched for this in but do you really need phrase queries on your cat field? i thought the point was to have simple matching on those terms? : 2. Function query

Re: to prevent number-of-matching-terms in contributing score

2011-11-16 Thread Chris Hostetter
: 1. omitTermFreqAndPositions is very straightforward but if I avoid : positions I'll refuse to serve phrase queries. I had searched for this in but do you really need phrase queries on your cat field? i thought the point was to have simple matching on those terms? : 2. Function query

Re: to prevent number-of-matching-terms in contributing score

2011-11-10 Thread Samarendra Pratap
No solutions to the problem? OK. I'll look for the changes in source code and if I succeed I'll share it here for feedback. Thanks On Tue, Nov 8, 2011 at 5:06 PM, Samarendra Pratap samarz...@gmail.comwrote: Hi Chris, Thanks for the insight. 1. omitTermFreqAndPositions is very

Re: to prevent number-of-matching-terms in contributing score

2011-11-08 Thread Samarendra Pratap
Hi Chris, Thanks for the insight. 1. omitTermFreqAndPositions is very straightforward but if I avoid positions I'll refuse to serve phrase queries. I had searched for this in past as well but I finally reached to the conclusion that there is no thing like omitTermFreq (only). Perhaps because

to prevent number-of-matching-terms in contributing score

2011-11-07 Thread Samarendra Pratap
Hi everyone! We are working on Solr - 3.4. In Short: If my query term matches more than one words I want it to be considered as one match (in a particular field). Details: Our index has a multi-valued field category which contains possible category names of the company. It is entered by the

Re: to prevent number-of-matching-terms in contributing score

2011-11-07 Thread pravesh
Did you rebuild the index from scratch. Since this is index time factor, you need to build complete index from scratch. Regds Pravesh -- View this message in context: http://lucene.472066.n3.nabble.com/to-prevent-number-of-matching-terms-in-contributing-score-tp3486373p3486447.html Sent from

Re: to prevent number-of-matching-terms in contributing score

2011-11-07 Thread Samarendra Pratap
rebuild the index from scratch. Since this is index time factor, you need to build complete index from scratch. Regds Pravesh -- View this message in context: http://lucene.472066.n3.nabble.com/to-prevent-number-of-matching-terms-in-contributing-score-tp3486373p3486447.html Sent from the Solr

Re: to prevent number-of-matching-terms in contributing score

2011-11-07 Thread pravesh
into effect(also set /omitNorms=true/ for your fields where you need this feature) Regds Pravesh -- View this message in context: http://lucene.472066.n3.nabble.com/to-prevent-number-of-matching-terms-in-contributing-score-tp3486373p3486512.html Sent from the Solr - User mailing list archive

Re: to prevent number-of-matching-terms in contributing score

2011-11-07 Thread Chris Hostetter
: You can write your custom similarity implementation, and override the : /lengthNorm()/ method to return a constant value. The postered already said (twice!) that they have already set omitNorms=true, so lengthNorm won't even be used omiting norms (or mucking with norms by modifying the