lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Seltzer <>
Subject MemoryIndex "field must not be added more than once"
Date Wed, 07 Mar 2012 14:39:13 GMT
I'm using a MemoryIndex to search in-memory content.

I was wondering if there's a way to specify multiple values for the same
field in a MemoryIndex.

I've tried addField but it throws an exception:

index.addField("foobar", "value1", LuceneAnalyzer);
index.addField("foobar", "value2", LuceneAnalyzer);

java.lang.IllegalArgumentException: field must not be added more than once



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message