In 32bit operate system JVM not support memory biger than 2g
2008/4/20, Chris <[EMAIL PROTECTED]>:
>
> You may try to use the java parameter with -xmx to set up your memory.
> If you have 8G Ram in system , but java VM only caluse the smaller usage.
>
> And I try to merage the index from disk to
it seems that close reader not release write lock, test lock release before
you add document
2008/1/18, Kevin Dewi <[EMAIL PROTECTED]>:
>
> Hello,
>
> I have a problem with this code (updating a lucene index by delete and
> adding documents):
>
>
> IndexReader reader = IndexReader.open(directory)
time,if you want retrieve another Hit, lucene
will search again and return the Hit you want. That is why this problem
happen.
poor english :")
-- Forwarded message --
From: 游泳池的鱼 <[EMAIL PROTECTED]>
Date: 2007-12-19 下午7:15
Subject: Re: document deletion problem
To
we can iterator hits.id(i) but can't pass reader.deleteDocument(hits.id(i));
why?
2007/12/19, Tushar B <[EMAIL PROTECTED]>:
>
> Hello All,
>
> I am seeing this issue and would like to understand if its a bug or I am
> missing something and doing the wrong way:
>
> (Note that I am doing all except
hehe ,you can do a test with PrefixQuery rewrite method,and extract terms .
like this
query = prefixQuery.rewrite(reader);
query.extractTerms(set);
for(String term : set){
System.out.println(term);
}
It will give you a pleasant surprise.
2007/12/13, Helmut Jarausch <[EMAIL PROTECTED
Hi, it's my first time to use lucene maillist. I have problem that when I
add a document with IndexWriter , it searchable for the IndexSearcher
instance which is creat before the document flush to index? if lucene can
not do this,any suggest to solve this problem?
Regards,
cooc