Re: SpatialQuery for location based search using Lucene

2009-06-27 Thread Marcelo Ochoa
Hi: Did you know Local Lucene extension? http://sourceforge.net/projects/locallucene/ Some test are similar to your example: http://locallucene.svn.sourceforge.net/viewvc/locallucene/trunk/locallucene/src/java/com/pjaol/search/test/UnitTests/ Best regards, Marcelo. On Sat, Jun 27, 2009 at 5:

RE: SpatialQuery for location based search using Lucene

2009-06-27 Thread Uwe Schindler
Hi mitu2009, For numeric searches the not yet released version 2.9 has new possibilities for numeric searches. You can index int, long, float or double in a special field type (NumericField instead of Field) and can query it with NumericRangeQuery/NumericRangeFilter (see http://hudson.zones.apache

SpatialQuery for location based search using Lucene

2009-06-27 Thread mitu2009
Hi, My lucene index has got latitude and longitudes fields indexed as follows: doc.Add(new Field("latitude", latitude.ToString() , Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.Add(new Field("longitude", longitude.ToString(), Field.Store.YES, Field.Index.UN_TOKENIZED)); I want t

Problem in Running the Lucene web application demo

2009-06-27 Thread mayank juneja
Hi I am a new user to Lucene. I tried running the Lucene web application demo provided with the source. I am able to index the files but I get the following error when I try to search a query from the browser. HTTP Status 500 - -- *type* Exception report *message*