lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: indexing using inbuilt lucene in Solr
Date Sat, 27 Feb 2010 20:20:29 GMT
On Sat, Feb 27, 2010 at 12:27 PM, mamathahl <mamatha.hl@gmail.com> wrote:

> I'm new to Solr.  I have a database which consists of latitude, longitude
> and relevant news.  This file has been imported using dataimport.  I think
> it has been indexed successfully by Solr.  Now I have to move ahead and
> give
> few queries as mentioned below.
> # hsin (great circle):
> http://localhost:8983/solr/select/?q=name:Minneapolis
> AND _val_:"recip(hsin(0.78, -1.6, lat_rad, lon_rad, 3963.205), 1, 1,
> 0)"^100
>
> # dist (Euclidean, Manhattan, p-norm):
> http://localhost:8983/solr/select/?q=name:Minneapolis AND
> _val_:"recip(dist(2, lat, lon, 44.794, -93.2696), 1, 1, 0)"^100
>
> How do I get started with it?  Should lucene be used explicitly to index
> the
> file again? Kindly help me to get started off with it.  Thanks in advance.
>

Just start Solr, open up a browser and try out those queries. If you don't
get the expected results, let us know and we can figure out the problem.

-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message