Re: Implementing Search Suggestion on Solr
Hi, I don't want to be annoying, but I'm looking for a way to do that. I repeat the question: is there a way to implement Search Suggestion manually? Thanks in advance. Regards, 2010/10/18 Pablo Recio Quijano pre...@yaco.es Hi! I'm trying to implement some kind of Search Suggestion on a search engine I have implemented. This search suggestions should not be automatically like the one described for the SpellCheckComponent [1]. I'm looking something like: SAS oppositions = Public job offers for some-company So I will have to define it manually. I was thinking about synonyms [2] but I don't know if it's the proper way to do it, because semantically those terms are not synonyms. Any ideas or suggestions? Regards, [1] http://wiki.apache.org/solr/SpellCheckComponent [2] http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
Re: Implementing Search Suggestion on Solr
I am a real rookie at solr, but try this: http://solr.pl/2010/10/18/solr-and-autocomplete-part-1/?lang=en 2010/10/27 Pablo Recio pre...@yaco.es Hi, I don't want to be annoying, but I'm looking for a way to do that. I repeat the question: is there a way to implement Search Suggestion manually? Thanks in advance. Regards, 2010/10/18 Pablo Recio Quijano pre...@yaco.es Hi! I'm trying to implement some kind of Search Suggestion on a search engine I have implemented. This search suggestions should not be automatically like the one described for the SpellCheckComponent [1]. I'm looking something like: SAS oppositions = Public job offers for some-company So I will have to define it manually. I was thinking about synonyms [2] but I don't know if it's the proper way to do it, because semantically those terms are not synonyms. Any ideas or suggestions? Regards, [1] http://wiki.apache.org/solr/SpellCheckComponent [2] http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
Re: Implementing Search Suggestion on Solr
Thanks, it's not what I'm looking for. Actually I need something like search Ubuntu and it will prompt Maybe you will like 'Debian' too or something like that. I'm not trying to do it automatically, manually will be ok. Anyway, is good article you shared, maybe I will implement it, thanks! 2010/10/27 Jakub Godawa jakub.god...@gmail.com I am a real rookie at solr, but try this: http://solr.pl/2010/10/18/solr-and-autocomplete-part-1/?lang=en 2010/10/27 Pablo Recio pre...@yaco.es Hi, I don't want to be annoying, but I'm looking for a way to do that. I repeat the question: is there a way to implement Search Suggestion manually? Thanks in advance. Regards, 2010/10/18 Pablo Recio Quijano pre...@yaco.es Hi! I'm trying to implement some kind of Search Suggestion on a search engine I have implemented. This search suggestions should not be automatically like the one described for the SpellCheckComponent [1]. I'm looking something like: SAS oppositions = Public job offers for some-company So I will have to define it manually. I was thinking about synonyms [2] but I don't know if it's the proper way to do it, because semantically those terms are not synonyms. Any ideas or suggestions? Regards, [1] http://wiki.apache.org/solr/SpellCheckComponent [2] http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
Re: Implementing Search Suggestion on Solr
Hi If I understood, you will build a kind of dictionary or ontology or thesauru and you will use it if Solr query results are few. At query time (before or after) you will perform a query on this dictionary in order to retrieve the suggested word. If you need to do this, you can try to cvreate a custom request handler where you can controll the querying process in a simple manner (http://wiki.apache.org/solr/SolrRequestHandler). With the custom request handler, you can add custom code to check query results before submitting query to solr or analizing the query before sending result to client. I never coded one, but I think this is a good starting point. Hope this can help you Antonio Il 27/10/2010 11.03, Pablo Recio ha scritto: Thanks, it's not what I'm looking for. Actually I need something like search Ubuntu and it will prompt Maybe you will like 'Debian' too or something like that. I'm not trying to do it automatically, manually will be ok. Anyway, is good article you shared, maybe I will implement it, thanks! 2010/10/27 Jakub Godawajakub.god...@gmail.com I am a real rookie at solr, but try this: http://solr.pl/2010/10/18/solr-and-autocomplete-part-1/?lang=en 2010/10/27 Pablo Reciopre...@yaco.es Hi, I don't want to be annoying, but I'm looking for a way to do that. I repeat the question: is there a way to implement Search Suggestion manually? Thanks in advance. Regards, 2010/10/18 Pablo Recio Quijanopre...@yaco.es Hi! I'm trying to implement some kind of Search Suggestion on a search engine I have implemented. This search suggestions should not be automatically like the one described for the SpellCheckComponent [1]. I'm looking something like: SAS oppositions = Public job offers for some-company So I will have to define it manually. I was thinking about synonyms [2] but I don't know if it's the proper way to do it, because semantically those terms are not synonyms. Any ideas or suggestions? Regards, [1] http://wiki.apache.org/solr/SpellCheckComponent [2] http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
Re: Implementing Search Suggestion on Solr
I think you may want to configure the field type used for the spell check to use the synonyms file/database. That way synonyms are also processed during index time. This could help. On Wed, Oct 27, 2010 at 6:47 AM, Antonio Calo' anton.c...@gmail.com wrote: Hi If I understood, you will build a kind of dictionary or ontology or thesauru and you will use it if Solr query results are few. At query time (before or after) you will perform a query on this dictionary in order to retrieve the suggested word. If you need to do this, you can try to cvreate a custom request handler where you can controll the querying process in a simple manner ( http://wiki.apache.org/solr/SolrRequestHandler). With the custom request handler, you can add custom code to check query results before submitting query to solr or analizing the query before sending result to client. I never coded one, but I think this is a good starting point. Hope this can help you Antonio Il 27/10/2010 11.03, Pablo Recio ha scritto: Thanks, it's not what I'm looking for. Actually I need something like search Ubuntu and it will prompt Maybe you will like 'Debian' too or something like that. I'm not trying to do it automatically, manually will be ok. Anyway, is good article you shared, maybe I will implement it, thanks! 2010/10/27 Jakub Godawajakub.god...@gmail.com I am a real rookie at solr, but try this: http://solr.pl/2010/10/18/solr-and-autocomplete-part-1/?lang=en 2010/10/27 Pablo Reciopre...@yaco.es Hi, I don't want to be annoying, but I'm looking for a way to do that. I repeat the question: is there a way to implement Search Suggestion manually? Thanks in advance. Regards, 2010/10/18 Pablo Recio Quijanopre...@yaco.es Hi! I'm trying to implement some kind of Search Suggestion on a search engine I have implemented. This search suggestions should not be automatically like the one described for the SpellCheckComponent [1]. I'm looking something like: SAS oppositions = Public job offers for some-company So I will have to define it manually. I was thinking about synonyms [2] but I don't know if it's the proper way to do it, because semantically those terms are not synonyms. Any ideas or suggestions? Regards, [1] http://wiki.apache.org/solr/SpellCheckComponent [2] http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory -- °O° Good Enough is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut Once. http://www.israelekpo.com/
Re: Implementing Search Suggestion on Solr
Yeah, I know. Does anyone could tell me wich one is the good way? Regards, What an interesting application :-) Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’ mistakes, so you do not have to make them yourself. from ' http://blogs.techrepublic.com.com/security/?p=4501tag=nl.e036' EARTH has a Right To Life, otherwise we all die. --- On Mon, 10/18/10, Pablo Recio Quijano pre...@yaco.es wrote: From: Pablo Recio Quijano pre...@yaco.es Subject: Implementing Search Suggestion on Solr To: solr-user@lucene.apache.org Date: Monday, October 18, 2010, 3:53 AM Hi! I'm trying to implement some kind of Search Suggestion on a search engine I have implemented. This search suggestions should not be automatically like the one described for the SpellCheckComponent [1]. I'm looking something like: SAS oppositions = Public job offers for some-company So I will have to define it manually. I was thinking about synonyms [2] but I don't know if it's the proper way to do it, because semantically those terms are not synonyms. Any ideas or suggestions? Regards, [1] http://wiki.apache.org/solr/SpellCheckComponent [2] http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
Implementing Search Suggestion on Solr
Hi! I'm trying to implement some kind of Search Suggestion on a search engine I have implemented. This search suggestions should not be automatically like the one described for the SpellCheckComponent [1]. I'm looking something like: SAS oppositions = Public job offers for some-company So I will have to define it manually. I was thinking about synonyms [2] but I don't know if it's the proper way to do it, because semantically those terms are not synonyms. Any ideas or suggestions? Regards, [1] http://wiki.apache.org/solr/SpellCheckComponent [2] http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory