lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cheng Zhou <zhoucheng2...@gmail.com>
Subject Re: how to search multiple fields
Date Wed, 25 May 2011 13:48:35 GMT
Hi lan, thanks. Still two questions.

In the first link you presented, there is one comment that "Note that terms
which occur in short fields have a higher effect on the result ranking."

What does "short fields" mean? What are the differences between the impact
of the short fields and that of the field boost?

Cheng
On Wed, May 25, 2011 at 6:20 PM, Ian Lea <ian.lea@gmail.com> wrote:

> > 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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message