Re: Recreating index lucene without stopping client applications

2018-07-18 Thread Michael McCandless
ms the > > data wasn't the newest. > > > > Thanks. > > > > > > == > > Eduardo Costa Lopes > > SERPRO - SUPDE/DEPAE/DE009 > > > > e-mail: eduardo-costa.lo...@serpro.gov.br > > telefone: (51) 2129 - 118

Re: Recreating index lucene without stopping client applications

2018-07-17 Thread Michael Sokolov
: eduardo-costa.lo...@serpro.gov.br > telefone: (51) 2129 - 1180 > > - Mensagem original - > De: "Marco Reis" > Para: "java-user" > Enviadas: Quarta-feira, 11 de julho de 2018 12:06:18 > Assunto: Re: Recreating index lucene without stopping client appl

Re: Recreating index lucene without stopping client applications

2018-07-11 Thread Eduardo Costa Lopes
27;t the newest. Thanks. == Eduardo Costa Lopes SERPRO - SUPDE/DEPAE/DE009 e-mail: eduardo-costa.lo...@serpro.gov.br telefone: (51) 2129 - 1180 - Mensagem original - De: "Marco Reis" Para: "java-user" Enviadas: Quarta-feira, 11 de julho de 2018 12:

Re: Recreating index lucene without stopping client applications

2018-07-11 Thread Marco Reis
Hi Eduardo, It's not clear the index recreation process, but I think you have two different SearcherManagers, one for the app and a different one for the command line. At some point, one of them could see the document exclusion, and the JBoss doen't. Maybe reopen the index directory could help.

Recreating index lucene without stopping client applications

2018-07-11 Thread Eduardo Costa Lopes
Hello, I have a Jboss application querying a lucene index to get some customer info. Sometimes the index are recreated while the application is running. Basically, the old index is erased and a new one is created. In the application side we have a scheduler calling org.apache.lucene.search.Se