| clear query|facets|time |
Search criteria: TieredMergePolicy.
Results from 11 to 20 from
38 (0.379s).
|
|
|
Loading phrases to help you refine your search...
|
|
Re: how to forcemerge a index library with many segmens to another dir? - Lucene - [mail # user]
|
|
...So you want a copy of the merged index on another disk? You could just copy it, before or after the merge, your choice. Or create the new index with an IndexWriter and call one of the add...
|
|
...Indexes() methods. From the javadocs they sound to have different merge effects. Try it out and see what happens. Ian. On Thu, Dec 20, 2012 at 1:24 AM, Hu Jing wrote: ...
|
|
|
Author: Ian Lea,
2012-12-20, 09:39
|
|
|
Re: How to control the lucence index storage size? - Lucene - [mail # user]
|
|
...???) when the limit was exceeded. Don't forget that disk usage will vary over time as segments are merged, readers/writers closed, whatever. 3.0.3 is ancient by the way. Ian. On Thu, Jan 17...
|
|
|
Author: Ian Lea,
2013-01-17, 12:05
|
|
|
Re: remove duplicate when merging indexes - Lucene - [mail # user]
|
|
...Try updateDocument(new Term("id", ""+i), doc). See javadocs for Term constructors. Ian. On Tue, Nov 10, 2009 at 9:47 AM, m.harig wrote: ...
|
|
|
Author: Ian Lea,
2009-11-10, 09:58
|
|
|
Re: Insuffient resources during optimize merge - Lucene - [mail # user]
|
|
...Hi Google throws up some hits for this error relating to obscure problems on Windows with UNC paths and shared rather than local storage. If that's not relevant it might help to...
|
|
|
Author: Ian Lea,
2009-07-03, 10:51
|
|
|
Re: Lucene updateDocument deletes the document, but the counts keep increasing - Lucene - [mail # user]
|
|
...Yes, IndexWriter.updateDocument() deletes and then adds. See the javadocs. So your index will have deleted docs. Why do you care? They'll go away eventually as segments get merged...
|
|
.... If you really do care, see IndexWriter,forceMergeDeletes(). See also the javadoc for that: This is often a horribly costly operation; rarely is it warranted. Ian. On Wed, Oct 17, 2012 at 1...
|
|
|
Author: Ian Lea,
2012-10-17, 13:03
|
|
|
Re: Lucene updateDocument deletes the document, but the counts keep increasing - Lucene - [mail # user]
|
|
...I guess so. I don't pay much attention to these figures but presumably IndexReader.numDocs() and numDeletedDocs() will adjust as deletions get merged away. Try it and see. Ian. On Wed...
|
|
|
Author: Ian Lea,
2012-10-17, 13:40
|
|
|
Re: Lucene index on NFS - Lucene - [mail # user]
|
|
... are not so good, particularly if you have a lot of modifications to the index. You may want to install a custom IndexDeletionPolicy. See the javadocs for details with specific reference to NFS...
|
|
|
Author: Ian Lea,
2012-10-02, 09:10
|
|
|
Re: many index reader problem - Lucene - [mail # user]
|
|
... term solution is probably to merge the many small indexes into one, or a few, larger indexes and restrict queries by an indexed field identifying the index you are interested in. A cached...
|
|
|
Author: Ian Lea,
2012-07-16, 08:51
|
|
|
Re: sort question - Lucene - [mail # user]
|
|
... and match you can do that too: run multiple searches, with or without sorting, your choice, and merge the resultant hit lists in whatever order makes sense to you. Ian. On Tue, May 22, 2012 at 3...
|
|
|
Author: Ian Lea,
2012-05-22, 08:40
|
|
|
Re: two fields, the first important than the second - Lucene - [mail # user]
|
|
...If you really mean "must" and "always", you'll probably have to execute 2 searches. First on title alone then on description, or title and description, merging the hit lists as appropriate...
|
|
|
Author: Ian Lea,
2012-04-26, 19:36
|
|
|
|