Thanks Oliver. It works.
Thanks,
-Kalpesh
Oliver Hutchison <[EMAIL PROTECTED]> wrote:
Kalpesh,
Are you using sorting? If you are, then the patch attached to LUCENE-651 may
help. It fixes a race condition that exists in the initialization of the
FieldCache (which is used to accelerate
older version of lucene.
vasu shah wrote:
> Hi,
>
> I am getting this error when accessing my index with Luke.
>
> No sub-file with id _1.f0 found
>
> Does any one have idea about this??
>
> Any help would be appreciated.
>
> Thanks,
> -Vasu
>
>
> -
Hi,
I am getting this error when accessing my index with Luke.
No sub-file with id _1.f0 found
Does any one have idea about this??
Any help would be appreciated.
Thanks,
-Vasu
-
Stay in the know. Pulse on the new Yaho
Hi,
The IndexModifier class always opens up an IndexWriter in the init
method. If we need to update a document, it closes the IndexWriter and
opens up IndexReader to delete the desired document. Then again it opens
IndexWriter to add the document to the index.
Instead can't we pass one extra
know the technique.
Thanks once again.
-Vasu
Yonik Seeley <[EMAIL PROTECTED]> wrote: On 10/17/06, vasu shah wrote:
> Can anyone please tell as to what is the difference between PrefixFilter
> and WildcardQuery as far as memory is concerned?
>
> I saw the code of Prefix
Hi,
Can anyone please tell as to what is the difference between PrefixFilter and
WildcardQuery as far as memory is concerned?
I saw the code of PrefixFilter and it gets TermEnum for all the terms in the
index. Won't this consume memory??
I started using PrefixFilter, ConstantSc
(Term term = null; (term = wildEnum.term()) != null;
wildEnum.next()) {
termDocs.seek(term);
while (termDocs.next()) {
bits.set(termDocs.doc());
}
}
return bits;
}
}
Hope this helps
Erick
On 10/16/06, vasu shah wrote:
>
> Hi,
>
> I have have multiple fields that I need to search o
Hi,
I have have multiple fields that I need to search on. All these fields need to
support wildcard search. I am ANDing these search fields using BooleanQuery.
There is no need for score in my search.
How do I implement these. I have seen PrefixFilter and it sounds promising. But
then how do I
Hi,
I added one record to the index and did flush(), optimize() and close() in
that order.
I had one index file _twca.cfs. After the inserting the document and doing
optimization, I have two index files _twca.cfs and _twcf.cfs (both approx. same
size) and deletable file having entry for _twc
Thanks Michael.
You explained it very nice. I will look into the third approach. The first
and second approach are not feasible for me.
Thanks again.
-Vasu
Michael McCandless <[EMAIL PROTECTED]> wrote:
> My application database can be updated outside the application also. Wheneve
Hi,
My application database can be updated outside the application also. Whenever
there is a change in database by some other source, I want to update my index.
Is there any way to do so?
I am using Java and the database is DB2. I saw the DB2 UDF. But I have to put
the jar insid
Thanks Mike. Your explanation was really helpful.
I would use the IndexModifier class till the new IndexWriter class comes up.
Thanks once again.
-Vasu
Michael McCandless <[EMAIL PROTECTED]> wrote:
> I am not very good at threading. So I was looking if there is any api class
(eve
Thanks Mike for the reply. I will look into Lucene in Action.
I am not very good at threading. So I was looking if there is any api class
(even in nightly builds) on top of the IndexReader/IndexWriter that takes care
of concurrency rules.
Every developer must be facing this problem o
Hi,
I went through the IndexModifier class. It says that - Although an instance
of this class can be used from more than one thread, you will not get the best
performance. You might want to use IndexReader and IndexWriter directly for
that (but you will need to care about synchronization y
Thank you very much for the quick response. I was just a little skeptical about
Lucene for my application.
This user forum is really supportive by posting the replies immediately.
Thanks,
-Vasu
karl wettin <[EMAIL PROTECTED]> wrote:
On Sun, 2006-07-23 at 14:44 -0700, vas
Hello Everyone,
We have an application and the current search is taking lot of time to return
the results. We are doing a search against 8-9 database tables and 1.5 million
records.
I want to increase the search speed and thinking of implementing lucene search.
I went through the documentation
16 matches
Mail list logo