Re: Reindexing leaving behind 0 live doc segments

2023-09-13 Thread Uwe Schindler
. Note that my index is a mix of 7.x and 8.x segments and I am only reindexing 7.x segments by preventing them from participating in merge via a custom MergePolicy. Additionally as mentioned, Solr provides a handler (/admin/segments) which does what Luke does and it shows that by the end of the

Re: Reindexing leaving behind 0 live doc segments

2023-09-09 Thread Rahul Goswami
segments and I am only reindexing 7.x segments by preventing them from participating in merge via a custom MergePolicy. Additionally as mentioned, Solr provides a handler (/admin/segments) which does what Luke does and it shows that by the end of the process there are no more 7.x segments as referenced

Re: Reindexing leaving behind 0 live doc segments

2023-09-04 Thread Uwe Schindler
ideal scenario a commit should have taken care of dropping the segment files. So that tells me the refCounts for the files are not getting set to 0. I have a fair suspicion the reindexing process running on the same index inside the same JVM has to do something with it. Mike, Thanks for the caution

Re: Reindexing leaving behind 0 live doc segments

2023-08-31 Thread Rahul Goswami
have a fair suspicion the reindexing process running on the same index inside the same JVM has to do something with it. Mike, Thanks for the caution on Approach 2 ...good to at least be able to continue on one train of thought. As mentioned in my response to Stefan, the reindexing is going on *inside

Re: Reindexing leaving behind 0 live doc segments

2023-08-31 Thread Michael McCandless
ed to replicate same thing without the code by indexing 3 docs on an > empty test core, and then reindexing the same docs. The older segment gets > deleted as soon as softCommit interval hits or an explicit commit=true is > called. > > Here are the two approaches that I have tried

Re: Reindexing leaving behind 0 live doc segments

2023-08-30 Thread Stefan Vodita
Hi Rahul, What you're describing sounds similar to index rearranging [1], although in that case the reindexing is done in a new index. The last commit in the IndexRearranger class added support for reading and reindexing deletes - maybe having a look at that and at the Javadoc would

Re: Reindexing leaving behind 0 live doc segments

2023-08-30 Thread Rahul Goswami
a segment has been fully processed > > and an autoCommit (as well as autoSoftCommit ) has kicked in, the segment > > with 0 live docs gets left behind. *Upon Solr restart, the segment does > get > > cleared succesfully.* > > > > I tried to replicate same thing without the co

Re: Reindexing leaving behind 0 live doc segments

2023-08-28 Thread Mikhail Khludnev
ve docs gets left behind. *Upon Solr restart, the segment does get > cleared succesfully.* > > I tried to replicate same thing without the code by indexing 3 docs on an > empty test core, and then reindexing the same docs. The older segment gets > deleted as soon as softCommit inte

Reindexing leaving behind 0 live doc segments

2023-08-28 Thread Rahul Goswami
(as well as autoSoftCommit ) has kicked in, the segment with 0 live docs gets left behind. *Upon Solr restart, the segment does get cleared succesfully.* I tried to replicate same thing without the code by indexing 3 docs on an empty test core, and then reindexing the same docs. The older segment

Re: parent-child relationship in lucene - to avoid reindexing if parent information changes

2016-08-31 Thread Ralph Soika
eting a member So am trying to index group_name, group_members(member ids as csv) as parent and every text message & message_id as child. By using parent & child, i am trying to solve 1 * m cases... If there are 1 lakh messages under one parent, how to delete a member id or edit a group name witho

Re: parent-child relationship in lucene - to avoid reindexing if parent information changes

2016-08-30 Thread Kumaran Ramasubramanian
group_name, group_members(member ids as csv) as >> parent and every text message & message_id as child. >> By using parent & child, i am trying to solve 1 * m cases... >> If there are 1 lakh messages under one parent, how to delete a member id >> or >> edit a

Re: parent-child relationship in lucene - to avoid reindexing if parent information changes

2016-08-30 Thread Ralph Soika
a member id or edit a group name without reindexing of its children?? is it possible to avoid reindexing? Which lucene class is best fit for this? Related Article: http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html -- Kumaran R -- *Imixs*...extends the way peo

parent-child relationship in lucene - to avoid reindexing if parent information changes

