Re: using solr to do a 'match'

2012-04-11 Thread Li Li
it's not possible now because lucene don't support this. when doing disjunction query, it only record how many terms match this document. I think this is a common requirement for many users. I suggest lucene should divide scorer to a matcher and a scorer. the matcher just return which doc is

Re: using solr to do a 'match'

2012-04-11 Thread jmlucjav
-- View this message in context: http://lucene.472066.n3.nabble.com/using-solr-to-do-a-match-tp3901436p3901884.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: using solr to do a 'match'

2012-04-11 Thread Mikhail Khludnev
Hi, This use case is similar to matching boolean expression problem. You can find recent thread about it. I have an idea that we can introduce disjunction query with dynamic mm (minShouldMatch parameter

Re: using solr to do a 'match'

2012-04-11 Thread Li Li
I searched my mail but nothing found. the thread searched by key words boolean expression is Indexing Boolean Expressions from joaquin.delgado to tell which terms are matched, for BooleanScorer2, a simple method is to modify DisjunctionSumScorer and add a BitSet to record matched scorers. When

using solr to do a 'match'

2012-04-10 Thread Chris Book
Hello, I have a solr index running that is working very well as a search. But I want to add the ability (if possible) to use it to do matching. The problem is that by default it is only looking for all the input terms to be present, and it doesn't give me any indication as to how many terms in