I would do query expansion: - receive the query, parse it the way you want (e.g. use QueryParser) - then expand your query along the various fieldsIf using different analyzers per field (e.g. soundex), you'll have to adjust things when coming into the term-query.
paul Le 18-déc.-08 à 16:09, DELAVENNE Guillaume a écrit :
Hi,I'm beginner on Lucene. I'm working on a Poc Lucene project at GeneraliFrance company. I have 40 fields (max ten words by field) in my index of about 6 millions documents. I need to search a word in all fields.Must I create a field "content" with all the informations of the othersfields ? Do you have another way ? Many thanks, Guillaume
smime.p7s
Description: S/MIME cryptographic signature