Re: Searching multiple fields with same name

2005-03-08 Thread Claude Libois
Why not use the MultiFieldQueryParser(look at http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/queryParser/MultiFieldQueryParser.html)? This one allow you to specify on which field the search will be done. I think that for your example 'lucene AND jakarta' will be transform by the parse

Re: Searching multiple fields with same name

2005-03-08 Thread Jose Miguel Diez
Hello, Just store it in two separate fields, and prepare a query: (title1: myquery ) OR (title2: myquery ) Substitution of myquery by your expressions will work fine. Saludos, Jose Miguel Romain Laboisse escribió: >Hello, > >I am indexing documents which may have more than one title and I wo