> 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?

http://wiki.apache.org/lucene-java/LuceneFAQ#How_can_I_search_over_multiple_fields.3F

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

Boosting.  See 
http://wiki.apache.org/lucene-java/LuceneFAQ#What_is_the_difference_between_field_.28or_document.29_boosting_and_query_boosting.3F

> 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
http://wiki.apache.org/lucene-java/ImproveSearchingSpeed.


--
Ian.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to