I believe the Lucene file format changed in version 2.1, and your nightly
.jar file is probably v2.1. See
http://lucene.apache.org/java/docs/fileformats.html#Segments%20File.
I'm afraid I'm not an expert on the related compatibility issues. It has
been my experience that pre-2.1 Lucene cannot read
Solr provides an XML interface to everything: index adds, deletes, updates,
searches, highlights, explanations, facets, commits, and optimize
statements. I'm sure I've forgotten some :)
It also supports JSON, as well as some other formats, if you prefer that.
The Solr wiki explains how it works.
Hello Vijay,
I'm not sure whether such a change is feasible for you, but Solr has
supported facets for some time now. Solr is a front-end for Lucene that
provides a number of valuable features not found in Lucene itself: caching,
FunctionQueries, and facets, to name a few. It has an XML interface
Jim,
IMHO, Solr is excellent and perhaps your best bet.
There's a new-ish Lucene WS project here: http://lucene-ws.net/. I have not
tried it, but it looks fine if you want to interface vanilla Lucene to, for
example, Opensearch.
There's an older Lucene WS project here: http://lucene-ws.sourcefor
Given that you want to score new documents higher (implicitly sorting them),
I wonder whether Solr's FunctionQuery (specifically ReciprocalFloatFunction
-
http://incubator.apache.org/solr/docs/api/org/apache/solr/search/function/Re
ciprocalFloatFunction.html) may also be helpful. It gives newer doc