Another way is to use DisMax parser, and give it a &qf=field1 field2 field3... parameter, and it will automatically search in all fields specified. It is more powerful than having one default field, and saves that disk space. Buy you sacrifice some extra resources during querying.
-- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Training in Europe - www.solrtraining.com On 6. aug. 2010, at 21.11, kenf_nc wrote: > > In your schema.xml there is a field called > <defaultSearchField>content</defaultSearchField> > it may be something other than 'content'. This field is the one searched if > you don't specify one in the query. > > You can explicitly put something there with an <add> or you can have a > <copyField> directive in your schema to move ap_* fields to the default > search field. > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SOLR-QUERY-tp1031554p1031567.html > Sent from the Solr - User mailing list archive at Nabble.com.