Re: Autosuggest with inner phrases
Or, plug, this: http://www.sematext.com/products/autocomplete/index.html , which happens to use the same bass examples as the original poster. :) You can see this Autosuggest in action on http://search-lucene.com/ . Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - Original Message From: Jason Rutherglen jason.rutherg...@gmail.com To: solr-user@lucene.apache.org Sent: Sat, October 2, 2010 3:40:52 PM Subject: Re: Autosuggest with inner phrases This's what yer lookin' for: http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ / On Sat, Oct 2, 2010 at 3:14 AM, sivaprasad sivaprasa...@echidnainc.com wrote: Hi , I implemented the auto suggest using terms component.But the suggestions are coming from the starting of the word.But i want inner phrases also.For example, if I type bass Auto-Complete should offer suggestions that include bass fishing or bass guitar, and even sea bass (note how bass is not necessarily the first word). How can i achieve this using solr's terms component. Regards, Siva -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-with-inner-phrases-tp1619326p1619326.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Autosuggest with inner phrases
I had the same question few days back. You can look at the solution suggested by Chantal in this link. http://www.lucidimagination.com/search/document/9bbce5302bd3940e/autocomplete_match_words_anywhere_in_the_token#cec7133bbaf5b49c On Sat, Oct 2, 2010 at 3:44 PM, sivaprasad sivaprasa...@echidnainc.comwrote: Hi , I implemented the auto suggest using terms component.But the suggestions are coming from the starting of the word.But i want inner phrases also.For example, if I type bass Auto-Complete should offer suggestions that include bass fishing or bass guitar, and even sea bass (note how bass is not necessarily the first word). How can i achieve this using solr's terms component. Regards, Siva -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-with-inner-phrases-tp1619326p1619326.html Sent from the Solr - User mailing list archive at Nabble.com. -- Arun
Re: Autosuggest with inner phrases
Hi, This thread can be useful http://www.lucidimagination.com/search/document/9edc01a90a195336/enhancing_auto_complete#d1340d7715162608 Regards, Bhavnik On 10/3/2010 11:51 PM, Arunkumar Ayyavu wrote: I had the same question few days back. You can look at the solution suggested by Chantal in this link. http://www.lucidimagination.com/search/document/9bbce5302bd3940e/autocomplete_match_words_anywhere_in_the_token#cec7133bbaf5b49c On Sat, Oct 2, 2010 at 3:44 PM, sivaprasadsivaprasa...@echidnainc.comwrote: Hi , I implemented the auto suggest using terms component.But the suggestions are coming from the starting of the word.But i want inner phrases also.For example, if I type bass Auto-Complete should offer suggestions that include bass fishing or bass guitar, and even sea bass (note how bass is not necessarily the first word). How can i achieve this using solr's terms component. Regards, Siva -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-with-inner-phrases-tp1619326p1619326.html Sent from the Solr - User mailing list archive at Nabble.com. The contents of this eMail including the contents of attachment(s) are privileged and confidential material of Gateway NINtec Pvt. Ltd. (GNPL) and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). If this eMail has been received by error, please advise the sender immediately and delete it from your system. The views expressed in this eMail message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of GNPL. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this eMail or any action taken in reliance on this eMail is strictly prohibited and may be unlawful. This eMail may contain viruses. GNPL has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this eMail. You should carry out your own virus checks before opening the eMail or attachment(s). GNPL is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. GNPL reserves the right to monitor and review the content of all messages sent to or from this eMail address and may be stored on the GNPL eMail system. In case this eMail has reached you in error, and you would no longer like to receive eMails from us, then please send an eMail to d...@gatewaynintec.com
Autosuggest with inner phrases
Hi , I implemented the auto suggest using terms component.But the suggestions are coming from the starting of the word.But i want inner phrases also.For example, if I type bass Auto-Complete should offer suggestions that include bass fishing or bass guitar, and even sea bass (note how bass is not necessarily the first word). How can i achieve this using solr's terms component. Regards, Siva -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-with-inner-phrases-tp1619326p1619326.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Autosuggest with inner phrases
Hi , I implemented the auto suggest using terms component.But the suggestions are coming from the starting of the word.But i want inner phrases also.For example, if I type bass Auto-Complete should offer suggestions that include bass fishing or bass guitar, and even sea bass (note how bass is not necessarily the first word). How can i achieve this using solr's terms component. You can add ShingleFilterFactory to your field type definition. http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ShingleFilterFactory
Re: Autosuggest with inner phrases
Does adding the shingle filter factory have to be done before or after indexing? Dennis Gearon Signature Warning EARTH has a Right To Life, otherwise we all die. Read 'Hot, Flat, and Crowded' Laugh at http://www.yert.com/film.php --- On Sat, 10/2/10, Ahmet Arslan iori...@yahoo.com wrote: From: Ahmet Arslan iori...@yahoo.com Subject: Re: Autosuggest with inner phrases To: solr-user@lucene.apache.org Date: Saturday, October 2, 2010, 5:10 AM Hi , I implemented the auto suggest using terms component.But the suggestions are coming from the starting of the word.But i want inner phrases also.For example, if I type bass Auto-Complete should offer suggestions that include bass fishing or bass guitar, and even sea bass (note how bass is not necessarily the first word). How can i achieve this using solr's terms component. You can add ShingleFilterFactory to your field type definition. http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ShingleFilterFactory
Re: Autosuggest with inner phrases
Does adding the shingle filter factory have to be done before or after indexing? It will be added to index time analyzer, if you are asking that. Also re-start solr and re-index is required.
Re: Autosuggest with inner phrases
This's what yer lookin' for: http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ On Sat, Oct 2, 2010 at 3:14 AM, sivaprasad sivaprasa...@echidnainc.com wrote: Hi , I implemented the auto suggest using terms component.But the suggestions are coming from the starting of the word.But i want inner phrases also.For example, if I type bass Auto-Complete should offer suggestions that include bass fishing or bass guitar, and even sea bass (note how bass is not necessarily the first word). How can i achieve this using solr's terms component. Regards, Siva -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-with-inner-phrases-tp1619326p1619326.html Sent from the Solr - User mailing list archive at Nabble.com.