Hi, 2010/11/12 PeterKerk <vettepa...@hotmail.com>
> > I want to provide a full text search function. > > This function has to search through the 2 fields: "title" and "description" > that I have defined in my schema.xml (both of type "string"). > > Now, since solr doesnt (by default) provide an or operator, I don't think this is correct, by default Solr operator is OR, so the query "foo bar" is actually "text:(foo OR bar)" (provided that text it your default field. > I thought I > should somehow combine these fields into 1 field and THEN search that > single > field. > I think that DisMaxRequestHandler could be the correct choice, with that you could write a query like the following: BASEURL/dismax?q=foo%20bar&qf=title,description that way you'd got foo and bar searched (with OR logic operator) inside title and description fields. Hope this helps, Tommaso