lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benjelloun <anass....@gmail.com>
Subject Re: Auto Complete
Date Wed, 06 Aug 2014 14:56:25 GMT
Hello thanks for the tutorial i test all schema but its not what i need.
what i need is to auto complete with an autocorrection like i said before:
q="gene" -->autocomplete "genève" with accent


2014-08-05 18:03 GMT+02:00 Michael Della Bitta-2 [via Lucene] <
ml-node+s472066n4151261h16@n3.nabble.com>:

> In this case, I recommend using the approach that this tutorial uses:
>
> http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/
>
> Basically the idea is you index the data a few different ways and then use
> edismax to query them all with different boosts. You'd use the stored
> version of you field for display, so your accented characters would not
> get
> stripped.
>
> 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:32 AM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4151261&i=0>> wrote:
>
> > 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] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4151261&i=1>>:
> >
> > > 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
> > > <
> >
> >
> > > .
> > > 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-tp4150987p4151222.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-tp4150987p4151261.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-tp4150987p4151445.html
Sent from the Solr - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message