Marian, Sorry, I completely forgot to mention. Pls check David's instruction https://issues.apache.org/jira/browse/SOLR-2155?focusedCommentId=13117350&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13117350
The patch you tried to use is just my amendment for the David's zip. In according to his comment it's already in Solr2155-1.0.3-project.zip. Regards On Fri, Feb 10, 2012 at 5:32 PM, Marian Steinbach <mar...@sendung.de> wrote: > 2012/2/9 Mikhail Khludnev <mkhlud...@griddynamics.com>: > > Some time ago I tested backported patch from > > https://issues.apache.org/jira/browse/SOLR-2155 > > it works. > > OK, I would do that. But... > > Against which version can/should I apply the patch? (I am not > restricted by other requirements so far.) > > Then I tried both with the trunk and with 3.4.0-src, but I can't even > find the files the patch wants to modify. Some are moved, but others > don't exist. > > Some of the files mentioned in the patch can be > solr/src/java/org/apache/solr/search/QParserPlugin.java > => solr/core/src/java/org/apache/solr/search/QParserPlugin.java > > solr/src/test/org/apache/solr/search/SpatialFilterTest.java > => solr/core/src/test/org/apache/solr/search/SpatialFilterTest.java > > > lucene/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/MultiGeom.java > => not found at all. > > This was all for > "SOLR-2155_GeoHashPrefixFilter_with_sorting_no_poly.patch". > > For the file "Solr2155-for-1.0.2-3.x-port.patch", similar things > happen. E.g. "HaversineMultiConstFunction.java" isn't anywhere in the > 3.4.0 src tarball. > > What would I have to do in order to get any Solr version patched with 2155? > > Thanks! > > Marian > -- Sincerely yours Mikhail Khludnev Lucid Certified Apache Lucene/Solr Developer Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>