uhm,I am sorry, this is the debug :)

<lst name="debug">
<str name="rawquerystring">"book"</str>
<str name="querystring">"book"</str>
<str name="parsedquery">+DisjunctionMaxQuery((name:book)~0.01) ()</str>
<str name="parsedquery_toString">+(name:book)~0.01 ()</str>
−
<lst name="explain">
−
<str name="19534">

7.903358 = (MATCH) sum of:
  7.903358 = (MATCH) fieldWeight(name:book in 19533), product of:
    1.0 = tf(termFreq(name:book)=1)
    7.903358 = idf(docFreq=79, maxDocs=79649)
    1.0 = fieldNorm(field=name, doc=19533)
</str>
−
<str name="5925">

3.951679 = (MATCH) sum of:
  3.951679 = (MATCH) fieldWeight(name:book in 5924), product of:
    1.0 = tf(termFreq(name:book)=1)
    7.903358 = idf(docFreq=79, maxDocs=79649)
    0.5 = fieldNorm(field=name, doc=5924)
</str>
−
<str name="5933">

3.951679 = (MATCH) sum of:
  3.951679 = (MATCH) fieldWeight(name:book in 5932), product of:
    1.0 = tf(termFreq(name:book)=1)
    7.903358 = idf(docFreq=79, maxDocs=79649)
    0.5 = fieldNorm(field=name, doc=5932)
</str>
−
<str name="8049">

3.951679 = (MATCH) sum of:
  3.951679 = (MATCH) fieldWeight(name:book in 8048), product of:
    1.0 = tf(termFreq(name:book)=1)
    7.903358 = idf(docFreq=79, maxDocs=79649)
    0.5 = fieldNorm(field=name, doc=8048)
</str>
−
<str name="9358">

3.951679 = (MATCH) sum of:
  3.951679 = (MATCH) fieldWeight(name:book in 9357), product of:
    1.0 = tf(termFreq(name:book)=1)
    7.903358 = idf(docFreq=79, maxDocs=79649)
    0.5 = fieldNorm(field=name, doc=9357)
</str>
</lst>
<str name="QParser">DisMaxQParser</str>
<null name="altquerystring"/>
<null name="boostfuncs"/>
−
<arr name="filter_queries">
<str/>
</arr>
<arr name="parsed_filter_queries"/>
−
<lst name="timing">
<double name="time">0.0</double>
−
<lst name="prepare">
<double name="time">0.0</double>
−
<lst name="org.apache.solr.handler.component.QueryComponent">
<double name="time">0.0</double>
</lst>
−
<lst name="org.apache.solr.handler.component.FacetComponent">
<double name="time">0.0</double>
</lst>
−
<lst name="org.apache.solr.handler.component.MoreLikeThisComponent">
<double name="time">0.0</double>
</lst>
−
<lst name="org.apache.solr.handler.component.HighlightComponent">
<double name="time">0.0</double>
</lst>
−
<lst name="org.apache.solr.handler.component.StatsComponent">
<double name="time">0.0</double>
</lst>
−
<lst name="org.apache.solr.handler.component.DebugComponent">
<double name="time">0.0</double>
</lst>
</lst>
−
<lst name="process">
<double name="time">0.0</double>
−
<lst name="org.apache.solr.handler.component.QueryComponent">
<double name="time">0.0</double>
</lst>
−
<lst name="org.apache.solr.handler.component.FacetComponent">
<double name="time">0.0</double>
</lst>
−
<lst name="org.apache.solr.handler.component.MoreLikeThisComponent">
<double name="time">0.0</double>
</lst>
−
<lst name="org.apache.solr.handler.component.HighlightComponent">
<double name="time">0.0</double>
</lst>
−
<lst name="org.apache.solr.handler.component.StatsComponent">
<double name="time">0.0</double>
</lst>
−
<lst name="org.apache.solr.handler.component.DebugComponent">
<double name="time">0.0</double>
</lst>
</lst>
</lst>
</lst>


