lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: Dismax query response field number
Date Thu, 22 Jul 2010 00:47:18 GMT
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,  <scrapy@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&lt;-1 5&lt;-2 6&lt;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
goksron@gmail.com

Mime
View raw message