MultiReader docid reliability

2014-05-29 Thread Nicola Buso
Hi,

from the javadocs:


For efficiency, in this API documents are often referred to via document
numbers, non-negative integers which each name a unique document in the
index. These document numbers are ephemeral -- they may change as
documents are added to and deleted from an index. Clients should thus
not rely on a given document having the same number between sessions. 


What does it mean in this context sessions? Are search sessions?

1) If I have an index that does not change (no deletes or updates) and
I'm keeping the MultiReader open, can the docid change executing more
times the same search on that reader?

2) Opening the same set of indexes in a MultiReader on different
machines will assign different docids to the same document at runtime or
the algorithm to calculate such docids in some way can guarantee that
static indexes will have the same docids in different machines (than
separated JVMs)?


nicola.



-- 
Nicola Buso nb...@ebi.ac.uk
EMBL-EBI


-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



Lucene Upgrade from 2.9.x to 4.7.x

2014-05-29 Thread Buddhavarapu, Suresh
Hello,

I'm looking for some documents/information on upgrade from Lucene 2.9.x to 
4.7.2. This is the first time I'm doing a upgrade. Can someone point me to some 
help in this?
Is there a documentation on what has changed from 2.9.x to 4.7.2?

Thanks,
Suresh


RE: Lucene Upgrade from 2.9.x to 4.7.x

2014-05-29 Thread Baldwin, David
I am looking for the same.   Need to upgrade from 2.9.2 .

-Original Message-
From: Buddhavarapu, Suresh [mailto:suresh.buddhavar...@emc.com] 
Sent: Thursday, May 29, 2014 7:57 AM
To: java-user@lucene.apache.org
Subject: Lucene Upgrade from 2.9.x to 4.7.x

Hello,

I'm looking for some documents/information on upgrade from Lucene 2.9.x to 
4.7.2. This is the first time I'm doing a upgrade. Can someone point me to some 
help in this?
Is there a documentation on what has changed from 2.9.x to 4.7.2?

Thanks,
Suresh

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



Re: Lucene Upgrade from 2.9.x to 4.7.x

2014-05-29 Thread Ian Lea
The migration guide that came out with 4.0 is probably the best place to start.

http://lucene.apache.org/core/4_8_1/MIGRATE.html is from the current
release but probably hasn't changed since 4.0.  There's also the
changes file with every release.  And if you browse the list archives
I expect you'll find similar questions and answers.


--
Ian.


On Thu, May 29, 2014 at 3:12 PM, Baldwin, David david_bald...@bmc.com wrote:
 I am looking for the same.   Need to upgrade from 2.9.2 .

 -Original Message-
 From: Buddhavarapu, Suresh [mailto:suresh.buddhavar...@emc.com]
 Sent: Thursday, May 29, 2014 7:57 AM
 To: java-user@lucene.apache.org
 Subject: Lucene Upgrade from 2.9.x to 4.7.x

 Hello,

 I'm looking for some documents/information on upgrade from Lucene 2.9.x to 
 4.7.2. This is the first time I'm doing a upgrade. Can someone point me to 
 some help in this?
 Is there a documentation on what has changed from 2.9.x to 4.7.2?

 Thanks,
 Suresh

 -
 To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
 For additional commands, e-mail: java-user-h...@lucene.apache.org


-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



Re: Lucene Upgrade from 2.9.x to 4.7.x

2014-05-29 Thread Xiaolong Zheng
I just upgrade Lucene from 2.0.0 to 4.6.1, here is a list of collections
that I was using during the upgrade:


1. Lucene 2.0 API 
http://www.lhelper.org/dev/lucene-2.0.0/docs/api/index.html
2. Lucene 4.7.2 Core API
http://lucene.apache.org/core/4_7_2/core/index.html
3. Lucene 4.7.2 Analyzers-Comon API
http://lucene.apache.org/core/4_7_2/analyzers-common/index.html?overview-s
ummary.html
4. Lucene 4.7.2 QueryParser API
http://lucene.apache.org/core/4_7_2/queryparser/index.html
5. Lucene Change Log
http://lucene.apache.org/core/4_7_2/changes/Changes.html
6. Apache Lucene Migration Guide
http://lucene.apache.org/core/4_7_2/MIGRATE.html


I would like to say number 5 is also very helpful.



Thanks,
Xiaolong Zheng






On 5/29/14 9:56 AM, Buddhavarapu, Suresh suresh.buddhavar...@emc.com
wrote:

Hello,

I'm looking for some documents/information on upgrade from Lucene 2.9.x
to 4.7.2. This is the first time I'm doing a upgrade. Can someone point
me to some help in this?
Is there a documentation on what has changed from 2.9.x to 4.7.2?

Thanks,
Suresh


-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



RE: Lucene Upgrade from 2.9.x to 4.7.x

2014-05-29 Thread Baldwin, David
I am curious what type of time-frame it took you to do the upgrade, including 
acceptable unit and QA tesing?

-Original Message-
From: Xiaolong Zheng [mailto:xiaolong.zh...@mathworks.com] 
Sent: Thursday, May 29, 2014 9:14 AM
To: java-user@lucene.apache.org
Subject: Re: Lucene Upgrade from 2.9.x to 4.7.x

I just upgrade Lucene from 2.0.0 to 4.6.1, here is a list of collections that I 
was using during the upgrade:


1. Lucene 2.0 API
http://www.lhelper.org/dev/lucene-2.0.0/docs/api/index.html
2. Lucene 4.7.2 Core API
http://lucene.apache.org/core/4_7_2/core/index.html
3. Lucene 4.7.2 Analyzers-Comon API
http://lucene.apache.org/core/4_7_2/analyzers-common/index.html?overview-s
ummary.html
4. Lucene 4.7.2 QueryParser API
http://lucene.apache.org/core/4_7_2/queryparser/index.html
5. Lucene Change Log
http://lucene.apache.org/core/4_7_2/changes/Changes.html
6. Apache Lucene Migration Guide
http://lucene.apache.org/core/4_7_2/MIGRATE.html


I would like to say number 5 is also very helpful.



Thanks,
Xiaolong Zheng






On 5/29/14 9:56 AM, Buddhavarapu, Suresh suresh.buddhavar...@emc.com
wrote:

Hello,

I'm looking for some documents/information on upgrade from Lucene 2.9.x
to 4.7.2. This is the first time I'm doing a upgrade. Can someone point
me to some help in this?
Is there a documentation on what has changed from 2.9.x to 4.7.2?

Thanks,
Suresh


-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org


-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org