Thanks for clarifying this, Chris!
I agree with you that javadocs usual should doc all they do but often
times they skip few important things they do do.
Chris Hostetter wrote:
: Does anyone know if the RangeFilter is a cached filter? I could not
: tell from the api.
Generally speaking cla
: Does anyone know if the RangeFilter is a cached filter? I could not
: tell from the api.
Generally speaking classes only document what they do, not what they
*don't* do ... so if the javadocs don't say anything about caching, then
it doesn't have any caching.
more specificly, the existence of
: Thanks for the reply. I didn't know that as all the examples on Lucene still
: use the old approach.
: I had a look at the API and it does not seem to provide any new methods as
: a substitute for Field.Text.
Please note there is a FAQ specificly about "How do I get code written
for Lucene 1.4
Hi All,
Does anyone know if the RangeFilter is a cached filter? I could not
tell from the api.
Thanks!
Jay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello John,
see another thread about this issue this morning. Due to index performance in
combination with an inverted index it is not possible what you want.
Regards Ard
>
> Hi
> Lets say we have a single lucene document that has two text fields:
> field1 and field2.
> Data kept in field1
No. One of the most frequent requests is update-in-place,
but if you search the mail archive you'll find the reasons why it's
not going to happen.
Erick
On 7/10/07, john smith <[EMAIL PROTECTED]> wrote:
Hi
Lets say we have a single lucene document that has two text fields:
field1 and field2.
D
Hi
Lets say we have a single lucene document that has two text fields:
field1 and field2.
Data kept in field1 is a long string that changes rarely. It takes some
time to index it.
Data kept in field2 is a short string and changes often.
Is it possible to update (reindex) document field2 withou
In your application, can more than one machine be the writer? If so,
there is at least one known active issue
(http://issues.apache.org/jira/browse/LUCENE-948) in Lucene 2.2 that
prevents this from working.
If instead the writer is always on a single machine, then it should
work, though please no
What version of Lucene are you using?
As of 2.1, Lucene should remove such partially created files
immediately on hitting the OOM exception, and if somehow it failed to
do that (eg if JVM had crashed or machine running JVM crashed, etc) it
should then remove them the next time a writer is created
Hi Andy,
Thanks for the example, i tried it and it works like a charm :)
I will explore more of Lucene on my own.
Amit
On 7/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
You can reference org.apache.lucene.document.Field class. It should be
similar as:
ontactDocument.add(new Field("nam
You can reference org.apache.lucene.document.Field class. It should be
similar as:
ontactDocument.add(new Field("name", contact.getName(),Field.Store.YES,
Field.Index.TOKENIZED));
Andy
-Original Message-
From: Amit [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 10, 2007 6:00 PM
To: java-
Hi Otis,
Thanks for the reply. I didn't know that as all the examples on Lucene still
use the old approach.
I had a look at the API and it does not seem to provide any new methods as
a substitute for Field.Text.
Can you give a small example just how to add name-value pair to the
document.
Thanks
Hi,
you do not need to writer.close() the IndexWriter at all to make changes
visible.
When IndexWriter is constructed with autoCommit = true flag set,
calling writer.flush() will do.
This way you can keep your single IndexWriter at App-level handling all the
synchonization.
Have a look at
Hi,
I saw the new feature "point-in-time" on Lucene2.2.
If I upgrade my web-app from Lucene2.0 to Lucene2.2, I want to do that
my web-app can access the INDEX over NFS , so what should I do to change
my old web-app.
Could anyone show me some samples or your opinions.
(i.e. what difference on m
I need to remove these on the production server. Luke can be used only on
windows right? Can I use Lucli for the same purpose?
Thanks,
Harini
On 7/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
You can use Luke to open your index.
In the Files tab, if some files are shown as deletable, it
15 matches
Mail list logo