lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mysurf Mail <>
Subject Troubles defining suggester/ understanding results
Date Thu, 15 Aug 2013 08:32:32 GMT
I am having troubles defining suggester for auto complete after reading the

Here are my shcema definitions:

<field name="PackageName" type="text_en" indexed="true" stored="true"
<field name="PackageVersionComments" type="text_en" indexed="true"
stored="true" required="false"/>
<field name="SKUDescription" type="text_en" indexed="true"
stored="true" required="false" multiValued="true"/>

I also added two field types

<fieldtype name="text" class="solr.TextField">
    <tokenizer class="solr.StandardTokenizerFactory"/>
    <filter class="solr.LowerCaseFilterFactory"/>

<fieldtype name="phrase_suggest" class="solr.TextField">
    <tokenizer class="solr.KeywordTokenizerFactory"/>
    <filter class="solr.PatternReplaceFilterFactory"
            replacement=" " replace="all"/>
    <filter class="solr.LowerCaseFilterFactory"/>
    <filter class="solr.TrimFilterFactory"/>

Now since I want to make suggestions from multiple fields and I cant
declare two fields I defined :

and copied three of the fields using :

1. everything loads pretty well. but copying the fields to a new fields
just inflate my index. is there a possiblity to define the suggester on
mopre then one field? 2. I cant understand the results. querying

returns docs such as
"that are labelled in black on a black background a little black light"
though quering

doesnt return anything.
lab is found in the previous result as well.
What is the problem?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message