I have an existing index. I want to add new fields to each document in the
index.
Ideally I would do it in-place on the same index, but let's assume I can create
a new, separate index.
Easy I thought:
IndexReader reader = IndexReader.open(originalIndex);
int maxdocs = reader.maxDoc();
Inde
On Fri, 2006-07-14 at 04:09 -0400, JMA wrote:
> I have an existing index. I want to add new fields to each document in the
> index.
>Document d = reader.document(i);
>
>Field f = new Field("extraField", text_for_extra_field, true, true, true
On Thu, 2006-07-13 at 09:20 +, Karl Wettin (JIRA) wrote:
> Adaptive, user query session analyzing spell checker.
I have a database with 3 million+ real user queries (session id,
timestamp, query and hits) if anyone is interested in fooling around
with the code. And if there is an interest, I m
On 7/14/06, Ning Li <[EMAIL PROTECTED]> wrote:
I have viewed "delete by term" (which is supported by IndexReader and
NewIndexModifier) as a kind of "delete by query", not "delete by id".
If I replace Term in DeleteTerm with Query (or query string), and
re-define applyDeletesSelectively() as foll
[
http://issues.apache.org/jira/browse/LUCENE-627?page=comments#action_12421128 ]
Yonik Seeley commented on LUCENE-627:
-
Right... I'm not sure the highlighter should be expected to handle all cases,
but WordDelimiterFilter doesn't seem *that
[
http://issues.apache.org/jira/browse/LUCENE-627?page=comments#action_12421162 ]
Yonik Seeley commented on LUCENE-627:
-
I'm going with the OrderFixer approach for now... if startOffsets are equal,
but endOffsets are not, does it matter whic
Erik;
I see we are qualified to get free IntelliJ licenses -- how do we
actually do that?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Brian... I'm an IntelliJ user, and I got my license recently.
They have a special ASF page:
http://www.jetbrains.com/idea/opensource/asf.html
-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server
On 7/14/06, Brian Goetz <[EMAIL PROTECTED]> wrote:
Erik;
I see we
[ http://issues.apache.org/jira/browse/LUCENE-627?page=all ]
Yonik Seeley updated LUCENE-627:
Attachment: highlight_overlap.diff
Here is a patch that makes the tests work after tokens are re-ordered.
I basically keep track of the start and end offsets of
Hi there,
I wonder how difficult to implement lucene to index the local file system,
such as, word file or pdf file. I know conceptually, it should work with
lucene.
Any existing package does the similar effort?
thanks,
Feng Ji
Hey, you're moving the goalposts ;-)
You proposed a specific patch, and it certtainly doesn't have support
for delete-by-query.
The patch makes IndexWriter support delete-by-term, which is what
IndexReader supports. Granted, delete-by-term is not as general as
delete-by-query so you don't have t
11 matches
Mail list logo