No, i'm talking about fields. In my schema i've got about 15 fields with: stored="true"
Like this: <field name="city" type="text" indexed="true" stored="true"/> But when i run a query it return me only 10 fields, the last 4 or 5 are not the the response?? -----Original Message----- From: Lance Norskog <goks...@gmail.com> To: solr-user@lucene.apache.org Sent: Thu, Jul 22, 2010 2:47 am Subject: Re: Dismax query response field number Fields or documents? It will return all of the fields that are 'stored'. The default number of documents to return is 10. Returning all of the documents is very slow, so you have to request that with the rows= parameter. On Wed, Jul 21, 2010 at 3:32 PM, <scr...@asia.com> wrote: > > > > Hi, > > It seems that not all field are returned from query response when i use DISMAX? Only first 10?? > > Any idea? > > Here is my solrconfig: > > <requestHandler name="dismax" class="solr.SearchHandler" > > <lst name="defaults"> > <str name="defType">dismax</str> > <str name="echoParams">explicit</str> > <str name="fl">*</str> > <float name="tie">0.01</float> > <str name="qf"> > text^0.5 content^1.1 title^1.5 > </str> > <str name="pf"> > text^0.2 content^1.1 title^1.5 > </str> > <str name="bf"> > recip(price,1,1000,1000)^0.3 > </str> > <str name="mm"> > 2<-1 5<-2 6<90% > </str> > <int name="ps">100</int> > <str name="q.alt">*:*</str> > <!-- example highlighter config, enable per-query with hl=true --> > <str name="hl.fl">text features name</str> > <!-- for this field, we want no fragmenting, just highlighting --> > <str name="f.name.hl.fragsize">0</str> > <!-- instructs Solr to return the field itself if no query terms are > found --> > <str name="f.name.hl.alternateField">name</str> > <str name="f.text.hl.fragmenter">regex</str> <!-- defined below --> > </lst> > </requestHandler> > > > -- Lance Norskog goks...@gmail.com