On Sat, Nov 11, 2017 at 7:09 AM, Krishnamurthy, Kannan
wrote:
> Never mind my previous question, understood what you meant about the impact
> to norms after
> looking at the uses of CreatedMajorVersion in various Similarity classes. It
> almost looks
> re-indexing is the only option here. This w
Hi Mike,
Just above the line you give, there is a discussion of “setting up your Java
CLASSPATH” - you need to do this first.
Assuming you’re on Windows (because your email includes “Sent from Mail for
Windows 10”), you’ll need to do something like the following before invoking
the java comman
The Lucene demo calls for file that’s not provided.
On this page:
http://lucene.apache.org/core/7_1_0/demo/overview-summary.html#overview_description
we are told to run this command:
java org.apache.lucene.demo.IndexFiles -docs {path-to-lucene}
Error message received:
Error: Could not find or
Never mind my previous question, understood what you meant about the impact to
norms after looking at the uses of CreatedMajorVersion in various Similarity
classes. It almost looks re-indexing is the only option here. This will be
quite a big change to embrace for the users of addIndexes(). (
M
Will the norms still be a concern if the 6.1.0 index was upgraded using the
IndexUpgrader? If not would we upgrade first then fake the index creation
version to be 7.0.0 ?
Thanks again.
Kannan
From: Michael McCandless
Date: Friday, November 10, 2017 at 6:41 AM
To: Lucene Users , "Krishnamurthy,
Hi,
I use the code below to test same query on same index in one time.
long t0 = System.currentTimeMillis();
indexSearcher.search(query, from + size);
long t1 = System.currentTimeMillis();
LOGGER.info("indexSearcher.search(query, from + size) took:" + (t1 -
t0) + "ms");
TopScoreDocCollector coll
OK I'm sorry but I think you'll have to re-index; e.g. how norms are
computed and stored in the index has changed, which means even if you could
somehow copy or merge the index over to the new version, the norms would be
incorrect.
Mike McCandless
http://blog.mikemccandless.com
On Thu, Nov 9, 20