Today I tried to upgrade a Lucene 4.10 index to 5.2 using the IndexUpgrader.
This throws the following exception:
Exception in thread Lucene Merge Thread #0
org.apache.lucene.index.MergePolicy$MergeException:
org.apache.lucene.index.IndexFormatTooOldException: Format version is
not supported
in this case (we are using MMapDirectory)?
Is there a way to cleanly abort a running search?
Sven Teichmann
Thank you, that helped me a lot.
Sven Teichmann
__
Software for Intellectual Property GmbH
Gewerbering 14a
83607 Holzkirchen (Germany)
Phone: +49 (0)8024 46699-00
Fax:+49 (0)8024 46699-02
E-Mail: s.teichm...@s4ip.de
Local Court of Munich
.
If the default DocValuesFormat isn't fast enough, you can always
switch to e.g. DirectDocValuesFormat (uses lots of RAM but it just an
array lookup).
Mike McCandless
http://blog.mikemccandless.com
On Tue, May 6, 2014 at 4:33 AM, Sven Teichmann s.teichm...@s4ip.de
wrote:
Hi,
what is the best way
as long as no
document is deleted and the index optimized after it.
Is this a good solution or should we use Fields or DocValues for this?
What is the fastest solution?
Regards,
Sven Teichmann
-
To unsubscribe, e-mail: java
8. If I am
not wrong, the above would mean that the document from B with score 8
can be a better match than the document from A with score 10.
Is that right?
If so, what can I do to make the scores from multiple indices comparable?
Best regards,
Sven Teichmann
Hello,
does Lucene provide a zero or one character wildcard (like ? in Perl RegEx)?
Example of what I mean:
house% finds house and houses
As far as I know in Lucene the ? wildcard is for exactly one character,
but I need a zero or one character wildcard.
Best regards,
--
Sven Teichmann