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 "Shekhar (JIRA)" <ji...@apache.org> on 2009/06/18 02:44:07 UTC

[jira] Issue Comment Edited: (SOLR-773) Incorporate Local Lucene/Solr

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

Shekhar edited comment on SOLR-773 at 6/17/09 5:42 PM:
-------------------------------------------------------

Patrick,

I finally got it compiled. Had to do some minor changes. But it is giving 0 results. I am trying to run localsolr and collapse together. But so far no luck.

Request : 
http://localhost:9080/solr/select?indent=on&version=2.2&q=LCD&qt=geo&long=-74.418689&radius=500&lat=40.755677

Following is my solrconfig : 

<requestHandler name="geo" class="org.apache.solr.handler.component.SearchHandler">
<lst name="defaults">
  <str name="echoParams">explicit</str>
  <str name="defType">spatial_tier</str>  
  <str name="fq">doctype:provider</str>
</lst>
<lst name="invariants">
  <str name="latField">lat</str>
  <str name="lngField">lng</str>
  <str name="distanceField">geo_distance</str>
  <str name="tierPrefix">tier</str>
</lst>
<arr name="components">
  <str>collapse</str>
  <str>geodistance</str>
</arr>
</requestHandler>

=======================
Response :

int name="QTime">6</int>
−
<lst name="params">
<str name="lat">40.755677</str>
<str name="radius">500</str>
<str name="indent">on</str>
<str name="q">LCD</str>
<str name="qt">geo</str>
<str name="long">-74.418689</str>
<str name="version">2.2</str>
</lst>
</lst>
<result name="response" numFound="0" start="0"/>
</response>

      was (Author: csnirkhe):
    Patrick,

I finally got it compiled. Had to do some minor changes. But it is giving 0 results. I am trying to run localsolr and collapse together. But so far no luck.

Following is my solrconfig : 


<requestHandler name="geo" class="org.apache.solr.handler.component.SearchHandler">
<lst name="defaults">
  <str name="echoParams">explicit</str>
  <str name="defType">spatial_tier</str>  
  <str name="fq">doctype:provider</str>
</lst>
<lst name="invariants">
  <str name="latField">lat</str>
  <str name="lngField">lng</str>
  <str name="distanceField">geo_distance</str>
  <str name="tierPrefix">tier</str>
</lst>
<arr name="components">
  <str>collapse</str>
  <str>geodistance</str>
</arr>
</requestHandler>

=======================
Response :

int name="QTime">6</int>
−
<lst name="params">
<str name="lat">40.755677</str>
<str name="radius">500</str>
<str name="indent">on</str>
<str name="q">LCD</str>
<str name="qt">geo</str>
<str name="long">-74.418689</str>
<str name="version">2.2</str>
</lst>
</lst>
<result name="response" numFound="0" start="0"/>
</response>
  
> 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
>         Attachments: lucene.tar.gz, 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.patch, SOLR-773.patch, 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.