Hi group,
Is there any way to index a document based on a key value (key = text,
value = double) pair? For example, we have a situation where -
document 1
IBM - 0.5
Google - 0.9
Apple - 0.3
document 2
IBM - 0.6
Google - 0.1
Apple - 0.4
now we need to search using two fields, the name (e.g. "I
Hi Ian,
thanks a lot for your idea. Yes, it is working now.
thanks again
--d
On Wed, Mar 14, 2012 at 11:52 AM, Ian Lea wrote:
> It the keywords are already in the document body (field "content") I
> don't see what you gain by indexing them separately and using MFQP.
> But that isn't what you a
It the keywords are already in the document body (field "content") I
don't see what you gain by indexing them separately and using MFQP.
But that isn't what you are asking. To add a threshold to the query
do something like this:
BooleanQuery bq = new BooleanQuery();
Query qm = build existing quer
Hi Group,
I am working on a Lucene search solution for multiple fields. So far, if
the fields are of string type I am having no difficulties in retrieving
using the MultiFieldQueryParser. For example, my indexing and searching
logic look like this -
indexing
- I am indexing a corpus on the conten