On Wed, Sep 7, 2011 at 1:52 PM, Danicela nutch <danicela-nu...@mail.com>wrote:

> Hi,
>
>  I'm trying to get search suggestions like Google 'Did you mean ?' with
> indexed data with Solr from Nutch.
>
>  I added this to my schema.xml :
>
>  <fieldType name="textSpell" class="solr.TextField"
> positionIncrementGap="100" >
>  <analyzer>
>  <tokenizer class="solr.StandardTokenizerFactory"/>
>  <filter class="solr.LowerCaseFilterFactory"/>
>  <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>  </analyzer>
>  </fieldType>
>
>  <field name="textSpell" type="text" stored="false" indexed="true"
> multiValued="true" />
>
>  <copyField source="*_text" dest="textSpell" />
>

Did you re-index after adding the textSpell field? It sounds like you added
the field after the index was already created therefore the building the
spellcheck index created an empty index.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to