You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2009/01/01 20:55:44 UTC

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

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

Ryan McKinley commented on SOLR-773:
------------------------------------

Thanks patrick!

Two things stick out to me:

1. LocalSolrQueryComponent duplicates most of the code from SolrQueryComponent.  Perhaps a better solution would be to have a custom [QParser|http://lucene.apache.org/solr/api/org/apache/solr/search/QParser.html] that builds the query and then add a SearchComponent to the chain to augment the results with the calculated distance.

2. (related)  If the query is implemented as a QParser, we would just need to implement:
{code:java}
  public SortSpec getSort(boolean useGlobalParams) throws ParseException 
{code}
rather then use the LocalSolrSortParser.

> 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
>            Priority: Minor
>         Attachments: 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.