2016-08-29 Thread Kumaran Ramasubramanian
to delete a member id or edit a group name without reindexing of its children?? is it possible to avoid reindexing? Which lucene class is best fit for this? Related Article: http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html -- Kumaran R

Re: searchAfter behavior after reindexing

2016-08-23 Thread Rajnish kamboj
thetaphi.de > > > -Original Message- > > From: Rajnish kamboj [mailto:rajnishk7.i...@gmail.com ] > > Sent: Monday, August 22, 2016 5:22 PM > > To: java-user@lucene.apache.org > > Subject: Re: searchAfter behavior after reindexing > > > > Please help m

RE: searchAfter behavior after reindexing

2016-08-22 Thread Uwe Schindler
kamboj [mailto:rajnishk7.i...@gmail.com] > Sent: Monday, August 22, 2016 5:22 PM > To: java-user@lucene.apache.org > Subject: Re: searchAfter behavior after reindexing > > Please help me in understanding the behaviour of searchAfter(). > > On Sunday 21 August 2016, Rajnish kamb

Re: searchAfter behavior after reindexing

2016-08-22 Thread Rajnish kamboj
Please help me in understanding the behaviour of searchAfter(). On Sunday 21 August 2016, Rajnish kamboj wrote: > Hi Team > > What is the searchAfter behavior if index is continuously being updated. > Document numbers changes if indexes are updated. Also indexes are update > on segment merge. >

searchAfter behavior after reindexing

2016-08-21 Thread Rajnish kamboj
Hi Team What is the searchAfter behavior if index is continuously being updated. Document numbers changes if indexes are updated. Also indexes are update on segment merge. Now, Suppose - I am holding a ScoreDoc before index update - Index is updated (document number changes). (A document

Re: Reindexing after database change

2012-07-28 Thread Jack Krupansky
, 2012 10:09 AM To: java-user@lucene.apache.org Subject: Reindexing after database change Hello, I am working on a Data warehouse project and importing a huge mass of data directly to the database (MysQL). After conclude the project and roll out to production, I have discovered that one of th

Reindexing after database change

2012-07-28 Thread Rodrigo P. Bregalanti
riods) Best regards, and thanks in advance. Rodrigo. -- View this message in context: http://lucene.472066.n3.nabble.com/Reindexing-after-database-change-tp3997870.html Sent from the Lucene - Java Users mailing list archive at Nabbl

Re: Changing index-time boosts without reindexing

2011-09-06 Thread Tajti Ákos
Thank you very much! Tajti Ákos On 2011.09.06., at 18:42, Chris Hostetter wrote: > > : You can use IndexReader's setNorm method? > : > : It's an expert method, and accepts a new byte norm value for the doc X > : field, ie you'll have to compute the right byte value. > > In particular, you sh

Re: Changing index-time boosts without reindexing

2011-09-06 Thread Chris Hostetter
: You can use IndexReader's setNorm method? : : It's an expert method, and accepts a new byte norm value for the doc X : field, ie you'll have to compute the right byte value. In particular, you should take a look at the FieldNormModifier utility. It was created for the purpose of trying out d

Re: Changing index-time boosts without reindexing

2011-09-05 Thread Akos Tajti
. The problem is that we have many documents and it takes a > lot > > of time to reindex them. Is there a way to change the index time boosts > > (afaik it's stored in the fieldNorm) without actually executing the > > reindexing? > > > > Thanks in advance, >

Re: Changing index-time boosts without reindexing

2011-09-05 Thread Michael McCandless
t, > > I'd like to test fine-tune the boosts in the search module of our > application. The problem is that we have many documents and it takes a lot > of time to reindex them. Is there a way to change the index time boosts > (afaik it's stored in the fieldNorm) without actu

Changing index-time boosts without reindexing

2011-09-05 Thread Akos Tajti
cuting the reindexing? Thanks in advance, Ákos Tajti

Re: Best strategy for reindexing large amount of data

2009-10-08 Thread Maarten_D
o >> accomplish >> >> this. >> >> > >> >> > There are a few strategies I've thought of, and I was wondering if >> >> anyone >> >> > could help me out as to which would be t

Re: Best strategy for reindexing large amount of data

