[ 
https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787655#action_12787655
 ] 

Eric Pugh edited comment on SOLR-773 at 12/8/09 7:00 PM:
---------------------------------------------------------

Patrick, I tried out your "Batteries Included" example, and it worked great.  
One of the questions I have is that it seems like the scoring process doesn't 
take into account the distance from a central point..  In other words, if I 
specify a 10 mile radius, and there is a really high scoring match more then 10 
miles out, it doesn't get returned.  The radius functions as a strict filter of 
what gets returned.  However, I think what we are really trying to do is to 
find the best search results, and have distance factored in as well.  

I was thinking that I could sort of do this "fuzzy" boundary by making a query 
with a radius x, and then doing the same query radius x * 2.  Then, if any of 
the documents in x * 2 are much better then in radius x, then to include them.  
Obviously this would be somewhat clunky to do from the client side!

A use case I can think of is searching for gas stations within 5 miles of me, 
but if a gas station has really cheap gas, and is 6 miles away, then include 
that.  But just a penny cheaper ignore it.   

I added as a "screenshot" a drawing of what I was sort of thinking.



      was (Author: epugh):
    Idea of fuzzy borders drawing.
  
> Incorporate Local Lucene/Solr
> -----------------------------
>
>                 Key: SOLR-773
>                 URL: https://issues.apache.org/jira/browse/SOLR-773
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: exampleSpatial.zip, lucene-spatial-2.9-dev.jar, 
> lucene.tar.gz, screenshot-1.jpg, SOLR-773-local-lucene.patch, 
> SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch, 
> SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch, 
> SOLR-773-spatial_solr.patch, SOLR-773.patch, SOLR-773.patch, 
> solrGeoQuery.tar, spatial-solr.tar.gz
>
>
> Local Lucene has been donated to the Lucene project.  It has some Solr 
> components, but we should evaluate how best to incorporate it into Solr.
> See http://lucene.markmail.org/message/orzro22sqdj3wows?q=LocalLucene

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to