I don't think Lucene makes this easy, today, out of the box. The
scoring process for a boolean query doesn't track which sub-clause had
matched.
Though, it does track the number of clauses that matched (coord). EG
you'd be able to tell that a given hit had both clauses match, vs only
1 (just
Re Mike's delegating custom query suggestion - see
https://issues.apache.org/jira/browse/LUCENE-1999
- Original Message
From: Michael McCandless luc...@mikemccandless.com
To: java-user@lucene.apache.org
Sent: Mon, 15 February, 2010 10:03:30
Subject: Re: Further refinement of search
I run a query, say, NAME:John Smith^1.5 OR NAME:(Jo* Smith).
Once I get the result set, is there an efficient way to identify those hits
that match: a) John Smith b) Jo* Smith ---?
or perhaps to change the original query somehow ?
--
View this message in context: