I would consider using the dismax query handler. This allows you to
send a list of keywords or phrases along with the fields to search over.
e.g., you could use ?qt=dismax&q=foo&qf=title+text+keywords+concept
More details here: http://wiki.apache.org/solr/DisMaxRequestHandler
On 18 Aug 2009, at 15:56, Paul Tomblin wrote:
So if I want to make it so that the default search always searches
three specific fields, I can make another field multi-valued that they
are all copied into?
On Tue, Aug 18, 2009 at 10:46 AM, Marco Westermann<m...@intersales.de>
wrote:
I would say, you should use the copyField tag in the schema. eg:
<copyField source="sku" dest="text"/>
the text-field has to be difined as multivalued=true. When you now
do an
unqualified search, it will search every field, which is copied to
the
text-field.
--
http://www.linkedin.com/in/paultomblin
--
Toby Cole
Software Engineer, Semantico Limited
<toby.c...@semantico.com> <tel:+44 1273 358 238>
Registered in England and Wales no. 03841410, VAT no. GB-744614334.
Registered office Lees House, 21-23 Dyke Road, Brighton BN1 3FE, UK.
Check out all our latest news and thinking on the Discovery blog
http://blogs.semantico.com/discovery-blog/