You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by John Song <de...@yahoo.com> on 2006/12/19 21:43:32 UTC

how to define deault fields

Hi:

How to define default fields?  Is it done during index time or during search time?  Strangely, I can't find out any information on how default fields are defined?

thanks,

john





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: how to define deault fields

Posted by Yonik Seeley <yo...@apache.org>.
On 12/19/06, John Song <de...@yahoo.com> wrote:
> How to define default fields?  Is it done during index time or during search time?  Strangely, I can't find out any information on how default fields are defined?

"default" field is simply a QueryParser concept (see it's
constructors).  It does not extend outside that.

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

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