hello, you didnt enderstand well my problem i give you exemple: the document contain the word "genève". q="gene" auto suggestion give "geneve" q="genè" auto suggestion give "genève"
but what i need is q="gene" auto suggestion give "genève" with accent like correction of word. i tried to add spellchecker to correct it but the maximum of character for correction is 2 maybe there is other solution, i give my schema of field: <fieldType name="textSuggest" class="solr.TextField" positionIncrementGap="100" omitNorms="true"> <analyzer type="index"> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> <filter class="solr.StopFilterFactory" words="stopApostrophe.txt" ignoreCase="true"/> <filter class="solr.ASCIIFoldingFilterFactory" preserveOriginal="true"/> <filter class="solr.LowerCaseFilterFactory" /> <filter class="solr.StandardFilterFactory"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.StandardTokenizerFactory"/>replacement="$2"/>--> <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> <filter class="solr.StopFilterFactory" words="stopApostrophe.txt" ignoreCase="true"/> <filter class="solr.LowerCaseFilterFactory" /> <filter class="solr.StandardFilterFactory"/> </analyzer> </fieldType> thanks best regards, Anass BENJELLOUN 2014-07-31 18:41 GMT+02:00 Otis Gospodnetic-5 [via Lucene] < ml-node+s472066n4150410...@n3.nabble.com>: > You need to do the opposite. Make sure accents are NOT removed at index & > query time. > > Otis > -- > Performance Monitoring * Log Analytics * Search Analytics > Solr & Elasticsearch Support * http://sematext.com/ > > > > On Thu, Jul 31, 2014 at 5:49 PM, benjelloun <[hidden email] > <http://user/SendEmail.jtp?type=node&node=4150410&i=0>> wrote: > > > hi, > > > > q="gene" it suggest "geneve" > > ASCIIFoldingFilter work like isolate accent > > > > what i need to suggest is "genève" > > > > any idea? > > > > thanks > > best reagards > > Anass BENJELLOUN > > > > > > > > -- > > View this message in context: > > > http://lucene.472066.n3.nabble.com/Auto-suggest-with-adding-accents-tp4150379p4150392.html > > > Sent from the Solr - User mailing list archive at Nabble.com. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/Auto-suggest-with-adding-accents-tp4150379p4150410.html > To unsubscribe from Auto suggest with adding accents, click here > <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4150379&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTUwMzc5fC0xMDQyNjMzMDgx> > . > NAML > <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/Auto-suggest-with-adding-accents-tp4150379p4150569.html Sent from the Solr - User mailing list archive at Nabble.com.