Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.6.0, 4.7.0
-
None
Description
After some bug tracking, we found that eZFind did not appear to be appending the commitWithin attribute to Solr <add> requests, even though the INI had been configured with DisableDirectCommits=enabled and CommitWithin set to 30 seconds.
Testing determined that the is_integer check applied to the INI value failed, since this checks variable type and it ini value is returned as a string.
Patch submitted as pull request #60:
https://github.com/ezsystems/ezfind/pull/60
Steps to reproduce
- Configure a clean eZ Publish/eZ Find/Solr configuration.
- Configure eZ Find with DisableDirectCommits/CommitWithin
- Publish an article
- Watch the STDOUT from Solr to determine when the object commits. The object will not commit unless something triggers the commit manually, even with CommitWithin set to a positive integer in the ini file.
Attachments
Issue Links
- is duplicated by
-
EZP-22135 CommitWithin not firing correctly
- Closed