Thanks for the quick reply.
As I supposed, the answer was right in front of me. To build a query
as the one I wanted I have to use the BooleanQuery class:
Term term1 = new Term("field1", "Policy planning");
Term term2 = new Term("field1", "Newspapers");
Term term3 = new Te
Victor Abeytua wrote:
> Hello everyone,
>In the project I'm currently involved we are using lucene (+
> Digester) to index a small number of XML files. To be able to perform
> the searches I want, I should need to query the index with something
> similar to (where fieldN are XML tags):
> (fiel
Hello everyone,
In the project I'm currently involved we are using lucene (+
Digester) to index a small number of XML files. To be able to perform
the searches I want, I should need to query the index with something
similar to (where fieldN are XML tags):
(field1:"Policy and planning" OR fie