lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: when and how to use GCJIndexInput, GCJDirectory
Date Wed, 12 Apr 2006 17:44:20 GMT
Charlie wrote:
> It looks fine to compile those GCJ files using
> libgcj-3.4.5.jar in Jbuilder, but will it causing issues for bypassing
> Makefile, GCJTermDocs.cc, GCJIndexInput.cc? (as this compilation does
> not use ant.)

These files are only appropriate when running under GCJ, not under a 
JVM.  Even then, they are optional.  The .cc files are required by the 
.java files, since the .java files have native methods that are 
implemented by the .cc files.

These classes accellerate large OR queries when used with the old 
BooleanScorer.  They can make such queries twice as fast.  The new 
BooleanScorer2 can not take advanatage of these GCJ-specific 
optimizations.  To enable the old scorer you need to call 
BooleanQuery.setUseScorer14().

Doug

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


Mime
View raw message