Hello Sascha, Sascha: > Solritas uses the dismax query parser. > The dismax config parameter 'qf' specifies > the index fields to be searched in. > Make sure that 'name' is your default search field.
I am not sure I understand this; I have no field named 'name'. My documents are like -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- <add> <doc> <field name="text">hello solar!</field> <field name="id">123</field> </doc> </add> -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- so my understanding here is that they have two fields, whose 'name' attributes are 'text' and 'id'. My intent is to make searches over the 'text' field, so maybe this is the default value for the 'qf' parameter I need to set up? I am asking since actually my current default for 'qf' in solritas __is__ 'name', from my solrconfig.xml: -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 <requestHandler name="/itas" class="solr.SearchHandler"> <lst name="defaults"> [...] <str name="qf">name</str> </lst> </requestHandler> -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 and now that you make me look closely to that, such a default makes little sense to me (what? no field named 'name', how could that work as a default for the "query fields" (qf) !!) Here the details of those fieldTypes from my schema.xml: -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 <field name="text" type="text" indexed="true" stored="false" multiValued="true"/> <field name="id" type="string" indexed="true" stored="true" required="true" /> -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 resuming: 1) I don't understand what does it mean defaulting 'qf' to 'name' in disMax. I have no field named 'name'. 2) From what I understand, my 'qf' value for disMax should default to 'text', the name of the field I care of. correct? cheers, Giovanni