Nope, in this case documentation is the code.
Otis
--- "Aigner, Thomas" <[EMAIL PROTECTED]> wrote:
>
> Is there an error list for lucene errors? I am creating a project
> that
> will do something specific for certain lucene errors that occur (Lock
> file out there, etc).
>
> Thanks,
> Tom
>
G, I think it's that AUTO sorting again...
Check out this bug:
http://issues.apache.org/jira/browse/LUCENE-463
If you specify a string sort explicitly, it should work.
If you are using a multisearcher, please upgrade to the latest lucene
version (there have been some sorting bug fixes).
-Yon
I'm trying to reverse sort a result set by it's date field (MMDDhhmm).
pseudocode:
Boolean order = {false | true};
Sort sorter = new Sort(new SortField("date", order));
hits = indexSearcher.search(, , sorter);
When order = false, I correctly get the results sorted from the smallest
date to
My application needs to simultaneously process record additions and
updates with one pass through a database. That's not in itself a
problem: I open an IndexReader on the existing index to mark the
prior versions of updated records as deleted Documents, and an
IndexWriter on a new empty index t
Is there an error list for lucene errors? I am creating a project that
will do something specific for certain lucene errors that occur (Lock
file out there, etc).
Thanks,
Tom
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
IndexReader locks the index while opening it to prohibit an IndexWriter
from deleting any of the files in that index until all are opened.
Lock files are not stored in the index directory since write access to
an index should not be required to lock it while opening an IndexReader.
Doug
Dani
> I have some specific questions (Using a pure java solution with
> PostgreSQL). Any comments/info would be much appreciated.
>
> 1) I build an index. Then as the db gets more "documents" inserted
> into it, it needs to be added to the index. I was thinking of checking
> for X documents (will store
Okay.Thanks to you both.
Malcolm
Hi,
> Hi thanks for your reply,
>
> So when I delete a document the writer.close(); this actually commits
> the deletion to the index which is not reversible?
reader, not writer, but otherwise correct.
> I have a facility which deletes but leaves the delete 'undoable'
> until the change is comm
Hi thanks for your reply,
So when I delete a document the writer.close(); this actually commits the
deletion to the index which is not reversible?
I have a facility which deletes but leaves the delete 'undoable' until the
change is commited by closing the reader. I cannot access the doCommit o
reader.delete();
reader.close(); // flushes to disk
Otis
--- MALCOLM CLARK <[EMAIL PROTECTED]> wrote:
>
> Hi Oren,
>
> In the grand scheme of things and in comparison to some of the
> participants knowledge on here I am fairly new and inexperienced to
> Java and Lucene.
>
> I thought my w
Hi Oren,
In the grand scheme of things and in comparison to some of the participants
knowledge on here I am fairly new and inexperienced to Java and Lucene.
I thought my way may be the most effectual method of implementing the commit.I
am using many methods of searching/reading the index for a
Hi,
What do you mean? Do you want to add the jar file to the compile classpath,
or to add some plugin that will search your classes?
Oren Shir
On 11/26/05, Srinivas Jadcharla <[EMAIL PROTECTED]> wrote:
>
> Hi i just started learning Lucene , i have a very basic question that how
> can i integra
Hi,
A final method is not meant to be overridden.
Why do you want to inherit IndexReader as your first shot at Lucene and
java? Could it be that you've missed the factory method 'open' ?
If you are new both to java and to Lucene, I recommend that you get a book,
such as "Lucene in Action".
Good L
Hi,
A final method is not meant to be overridden.
Why do you want to inherit IndexReader as your first shot at Lucene and
java? Could it be that you've missed the factory method 'open' ?
If you are new both to java and to Lucene, I recommend that you get a book,
such as "Lucene in Action".
Good L
15 matches
Mail list logo