Apache Lucene open-source search software
Go to file
Christine Poerschke 6b6932e8e1 SOLR-8621: WrapperMergePolicyFactory logic tweaks
* fix so that getMergePolicy() can now be called more than once
 * added WrapperMergePolicyFactoryTest.testUpgradeIndexMergePolicyFactory()
 * account for overlap between wrapping and wrapped setters (and disallow it)
** illustration:
   <mergePolicyFactory class="UpgradeMergePolicyFactory">
      <int name="noCFSRatio">0.24</int>
      <str name="wrapped.prefix">mergePolicy</str>
                      <str name="mergePolicy.class">TieredMergePolicyFactory</str>
                      <int name="mergePolicy.noCFSRatio">0.42</int>
   </mergePolicyFactory>
** implementation details: the wrapping MP's setter calls the wrapped MP's setter and in the current code the wrapping MP's value prevails i.e. the 0.24 value in the illustration since the wrapped MP is constructed before the wrapping MP. an end-user however might reasonably assume that the wrapped MP's 0.42 value will prevail. at best configuring the same setter twice within the same overall <mergePolicyFactory> element is ambiguous and so the code now disallows it.
2016-02-10 22:24:15 +00:00
dev-tools LUCENE-6997: refactor sandboxed GeoPointField and query classes to lucene-spatial module 2016-02-05 10:58:39 -06:00
lucene LUCENE-6997: refactor GeoPointField and query classes from lucene.spatial to lucene.spatial.geopoint package 2016-02-09 21:51:48 -06:00
solr SOLR-8621: WrapperMergePolicyFactory logic tweaks 2016-02-10 22:24:15 +00:00
.gitignore LUCENE-6938: Convert build to work with Git rather than SVN. (Mark Miller 2016-01-24 17:52:46 +01:00
.hgignore LUCENE-2792: add FST impl 2010-12-12 15:36:08 +00:00
README.txt One more try: closes #1, closes #2, closes #3, closes #6, closes #10 on github 2014-01-05 18:42:13 +00:00
build.xml LUCENE-6938: Add WC checks back, now based on JGit 2016-01-24 22:38:36 +01:00

README.txt

Apache Lucene/Solr

lucene/ is a search engine library
solr/ is a search engine server that uses lucene

To compile the sources run 'ant compile'
To run all the tests run 'ant test'
To setup your ide run 'ant idea', 'ant netbeans', or 'ant eclipse'
For Maven info, see dev-tools/maven/README.maven

For more information on how to contribute see:
http://wiki.apache.org/lucene-java/HowToContribute
http://wiki.apache.org/solr/HowToContribute