Erick Erickson wrote:
> 
> Hmmm, nothing jumps out at me. What does Luke show you
> is actually in your index in the field in question? And what does
> adding debugQuery=on to the query show?
> 
> On Thu, Dec 24, 2009 at 8:44 PM, Olala <hthie...@gmail.com> wrote:
> 
>>
>>
>> Oh,yes, that is my schema config:
>>
>> <fieldType name="text" class="solr.TextField" positionIncrementGap="100">
>>      <analyzer type="index">
>>        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>>        <filter class="solr.StopFilterFactory"
>>                ignoreCase="true"
>>                words="stopwords.txt"
>>                enablePositionIncrements="true"
>>                />
>>        <filter class="solr.WordDelimiterFilterFactory"
>> generateWordParts="1" generateNumberParts="1" catenateWords="1"
>> catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
>>        <filter class="solr.LowerCaseFilterFactory"/>
>>        <filter class="solr.SnowballPorterFilterFactory"
>> language="English"
>> protected="protwords.txt"/>
>>      </analyzer>
>>      <analyzer type="query">
>>        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>>        <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
>> ignoreCase="true" expand="true"/>
>>        <filter class="solr.StopFilterFactory"
>>                ignoreCase="true"
>>                words="stopwords.txt"
>>                enablePositionIncrements="true"
>>                />
>>        <filter class="solr.WordDelimiterFilterFactory"
>> generateWordParts="1" generateNumberParts="1" catenateWords="0"
>> catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
>>        <filter class="solr.LowerCaseFilterFactory"/>
>>        <filter class="solr.SnowballPorterFilterFactory"
>> language="English"
>> protected="protwords.txt"/>
>>      </analyzer>
>>    </fieldType>
>>
>>
>> <field name="name" type="text" indexed="true" stored="true"
>> multiValued="true"/>
>>
>> And, my solrconfig.xml for seach in dismax:
>>
>> <requestHandler name="dismax" class="solr.SearchHandler" >
>>    <lst name="defaults">
>>     <str name="defType">dismax</str>
>>     <str name="echoParams">explicit</str>
>>     <float name="tie">0.0</float>
>>     <str name="qf">
>>        name
>>     </str>
>>     <str name="fl">
>>        name,content
>>     </str>
>>     <str name="mm">
>>        100%
>>     </str>
>>     <int name="ps">100</int>
>>     <str name="q.alt">*:*</str>
>>     <str name="hl.fl">name</str>
>>     <str name="f.title.hl.fragsize">0</str>
>>    </lst>
>>  </requestHandler>
>>
>> Thanks! :-D
>>
>>
>> Erick Erickson wrote:
>> >
>> > Could you show your schema.xml definitions for the
>> > field in question? It looks like you're somehow indexing
>> > without tokenizing, but that's a guess....
>> >
>> > Also, what does adding debugQuery=on show?
>> >
>> > Thanks
>> > Erick
>> >
>> > On Thu, Dec 24, 2009 at 3:40 AM, Olala <hthie...@gmail.com> wrote:
>> >
>> >>
>> >> Yes, I am searching on Text fieldtype :)
>> >>
>> >>
>> >> Shalin Shekhar Mangar wrote:
>> >> >
>> >> > On Thu, Dec 24, 2009 at 1:49 PM, Olala <hthie...@gmail.com> wrote:
>> >> >
>> >> >>
>> >> >> I have another question that if I query "book", solr will response
>> >> only
>> >> >> "book" but do not response another value such as book mark,
>> >> book-keeper,
>> >> >> guide-book, etc.
>> >> >>
>> >> >>
>> >> > What is the type of the field you are searching on? Have you tried a
>> >> text
>> >> > type as given in the example solrconfig.xml?
>> >> >
>> >> > --
>> >> > Regards,
>> >> > Shalin Shekhar Mangar.
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://old.nabble.com/absolute-search-tp26911441p26911557.html
>> >> Sent from the Solr - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/absolute-search-tp26911441p26918467.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/absolute-search-tp26911441p26938921.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to