Hi Mostafa,
Try looking through the API for help with these types of questions:
http://lucene.apache.org/java/3_3_0/api/all/org/apache/lucene/store/FSDi
rectory.html
You can use a number of FSDirectory subclasses depending on your
circumstances.
Hope this helps!
Jason
-Original Message
You can sort on multiple values. Keep the primary sort as a relevancy
sort, and choose something else to sort on to keep the rest of the
responses fairly static.
http://lucene.apache.org/java/3_3_0/api/core/org/apache/lucene/search/So
rt.html
Example:
Sort sortBy = new Sort(new SortField[] { Sort
Vincent,
I think you may be looking for the following method:
http://lucene.apache.org/java/2_9_2/api/all/org/apache/lucene/index/Inde
xWriter.html#deleteDocuments%28org.apache.lucene.search.Query%29
Jason
-Original Message-
From: v.se...@lombardodier.com [mailto:v.se...@lombardodier.com
Storing the date as a long and then searching with NumericRangeQuery will
provide you with exactly what you're looking for. This is an efficient search
solution for numeric data.
Optimize() will reduce the size of your index and improve search time at the
cost of a large burst of overhead. Unle
If that's not an option, create another column with the same data
lowercased and search on the new column while displaying the original
column.
Jason
-Original Message-
From: Greg Bowyer [mailto:gbow...@shopzilla.com]
Sent: Tuesday, October 11, 2011 10:43 PM
To: java-user@lucene.apache.o