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.
>
>

Reply via email to