lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <>
Subject Re: how to search multiple fields
Date Wed, 25 May 2011 10:20:13 GMT
> Quite a few Lucene examples on lines shows how to insert multiple fields
> into a Document and how to query the indexed file with certain fields and
> queried text. I would like to know:
> 1.       How to do a cross-field search?

> 2.       How to specify some key fields as well as some less important
> fields?

Boosting.  See

> 3.       How many fields would cause performance issue?

Impossible to answer since there are too many variables but in general
the fewer fields used in a search the faster it will be.  There are
many other factors, some of which are likely to outweigh this.  See


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message