Re: Related Search
Yeah, the approach listed by Grant and Markus is a common approach. I've worked on systems that mined query logs like this, and it's a good approach if you have sufficient query logs to pull it off. There are a lot of linguistic nuances you'll encounter along the way, including how you disambiguate homonyms and their related terms, identify synonyms/acronyms as having the same underlying meaning, how you parse and handle unknown phrases, removing noise present in the query logs, and even how you weight the strength or relationship between related queries. I gave a presentation on this topic at Lucene/Solr Revolution in 2015 if you're interested in learning more about how to build such a system ( http://www.treygrainger.com/posts/presentations/leveraging-lucene-solr-as-a-knowledge-graph-and-intent-engine/ ). Another approach (also referenced in the above presentation), for those with more of a cold-start problem with query logs, is to mine related terms and phrases out of the underlying content in the search engine (inverted index) itself. The Semantic Knowledge Graph that was recently open sourced by CareerBuilder and contributed back to Solr (disclaimer: I worked on it, and it's available both a Solr plugin and patch, but it's not ready to be committed into Solr yet.) enables such a capability. See https://issues.apache.org/jira/browse/SOLR-9480 for the most current patch. It is a request handler that can take in any query and discover the most related other terms to that entire query from the inverted index, sorted by strength of relationship to that query (it can also traverse from those terms across fields/relationships to other terms, but that's probably overkill for the basic related searches use case). Think of it as a way to run a query and find the most relevant other keywords, as opposed to finding the most relevant documents. Using this, you can then either return the related keywords as your related searches, or you can modify your query to include them and power a conceptual/semantic search instead of the pure text-based search you started with. It's effectively a (better) way to implement More Like This, where instead of taking a document and using tf-idf to extract out the globally-interesting terms from the document (like MLT), you can instead use a query to find contextually-relevant keywords across many documents, score them based upon their similarity to the original query, and then turn around and use the top most semantically-relevant terms as your related search(es). I don't have near-term plans to expose the semantic knowledge graph as a search component (it's a request handler right now), but once it's finished that could certainly be done. Just wanted to mention it as another approach to solve this specific problem. -Trey Grainger SVP of Engineering @ Lucidworks Co-author, Solr in Action On Wed, Oct 26, 2016 at 1:59 PM, Markus Jelsma wrote: > Indeed, we have similar processes running of which one generates a > 'related query collection' which just contains a (normalized) query and its > related queries. I would not know how this is even possible without > continuously processing query and click logs. > > M. > > > -Original message- > > From:Grant Ingersoll > > Sent: Tuesday 25th October 2016 23:51 > > To: solr-user@lucene.apache.org > > Subject: Re: Related Search > > > > Hi Rick, > > > > I typically do this stuff just by searching a different collection that I > > create offline by analyzing query logs and then indexing them and > searching. > > > > On Mon, Oct 24, 2016 at 8:32 PM Rick Leir wrote: > > > > > Hi all, > > > > > > There is an issue 'Create a Related Search Component' which has been > > > open for some years now. > > > > > > It has a priority: major. > > > > > > https://issues.apache.org/jira/browse/SOLR-2080 > > > > > > > > > I discovered it linked from Lucidwork's very useful blog on ecommerce: > > > > > > > > > https://lucidworks.com/blog/2011/01/25/implementing-the- > ecommerce-checklist-with-apache-solr-and-lucidworks/ > > > > > > > > > Did people find a better way to accomplish Related Search? Perhaps MLT > > > http://wiki.apache.org/solr/MoreLikeThis ? > > > > > > cheers -- Rick > > > > > > > > > > > >
RE: Related Search
Indeed, we have similar processes running of which one generates a 'related query collection' which just contains a (normalized) query and its related queries. I would not know how this is even possible without continuously processing query and click logs. M. -Original message- > From:Grant Ingersoll > Sent: Tuesday 25th October 2016 23:51 > To: solr-user@lucene.apache.org > Subject: Re: Related Search > > Hi Rick, > > I typically do this stuff just by searching a different collection that I > create offline by analyzing query logs and then indexing them and searching. > > On Mon, Oct 24, 2016 at 8:32 PM Rick Leir wrote: > > > Hi all, > > > > There is an issue 'Create a Related Search Component' which has been > > open for some years now. > > > > It has a priority: major. > > > > https://issues.apache.org/jira/browse/SOLR-2080 > > > > > > I discovered it linked from Lucidwork's very useful blog on ecommerce: > > > > > > https://lucidworks.com/blog/2011/01/25/implementing-the-ecommerce-checklist-with-apache-solr-and-lucidworks/ > > > > > > Did people find a better way to accomplish Related Search? Perhaps MLT > > http://wiki.apache.org/solr/MoreLikeThis ? > > > > cheers -- Rick > > > > > > >
Re: Related Search
Hi Rick, I typically do this stuff just by searching a different collection that I create offline by analyzing query logs and then indexing them and searching. On Mon, Oct 24, 2016 at 8:32 PM Rick Leir wrote: > Hi all, > > There is an issue 'Create a Related Search Component' which has been > open for some years now. > > It has a priority: major. > > https://issues.apache.org/jira/browse/SOLR-2080 > > > I discovered it linked from Lucidwork's very useful blog on ecommerce: > > > https://lucidworks.com/blog/2011/01/25/implementing-the-ecommerce-checklist-with-apache-solr-and-lucidworks/ > > > Did people find a better way to accomplish Related Search? Perhaps MLT > http://wiki.apache.org/solr/MoreLikeThis ? > > cheers -- Rick > > >
Re: Related Search
Rick: The priority isn't particularly helpful for two reasons: 1> it's the default so often gets set without intent. 2> what the originator thinks of as major may or may not translate into someone actually doing work on it. In this case there's a lot of work that'd need to be done. "some model" just begs for clarification. In this case it might be a major feature, but nobody's felt the need or had the time to put into making it a reality. This is really just a topic for conversation at this point Best, Erick On Mon, Oct 24, 2016 at 5:32 PM, Rick Leir wrote: > Hi all, > > There is an issue 'Create a Related Search Component' which has been open > for some years now. > > It has a priority: major. > > https://issues.apache.org/jira/browse/SOLR-2080 > > > I discovered it linked from Lucidwork's very useful blog on ecommerce: > > https://lucidworks.com/blog/2011/01/25/implementing-the-ecommerce-checklist-with-apache-solr-and-lucidworks/ > > > Did people find a better way to accomplish Related Search? Perhaps MLT > http://wiki.apache.org/solr/MoreLikeThis ? > > cheers -- Rick > >
Related Search
Hi all, There is an issue 'Create a Related Search Component' which has been open for some years now. It has a priority: major. https://issues.apache.org/jira/browse/SOLR-2080 I discovered it linked from Lucidwork's very useful blog on ecommerce: https://lucidworks.com/blog/2011/01/25/implementing-the-ecommerce-checklist-with-apache-solr-and-lucidworks/ Did people find a better way to accomplish Related Search? Perhaps MLT http://wiki.apache.org/solr/MoreLikeThis ? cheers -- Rick
RE: Solr Related Search Suggestions
Query Recommendations using Query Logs in Search Engines http://personales.dcc.uchile.cl/~churtado/clustwebLNCS.pdf Very interesting paper and section 2.1 covers related work plus references. In our first attempt we did it even simpler, by finding for each query other top queries by inspecting our query and click logs. That works very well as well, the big problem is normalizing query terms for deduplication. Something that is never mentioned in any paper i read so far ;) -Original message- > From:kumar > Sent: Tuesday 28th January 2014 6:09 > To: solr-user@lucene.apache.org > Subject: Re: Solr Related Search Suggestions > > These are just key words > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Related-Search-Suggestions-tp4113672p4113882.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: Solr Related Search Suggestions
These are just key words -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Related-Search-Suggestions-tp4113672p4113882.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr Related Search Suggestions
Are these things categories? Or just generic keywords? If these are categories, you could have secondary_category field and just index "marriage halls" under "catering services" and eDismax search with different weight. Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Tue, Jan 28, 2014 at 10:45 AM, kumar wrote: > Yes same like synonyms but i need to synonymise multiple words. Here the > situation is the user is looking for the "marriage halls" may be interested > in "catering services", "Function halls" etc., > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Related-Search-Suggestions-tp4113672p4113876.html > Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr Related Search Suggestions
Yes same like synonyms but i need to synonymise multiple words. Here the situation is the user is looking for the "marriage halls" may be interested in "catering services", "Function halls" etc., -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Related-Search-Suggestions-tp4113672p4113876.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr Related Search Suggestions
Hi, I don't know of anything like that in OSS, but we have it here: http://sematext.com/products/related-searches/index.html Is that the functionality you are looking for? Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr & Elasticsearch Support * http://sematext.com/ On Mon, Jan 27, 2014 at 4:29 AM, kumar wrote: > What is the best way to implement related search suggestions. > > For example : > > If the user is looking for "marriage halls" i need to show results like > "catering services", "photography", "wedding cards", "invitation cards", > "music organisers". > > > Thanks & Regards, > kumar > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Related-Search-Suggestions-tp4113672.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: Solr Related Search Suggestions
If I’m not remembering incorrectly Trey Grainger in one of his talks explained a few techniques that could be of use. If the equivalency is not dynamically you could just use synonyms. Otherwise some kind of offline processing should be used to compute the similarity between your queries (given that very little or none textual similarity it’s present in your queries). On Jan 27, 2014, at 4:29 AM, kumar wrote: > What is the best way to implement related search suggestions. > > For example : > > If the user is looking for "marriage halls" i need to show results like > "catering services", "photography", "wedding cards", "invitation cards", > "music organisers". > > > Thanks & Regards, > kumar > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Related-Search-Suggestions-tp4113672.html > Sent from the Solr - User mailing list archive at Nabble.com. III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu
Re: Solr Related Search Suggestions
Hi Kumar; Are you looking for synonyms? Thanks; Furkan KAMACI 2014-01-27 kumar > What is the best way to implement related search suggestions. > > For example : > > If the user is looking for "marriage halls" i need to show results like > "catering services", "photography", "wedding cards", "invitation cards", > "music organisers". > > > Thanks & Regards, > kumar > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Related-Search-Suggestions-tp4113672.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Solr Related Search Suggestions
What is the best way to implement related search suggestions. For example : If the user is looking for "marriage halls" i need to show results like "catering services", "photography", "wedding cards", "invitation cards", "music organisers". Thanks & Regards, kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Related-Search-Suggestions-tp4113672.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: related search
On Sun, Mar 21, 2010 at 4:30 AM, Suram wrote: > > Thanx lot Ahmet Arslan > > How can make query to get synonym value ,any suggestion You need to apply the SynonymFilterFactory to your queries as well.
Re: related search
Thanx lot Ahmet Arslan How can make query to get synonym value ,any suggestion -- View this message in context: http://old.nabble.com/related-search-tp27933778p27974649.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: related search
> > How can i make related search in solr.if i search ipod > i need to get > > answer like ipodsuffle,ipodnano,ipone with out using > morelikethis option First of all you need to construct these list. Either automatic or manually. You can use SynonymFilterFactory [1] at index time with this settings. SolrHome/conf/index_synonyms.txt file will contain comma separated entries per line: ipodsuffle, ipodnano, ipone [1]http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
Re: related search
Suram wrote: > > How can i make related search in solr.if i search ipod i need to get > answer like ipodsuffle,ipodnano,ipone with out using morelikethis option > any solution please kindly tell me -- View this message in context: http://old.nabble.com/related-search-tp27933778p27951060.html Sent from the Solr - User mailing list archive at Nabble.com.
related search
How can i make related search in solr.if i search ipod i need to get answer like ipodsuffle,ipodnano,ipone with out using morelikethis option -- View this message in context: http://old.nabble.com/related-search-tp27933778p27933778.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Related Search
I'm also looking in to displaying 'related search terms' for every search term. How to do it with solr? The thread explains about some FuzzyLikeThisQuery. Can this be used with solr? Has anyone done this before? Could you please share your ideas. ajaxtrend wrote: > > Take a look at this thread > http://www.gossamer-threads.com/lists/lucene/java-user/54996 > > There was a need to get all related topics for any selected topic. I > have taken help of lucene-sand-box wordnet project to get all synoms of > user selected topics. I am not sure whether wordnet project would help you > as you look for products synonyms. In your case, you might need to > maintain a vector of product synonyms E.g. If User searches TV, internally > you would search for lcd tv, lcd, hdtv etc... > > > Take a look at www.ajaxtrend.com, how all related topics are displayed > and I am also keep on refining the related query search as this site is > evolving. This is just prototype. > > - BR > William Silva <[EMAIL PROTECTED]> wrote: > Hi, > What is the best way to implement a related search like CNET with SOLR ? > Ex.: Searching for "tv" the related searches are: lcd tv, lcd, hdtv, > vizio, plasma tv, panasonic, gps, plasma > Thanks, > William. > > > > - > Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try > it now. > -- View this message in context: http://www.nabble.com/Related-Search-tp13979364p14940412.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Related Search
Take a look at this thread http://www.gossamer-threads.com/lists/lucene/java-user/54996 There was a need to get all related topics for any selected topic. I have taken help of lucene-sand-box wordnet project to get all synoms of user selected topics. I am not sure whether wordnet project would help you as you look for products synonyms. In your case, you might need to maintain a vector of product synonyms E.g. If User searches TV, internally you would search for lcd tv, lcd, hdtv etc... Take a look at www.ajaxtrend.com, how all related topics are displayed and I am also keep on refining the related query search as this site is evolving. This is just prototype. - BR William Silva <[EMAIL PROTECTED]> wrote: Hi, What is the best way to implement a related search like CNET with SOLR ? Ex.: Searching for "tv" the related searches are: lcd tv, lcd, hdtv, vizio, plasma tv, panasonic, gps, plasma Thanks, William. - Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
Related Search
Hi, What is the best way to implement a related search like CNET with SOLR ? Ex.: Searching for "tv" the related searches are: lcd tv, lcd, hdtv, vizio, plasma tv, panasonic, gps, plasma Thanks, William.