On Sat, Feb 27, 2010 at 12:27 PM, mamathahl <mamatha...@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.