LengthNormUpdater returning error code if no fields in index have norms is inconvenient.

Description

As I started using the LengthNormUpdater in AIT, I ran into situations where returning an error code of 0 if no fields in the index had norms was a hassle. In the scripts using the LNU, distinguishing real errors from this condition is important, and using a return code of 0 for both prevented that.

Environment

None

Activity

Show:
Aaron Binns
September 19, 2009, 2:47 AM

So, I changed LNU to return '2' in the case where there are no norms to update.

SVN 2803.

Fixed

Assignee

Aaron Binns

Reporter

Aaron Binns

Labels

None

Issue Category

None

Group Assignee

None

ZendeskID

None

Estimated Difficulty

None

Actual Difficulty

None

Fix versions

Priority

Major
Configure