2009-10-07 Thread Jake Mannix
; whether two different lucene documents represent the same message. > >> > > >> > 1. Simply iterate over all message in the message store, convert them > >> to > >> > lucene documents, and call IndexWriter.update() for each one (using > the > &

Re: Best strategy for reindexing large amount of data

2009-10-07 Thread Maarten_D
> > lucene documents, and call IndexWriter.update() for each one (using the >> > guid). >> > >> > 2. Iterate over all messages in small steps (say 1000 at a time), and >> the >> > for each batch delete the existing documents

Re: Best strategy for reindexing large amount of data

2009-10-07 Thread Jake Mannix
dexwriter.insert() for all messages (this is essentially step 1, split > up > > into small parts and with the delete and insert part batched). > > > > 3. Iterate over all messages in small steps, and for each batch create a > > separate index (lets say a RAM index), delet

Re: Best strategy for reindexing large amount of data

2009-10-07 Thread Jason Rutherglen
me as 3, except merge first, and then remove the old duplicates. > > Any help on this issue would be much appreciated. > > Thanks in advance, > Maarten > -- > View this message in context: > http://www.nabble.com/Best-strategy-for-reindexing-large-amount-of-data-tp25791659p257

Best strategy for reindexing large amount of data

2009-10-07 Thread Maarten_D
emove the old duplicates. Any help on this issue would be much appreciated. Thanks in advance, Maarten -- View this message in context: http://www.nabble.com/Best-strategy-for-reindexing-large-amount-of-data-tp25791659p25791659.html Sent from the Lucene - Java Users

Re: Best practice for updating an index when reindexing is not an option

2008-07-11 Thread Michael McCandless
entally write once, so, syncing changes over should simply be copying over new files and removing now-deleted files. You won't be able to remove files held open by the IndexSearcher, but, once the IndexSearcher restarts you'd then be able to delete those files on the next syn

Re: Best practice for updating an index when reindexing is not an option

2008-07-11 Thread Christopher Kolstad
genStartupServlet.SEARCH, new >>> Search(getRoot(request) + "/lucene")); >>> ctx.setAttribute(FelleskatalogenStartupServlet.SEARCHACTIVE, >>> new Boolean(true)); >>> >>> >> >> BR, >> >> Christopher >> >

Re: Best practice for updating an index when reindexing is not an option

2008-07-11 Thread Michael McCandless
her restarts you'd then be able to delete those files on the next sync. Mike Christopher Kolstad wrote: Hi. Currently using Lucene 2.3.2 in a tomcat webapp. We have an action configured that performs reindexing on our staging server. However, our live server can not reindex since i

Re: Best practice for updating an index when reindexing is not an option

2008-07-11 Thread Christopher Kolstad
gt; simply be copying over new files and removing now-deleted files. You won't > be able to remove files held open by the IndexSearcher, but, once the > IndexSearcher restarts you'd then be able to delete those files on the next > sync. > > Mike > > > Christopher

Re: Best practice for updating an index when reindexing is not an option

2008-07-10 Thread Michael McCandless
able to remove files held open by the IndexSearcher, but, once the IndexSearcher restarts you'd then be able to delete those files on the next sync. Mike Christopher Kolstad wrote: Hi. Currently using Lucene 2.3.2 in a tomcat webapp. We have an action configured that performs reindex

Best practice for updating an index when reindexing is not an option

2008-07-10 Thread Christopher Kolstad
Hi. Currently using Lucene 2.3.2 in a tomcat webapp. We have an action configured that performs reindexing on our staging server. However, our live server can not reindex since it does not have the necessary dtd files to process the xml. To update the index on the live server we perform a

AW: Reindexing

2006-02-08 Thread Klaus
rnate list. >> Erik >> On Feb 7, 2006, at 7:58 AM, revati joshi wrote: >>> Hello lucene members, >>> i'm the silent member of >>> this group.last week i had sent some query regarding >>> reindexing,but i

Re: Reindexing

2006-02-08 Thread Erik Hatcher
i'm the silent member of this group.last week i had sent some query regarding reindexing,but i dn't received any reply from any one.Still i'm stuck up with the same problem of reindexing. i hve completed with the reindexing code using hibernate Lifecycle c

