Hi all,
I have an index task which will index thousands of records with lucene 3.0.1.
My confusion is lucene will always create a .cfx and a .cfs file in the file
system, sometimes more, while I thought it should create a single .cfs file if
I optimize the index data. Is it by design? If yes, i
hey Ian,
thanks for the reply. I find it very useful. My report generating
scheduler will run periodically, once done it will invoke the indexer
and exit. In this case I do not know if the index has changed or not.
How do i keep track of the changes in the index? As the two entities,
scheduler/inde
No way but re-index, that was easy in my case.
paul
Le 04-mai-10 à 14:46, Licinio Fernández Maurelo a écrit :
Hi all,
notice that i come from the solr-user mail list to get an answer ...
We need to retrieve the indexed data for a field *indexed but not
stored*(yes, i know this could sounds s
For best performance you should aim to keep a shared index searcher,
or the underlying index reader, open as long as possible. You may of
course need to reopen it if/when the index changes. As to scope, you
can store it wherever it makes sense for your application.
--
Ian.
On Tue, May 4, 2010
Hi all,
notice that i come from the solr-user mail list to get an answer ...
We need to retrieve the indexed data for a field *indexed but not
stored*(yes, i know this could sounds strange but we just want
retrieve the chunk
of bytes indexed related).
Is there any way to do this (avoiding reindex
Hi,
Thanks for the reply. So I will have a dedicated servlet to search the
index, but does it mean that the indexsearcher does not close the
index, keep it open? Is it not possible to keep it in the application
scope?
Vijay
On 5/3/10, Vijay Veeraraghavan wrote:
> Hi all,
>
> In a clustered envir
Hi
Take a look at PhraseQuery or SpanNearQuery, particularly the
setSlop() methods and the inOrder flag on the latter.
http://www.lucidimagination.com/blog/2009/07/18/the-spanquery/ is well
worth reading.
--
Ian.
On Mon, May 3, 2010 at 8:20 PM, Pablo wrote:
> Hello,
>
> Lucene core doesn't s