lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Lucene 4.0 MemoryIndex Bug?
Date Thu, 08 Dec 2011 21:05:10 GMT
anytime you see nosuchmethoderror, it means its a bug in your
configuration (wrong, out of date classes/jar files)

On Thu, Dec 8, 2011 at 3:55 PM, Stephen Howe <silentgunner@gmail.com> wrote:
> I've been playing around with Lucene's MemoryIndex and anytime I try to use
> index.addField(String, String, Analyzer), I
> receive: java.lang.NoSuchMethodError:
> org.apache.lucene.util.BytesRef.deepCopyOf(Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/util/BytesRef;
> anytime I make a call to it. I've tried inserting string literals and
> string objects and it's not taking anything.
>
> Digging around in the source code, I narrowed it down to this call in
> MemoryIndex: terms.put(BytesRef.deepCopyOf(ref), positions); and ref is not
> null. I've also debugged BytesRef.deepCopyOf command and it is working
> fine.
>
> Any thoughts?
>
> Thanks!
> Stephen



-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message