lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jin Guang Zheng <zhen...@rpi.edu>
Subject Lucene Query
Date Tue, 19 Aug 2014 18:00:18 GMT
Hi,

I am wondering if someone can help me on this:

I have index:

doc 1  -- label: United States of America

doc 2 -- label: United
doc 2 -- label: America
doc 2 -- label: States

I am wondering how to generate a query with terms: states united america

so only doc 1 returns.


I was thinking SpanNearQuery, but can't make it work.

Thanks,
Jin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message