On May 14, 2007, at 12:38 PM, Jack L wrote:
The default search field is really handy. It helps simplify the query, and thus simplify the application using solr. My understand is that solr only allows one default search field. It would be useful to allow multiple default fields, and maybe also specify a global field boost in the schema file, as opposed to on a per document bases during post time. For example, article title can be given a higher boost factor than article content.
For your first issue, use a copyField to copy all the text you want as default to a default search field. For the second, have you looked at http://wiki.apache.org/solr/ DisMaxRequestHandler ? You set up boosts per field in solrconfig.xml that way.