Re: Reindexing

2006-02-07 Thread Raul Raja Martinez
the Hibernate list. Erik On Feb 7, 2006, at 7:58 AM, revati joshi wrote: Hello lucene members, i'm the silent member of this group.last week i had sent some query regarding reindexing,but i dn't received any reply from any one.Still i'm

Re: Reindexing

2006-02-07 Thread Amol Bhutada
-0500 >You may likely get better response by posting in the Hibernate list. > > Erik > > >On Feb 7, 2006, at 7:58 AM, revati joshi wrote: > >> Hello lucene members, >> i'm the silent member of this >> group.la

Re: Reindexing

2006-02-07 Thread Erik Hatcher
You may likely get better response by posting in the Hibernate list. Erik On Feb 7, 2006, at 7:58 AM, revati joshi wrote: Hello lucene members, i'm the silent member of this group.last week i had sent some query regarding reindexing,but i

Reindexing

2006-02-07 Thread revati joshi
Hello lucene members, i'm the silent member of this group.last week i had sent some query regarding reindexing,but i dn't received any reply from any one.Still i'm stuck up with the same problem of reindexing. i hve completed with the reinde

Reindexing

2006-01-30 Thread revati joshi
Hello Lucene members. i tried to do reindexing using Lifecycle interface of Hibernate ,but i'm stuck up with the implementation part of this interface. I wrote the code for it but i'm now stuck up with the concept of Hibernate. It uses me

Reindexing

2006-01-23 Thread revati joshi
ths.I hve finished with indexing,searching stuff successfully. Now i'm stuck up with one stuff i.e reindexing.I got some help from some lucene members abt this. For Reindexing lucene uses Lifecycles/Interceptors interface for updating search. But where do i get Lifecycles/Interceptors

Reindexing

2006-01-23 Thread revati joshi
embers abt this. For Reindexing lucene uses Lifecycles/Interceptors interface for updating search. But where do i get Lifecycles/Interceptors interface?.whether i hve to download some jar file for it?. Quartz is a job scheduler system through which i can achieve reindexing process. Which

Re: How do I avoid reindexing?

2005-09-11 Thread Filip Anselm
Storing numbers as text doesn't sound like >>> something a modern application does. >>> >>> So, if it hasn't been asked for before, here comes: It would be >>> nice if >>> Lucene could search by binary fields. >>> >>> -- >>> >>> Mikko

Re: How do I avoid reindexing?

2005-09-11 Thread Erik Hatcher
D] Sent: Sunday, September 11, 2005 2:24 AM To: java-user@lucene.apache.org Subject: Re: How do I avoid reindexing? delete document with this id and then add document with the same id. Jian On 9/10/05, Filip Anselm <[EMAIL PROTECTED]> wrote: ...well the title says it all I index some

Re: How do I avoid reindexing?

2005-09-11 Thread Filip Anselm
oromaa ([EMAIL PROTECTED]) - tel. +358 40 7348034 >Noromaa Solutions - see http://www.nm-sol.com/ > > > > >>-Original Message- >>From: jian chen [mailto:[EMAIL PROTECTED] >>Sent: Sunday, September 11, 2005 2:24 AM >>To: java-user@lucene.apache.org >>S

RE: How do I avoid reindexing?

2005-09-11 Thread Mikko Noromaa
ED] > Sent: Sunday, September 11, 2005 2:24 AM > To: java-user@lucene.apache.org > Subject: Re: How do I avoid reindexing? > > > delete document with this id and then add document with the same id. > > Jian > > On 9/10/05, Filip Anselm <[EMAIL PROTECTED]> w

Re: How do I avoid reindexing?

2005-09-10 Thread jian chen
delete document with this id and then add document with the same id. Jian On 9/10/05, Filip Anselm <[EMAIL PROTECTED]> wrote: > > ...well the title says it all > > I index some documents - all with the same fields... One of the fields, > "id" is unique for the indexed documents. If i try to ind

How do I avoid reindexing?

2005-09-10 Thread Filip Anselm
...well the title says it all I index some documents - all with the same fields... One of the fields, "id" is unique for the indexed documents. If i try to index a document with an id, that is already indexed - the old document should be updated or replaced with the new document, so that I avoid i