All keys for a field

2007-06-21 Thread Martin Spamer
I need to return all of the keys for a certain field, essentially "fieldName:*".This causes a ParseException / lexical error Encountered: "*" (42), after : "" I understand why this fails, WildCard prevent this to keep the results manageble. In my case the number of results will always be man

recovering an index from RAM disk.

2007-02-27 Thread Martin Spamer
I generate my index to the file system and load that index into a RAMDirectory for speed. If my indexer fails the directory based index can be left in an inadequate state for my needs. I therefore wish to flush the current index from the RAMDirectory back to the File system. The RAMDirectory cla