Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3S
-
None
-
None
Description
Prospective search is a search method where the search query is given first
and then searched against a stream of text, e.g. a xml feed.
Lucene supports prospective search via their MemoryIndex
http://lucene.apache.org/java/2_4_1/api/contrib-memory/org/apache/lucene/index/memory/MemoryIndex.html
which is a fast one document in memory index.
To add prospective search support to Lucas a new AE should be implemented,
which uses a resource interface to fetch the search queries either from
a user implemented object or from a resource file.
The search results should be written to the CAS to be available for further
processing by user implemented AEs.
The new AE should share the code which is used to build the Index with the
LuceneCASIndexer.