Thanks for the reply. I thought of doing it. I downloaded the latest
source and tried to build it using ant. I am new to using 'ant'. It gives
me an error and I think the problem is with 'rmic'. I never came across
this before either. It says -
BUILD FAILED
/projects/keyconcept/praveen/lucene-1.4.
On 12/19/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I know that lucene index takes a directory of files to be indexed and
> builds the index. Now is there a way to specify the number of files from
> the directory to be indexed?
>
> I mean if I have a directory of 10,000 files and I
Hi,
I know that lucene index takes a directory of files to be indexed and
builds the index. Now is there a way to specify the number of files from
the directory to be indexed?
I mean if I have a directory of 10,000 files and I want an index of only
2000 files from these 10k files, how can specify
Hi Paul,
W.r.t. ConstantScoringQuery, it contains a minor bug: it doesn't the
handle the case where the Filter.bits method would return null. I think
the ConstantScorer should look like:
public boolean next() throws IOException {
doc = (bits == null) ? doc+1 : bits.nextSetBit(doc+1);
> W.r.t. ConstantScoringQuery, it contains a minor bug: it doesn't the
> handle the case where the Filter.bits method would return null.
Can Filter.bits() ever return null though? AFAIK, that's not in the contract.
The Filter.getBits() javadoc says:
Returns a BitSet with true for docum
: I have the same problem with HitCollector: I'd need to go through /all/
: documents.
Are you sure about that? I'm fairly certain that IndexSearcher will never
give your HitCollector a doc to collect unless that doc matches the query.
(Note: i seem to recall that it is possibel you'll be given
On Sunday 18 December 2005 15:46, Cret Hummin wrote:
> Hi Paul,
>
> W.r.t. ConstantScoringQuery, it contains a minor bug: it doesn't the
> handle the case where the Filter.bits method would return null. I think
> the ConstantScorer should look like:
>
> public boolean next() throws IOExcept
On Sonntag 18 Dezember 2005 08:16, [EMAIL PROTECTED] wrote:
> hi..
> I would like to know how to index database tables using Lucene.
As this question comes up regularly, I have added a new FAQ item:
http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-109358021acbfc89456e446740dc2bbf9049950f
Reg
Hi Paul,
W.r.t. ConstantScoringQuery, it contains a minor bug: it doesn't the
handle the case where the Filter.bits method would return null. I think
the ConstantScorer should look like:
public boolean next() throws IOException {
doc = (bits == null) ? doc+1 : bits.nextSetBit(doc+1);