CHEF-2346 solr maxfieldlength round 2


#1

There was some earlier mailing list discussion on the topic [1] but we
need another look at CHEF-2346 [2], because even if we increase the
limit in the configuration file that we ship, the user still needs to
install this configuration manually and, I believe, reindex. This is a
lot to ask in a point release, but we’d also like to help people out,
so we need a better solution.

For starters, we should emit a warning on chef-solr startup if this
value is less than say 50,000 (?) then recommend its increase and
point to the ticket for further information.

Is there a light-weight way to determine the size of objects currently
in use? Could we error/fatal if an object is within a certain distance
of the limit?


Bryan McLellan | opscode | senior systems administrator
© 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org

[1] http://lists.opscode.com/sympa/arc/chef-dev/2011-08/msg00038.html
[2] http://tickets.opscode.com/browse/CHEF-2346


#2

I don’t think you have to reindex after expanding this value.

I also think the big first thing to do is emit an error/warning when a
record exceeds this value instead of silently dropping it (current
behavior).

On Wed, Sep 14, 2011 at 2:59 PM, Bryan McLellan btm@opscode.com wrote:

There was some earlier mailing list discussion on the topic [1] but we
need another look at CHEF-2346 [2], because even if we increase the
limit in the configuration file that we ship, the user still needs to
install this configuration manually and, I believe, reindex. This is a
lot to ask in a point release, but we’d also like to help people out,
so we need a better solution.

For starters, we should emit a warning on chef-solr startup if this
value is less than say 50,000 (?) then recommend its increase and
point to the ticket for further information.

Is there a light-weight way to determine the size of objects currently
in use? Could we error/fatal if an object is within a certain distance
of the limit?


Bryan McLellan | opscode | senior systems administrator
© 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org

[1] http://lists.opscode.com/sympa/arc/chef-dev/2011-08/msg00038.html
[2] http://tickets.opscode.com/browse/CHEF-2346