Re: Solr Suggester with Geo?

2015-11-10 Thread Mikhail Khludnev
Hello, It seems it's nearly possible, but needs to be done https://github.com/apache/lucene-solr/blob/trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggester.java#L576 (this is for AnalyzingInfixLookupFactory) And for FuzzySuggester such implementation is

Re: Solr Suggester with Geo?

2015-11-10 Thread Alessandro Benedetti
Out of the box the Suggester componenent provides a set of Lookup implementation to look for the suggestions from the dictionary selected. Most of the suggestion lookups are FST based ( except the Analysing Infix one , that relies on an external auxiliary Lucene Index) . Depending on your

Solr Suggester with Geo?

2015-11-09 Thread William Bell
http://lucidworks.com/blog/solr-suggester/ Wondering if anyone has uses these new techniques with a boost on geodist() inverted? So the rows that get returned that are closest need to come back first. We are still using Edge Grams since we have not figured out how to boost the results on geo

Re: Solr Suggester with Geo?

2015-11-09 Thread Sameer Maggon
Have you looked at the Spatial extensions for Solr? If you are indexing Lat/Lon along with your documents, you can compute the distance from the origin & use that distance as one of the boost factors to affect the score. Typically, use cases around that combine the geo score with other factors as

Re: Solr Suggester with Geo?

2015-11-09 Thread William Bell
Yeah we have that working today. But the issue is we want to use http://lucidworks.com/blog/solr-suggester/ And you cannot do a boost with that right? On Mon, Nov 9, 2015 at 12:41 PM, Sameer Maggon wrote: > Have you looked at the Spatial extensions for Solr? If you

Re: Solr Suggester with Geo?

2015-11-09 Thread Sameer Maggon
Looking through the code and some example Suggesters, it seems that theoretically, one can write a GeoSuggester and provide that as the Lookup implementation (lookupimpl) that would factor in the geo score or extend the SolrSuggestor to support spatial extensions in the same spirit as "Filters"