i found this solution but when i test it nothing in suggestion <searchComponent class="solr.SpellCheckComponent" name="fuzzySuggest"> <lst name="spellchecker"> <str name="name">fuzzySuggest</str> <str name="classname">org.apache.solr.spelling.suggest.Suggester</str> <str name="lookupImpl">org.apache.solr.spelling.suggest.fst.FuzzyLookupFactory</str> <str name="field">suggestField</str> <str name="storeDir">suggestFolders</str> <str name="buildOnCommit">true</str> <bool name="exactMatchFirst">true</bool> <str name="suggestAnalyzerFieldType">texts</str> <bool name="preserveSep">false</bool> <int name="maxEdits">2</int> <str name="sourceLocation">suggestFolders/fuzzysuggest.txt</str> </lst> <str name="queryAnalyzerFieldType">phrase_suggest</str> </searchComponent>
<requestHandler class="org.apache.solr.handler.component.SearchHandler" name="/fuzzySuggest"> <lst name="defaults"> <str name="name">fuzzySuggest</str> <str name="spellcheck">true</str> <str name="spellcheck.dictionary">fuzzySuggest</str> <str name="spellcheck.onlyMorePopular">true</str> <str name="spellcheck.count">10</str> <str name="spellcheck.collate">true</str> <str name="spellcheck.maxCollations">10</str> <str name="spellcheck.collateExtendedResults">true</str> </lst> <arr name="components"> <str>fuzzySuggest</str> </arr> </requestHandler> 2014-08-05 15:32 GMT+02:00 anass benjelloun <anass....@gmail.com>: > yeah thats true i creat this index just for auto complete > here is my schema: > > <dynamicField name="*_en" type="text_en" indexed="true" stored="false" > required="false" multiValued="true"/> > <dynamicField name="*_fr" type="text_fr" indexed="true" stored="false" > required="false" multiValued="true"/> > <dynamicField name="*_ar" type="text_ar" indexed="true" stored="false" > required="false" multiValued="true"/> > > <copyField source="*_en" dest="suggestField"/> > <copyField source="*_fr" dest="suggestField"/> > <copyField source="*_ar" dest="suggestField"/> > > the i use "suggestField" for autocomplet like i mentioned above > do you have any other configuration which can do what i need ? > > > > 2014-08-05 15:19 GMT+02:00 Michael Della Bitta-2 [via Lucene] < > ml-node+s472066n4151216...@n3.nabble.com>: > > Unless I'm mistaken, it seems like you've created this index specifically >> for autocomplete? Or is this index used for general search also? >> >> The easy way to understand this question: Is there one entry in your >> index >> for each term you want to autocomplete? Or are there multiple entries >> that >> might contain the same term? >> >> Michael Della Bitta >> >> Applications Developer >> >> o: +1 646 532 3062 >> >> appinions inc. >> >> “The Science of Influence Marketing” >> >> 18 East 41st Street >> >> New York, NY 10017 >> >> t: @appinions <https://twitter.com/Appinions> | g+: >> plus.google.com/appinions >> < >> https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts> >> >> w: appinions.com <http://www.appinions.com/> >> >> >> On Tue, Aug 5, 2014 at 9:10 AM, benjelloun <[hidden email] >> <http://user/SendEmail.jtp?type=node&node=4151216&i=0>> wrote: >> >> > hello, >> > >> > did you find any solution to this problem ? >> > >> > regards >> > >> > >> > 2014-08-04 16:16 GMT+02:00 Michael Della Bitta-2 [via Lucene] < >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4151216&i=1>>: >> >> > >> > > How are you implementing autosuggest? I'm assuming you're querying an >> > > indexed field and getting a stored value back. But there are a wide >> > > variety >> > > of ways of doing it. >> > > >> > > Michael Della Bitta >> > > >> > > Applications Developer >> > > >> > > o: +1 646 532 3062 >> > > >> > > appinions inc. >> > > >> > > “The Science of Influence Marketing” >> > > >> > > 18 East 41st Street >> > > >> > > New York, NY 10017 >> > > >> > > t: @appinions <https://twitter.com/Appinions> | g+: >> > > plus.google.com/appinions >> > > < >> > > >> > >> https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts >> > > >> > > >> > > w: appinions.com <http://www.appinions.com/> >> > > >> > > >> > > On Mon, Aug 4, 2014 at 10:10 AM, benjelloun <[hidden email] >> > > <http://user/SendEmail.jtp?type=node&node=4150990&i=0>> wrote: >> > > >> > > > hello you didnt enderstand well my probleme, >> > > > >> > > > i give exemple: i have document contain "genève" with accent >> > > > when i do q="gene" --> autoSuggest "geneve" because of >> > > > ASCIIFoldingFilterFactory preserveOriginal="true" >> > > > when i do q="genè" --> autoSuggest "genève" >> > > > but what i need to is: >> > > > q="gene" without accent and get this result: "genève" with accent >> > > > >> > > > >> > > > >> > > > -- >> > > > View this message in context: >> > > > >> > http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4150989.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-Complete-tp4150987p4150990.html >> > > To unsubscribe from Auto Complete, click here >> > > < >> > >> > >> > > . >> > > 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-Complete-tp4150987p4151211.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-Complete-tp4150987p4151216.html >> To unsubscribe from Auto Complete, click here >> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4150987&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTUwOTg3fC0xMDQyNjMzMDgx> >> . >> 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-Complete-tp4150987p4151254.html Sent from the Solr - User mailing list archive at Nabble.com.