autosuggest « solr « Java Lucene Q&A

Home
Java Lucene Q&A
1.Database
2.Development
3.document
4.Field
5.index
6.lucene
7.lucene.net
8.nutch
9.query
10.solr
11.Tools
Java Lucene Q&A » solr » autosuggest 

1. Solr suggester tutorial/simple example for java    stackoverflow.com

I see some question about how to do specific things with Suggester in Solr, but how about how to actually use it? I'm stuck in how to simply query the suggest ...

2. Solr ShingleFilterFactory auto-suggest    stackoverflow.com

I'm using Solr ShingleFilterFactory for auto-suggestion. This is my field configuration :

<fieldType name="textSpellShingle" class="solr.TextField" positionIncrementGap="100">
  <analyzer>
    <tokenizer class="solr.StandardTokenizerFactory"/>
    <filter class="solr.LowerCaseFilterFactory"/>
    <filter class="solr.ShingleFilterFactory" ...

3. solr suggester not returning any results    stackoverflow.com

I've followed the solr wiki article for suggester almost to the T here: http://wiki.apache.org/solr/Suggester. I have the following xml in my solrconfig.xml:

<searchComponent class="solr.SpellCheckComponent" name="suggest"> 
    ...

4. SOLR - Auto Suggest Phrases    stackoverflow.com

I'm using the SOLR suggester component, but I cannot work out how to stop it splitting on spaces and returning multiple suggestions for each word. I'd like to issue a command:

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.