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

Reply via email to