is.miscellaneous for
> version 6.x although I have a feeling it was elsewhere in earlier versions.
>
>
> --
> Ian.
>
>
>
> On Fri, Feb 17, 2017 at 12:26 PM, Armnotstrong wrote:
>
>> Thanks, Ian:
>>
>> You saved my day!
>>
>> And there i
next time:
>
> Use final static String ID = "_id" and ... KEY =
> "5836962b0293a47b09d345f1". Minimises the risk of typos.
>
> And use RAMDirectory. Means your program doesn't leave junk on my disk if
> I run it, and also means it starts with an empty index each
Hi, all:
I am Using version 5.5.4, and find can't delete a document via the
IndexWriter.deleteDocuments(term) method.
Here is the test code:
import org.apache.lucene.analysis.core.SimpleAnalyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apac