David Wayne Smiley
55d46dc6d3
LUCENE-6196: Reformat code. Removed System.err & legacy comments in test. Fixed test compile warning.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1677595 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 13:19:02 +00:00
David Wayne Smiley
1b901cab9a
LUCENE-6196: committing Karl's latest patch
...
https://reviews.apache.org/r/33780/ (diff #1 )
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1677527 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 05:26:52 +00:00
David Wayne Smiley
c561d376bc
LUCENE-6196: committing Karl's latest patch
...
https://reviews.apache.org/r/33509/ (diff #6 )
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1677205 13f79535-47bb-0310-9956-ffa450edef68
2015-05-01 18:49:49 +00:00
David Wayne Smiley
40daf30a83
LUCENE-6196 testRelateWithRectangle shouldn't print last shape relation when we fail due to too few predicate occurrences.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1675777 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 05:17:51 +00:00
David Wayne Smiley
e2d559d75a
LUCENE-6196: committing Karl's latest patch
...
https://reviews.apache.org/r/33476/ (diff #2 )
Addresses getBoundingBox issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1675747 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 02:19:16 +00:00
David Wayne Smiley
662c3d8634
LUCENE-6196: Geo3dShapeTest -> Geo3dShapeRectRelationTest and complete testing of the 4 shape types
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1675386 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 15:40:36 +00:00
David Wayne Smiley
c2deaeb066
LUCENE-6196: RectIntersectionTestHelper: fix to work with testing rectangles, and more clearly test when the shape.getBoundingBox may be faulty
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1675385 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 15:37:41 +00:00
David Wayne Smiley
1242bf1519
LUCENE-6196: committing Karl's latest patch
...
https://reviews.apache.org/r/33353/ (diff #9 ) https://reviews.apache.org/r/33353/diff/raw/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1675374 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 14:47:00 +00:00
David Wayne Smiley
bf74c72eb2
Port RectIntersectionTestHelper (and TestLog and RandomizedShapeTest) from Spatial4j. Add Geo3dShapeTest, initially added GeoCircle; others are TBD. Test fails.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1674845 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 13:40:54 +00:00
David Wayne Smiley
c3a4ee1c3b
committing Karl's latest LUCENE-6196-fixes.patch (plus my test failures)
...
https://reviews.apache.org/r/33268/diff/raw/
WIP; tests fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1674732 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 04:31:29 +00:00
David Wayne Smiley
b2c273fa7a
committing Karl's latest LUCENE-6196-fixes.patch
...
https://issues.apache.org/jira/secure/attachment/12725741/LUCENE-6196-fixes.patch
WIP; tests fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1674049 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 11:51:41 +00:00
David Wayne Smiley
400c39bac7
committing Karl's latest
...
WIP; tests fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1673751 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 13:09:20 +00:00
David Wayne Smiley
bde056c763
LUCENE-6196: Geo3d initial checkin
...
Deltas from Karl's first upload: change of package, some hashCode() impls, a few toString() impls, some javadoc formatting. New Geo3dRtTest. Geo3dShape throws an exception if not geo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1673165 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 12:01:38 +00:00
David Wayne Smiley
45d453b76e
geo3d
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1673163 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 11:51:59 +00:00
Yonik Seeley
dedf2be833
SOLR-7110: reformat new code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673161 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 11:39:56 +00:00
Noble Paul
185f8ea2c6
SOLR-7110: Optimize JavaBinCodec to minimize string Object creation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673149 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 10:32:04 +00:00
Adrien Grand
69af3beaed
LUCENE-6409: Fixed integer overflow in LongBitSet.ensureCapacity.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673123 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 07:13:59 +00:00
Adrien Grand
8fe8e84278
LUCENE-6416: BooleanQuery.extractTerms now only extracts terms from scoring clauses.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673120 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 07:01:29 +00:00
Adrien Grand
9b060c407e
LUCENE-6415: Make TermsQuery.extractTerms a no-op instead of throwing an UOE.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673118 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 06:40:38 +00:00
Shalin Shekhar Mangar
2c9ae41b78
SOLR-7381: Improve logging by adding node name in MDC in SolrCloud mode and adding MDC to all thread pools
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673116 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 06:09:53 +00:00
Robert Muir
e186b220d3
fix slowness of TestFSTs and factor out monster test from TestTimSorter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673104 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 04:58:16 +00:00
Robert Muir
0fc8b68711
fix slow parameters in test (just behave that way during NIGHTLY)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673098 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 04:29:15 +00:00
Robert Muir
866a0bbcb1
add a few more spans tests and fix bug in positions check
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673093 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 03:55:12 +00:00
Uwe Schindler
9bc70ac037
LUCENE-6420: Update forbiddenapis to v1.8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673077 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 00:14:28 +00:00
Michael McCandless
8332668279
LUCENE-5879: fix ob1 that caused OOME in test when min and max auto-prefix terms was 2; attempt to simplify empty string case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673075 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 22:43:15 +00:00
Robert Muir
b84749fe51
LUCENE-6411: don't expect test filter to have a factory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673071 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 22:17:20 +00:00
Robert Muir
b737186489
LUCENE-6411: improve spans tests, wrap with asserting at every level, cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673066 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 21:39:34 +00:00
Robert Muir
ddf0c1d231
LUCENE-6418, LUCENE-6411: add AssertingSpans and fix the bugs it found
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673036 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 18:24:14 +00:00
Robert Muir
113d6c7c8f
LUCENE-6394: Add two-phase support to SpanNotQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673016 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 15:07:24 +00:00
Michael McCandless
607c87a66b
LUCENE-5879: fix finite case of Automata.makeBinaryIterval, improve tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673009 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 13:29:01 +00:00
Noble Paul
9ba13dea31
SOLR-7380: SearchHandler should not try to load runtime components in inform()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673007 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 13:24:23 +00:00
Shalin Shekhar Mangar
b3660ae4ed
SOLR-7362: Added @BadApple annotation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672991 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 08:41:31 +00:00
Michael McCandless
ad5ede168f
LUCENE-5989: fix CHANGES entry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672843 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 07:47:11 +00:00
Shalin Shekhar Mangar
1e21a487d1
Fix typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672828 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 05:14:40 +00:00
Shalin Shekhar Mangar
a382e6f61f
SOLR-7372: Limit memory consumed by LRUCache with a new 'maxRamMB' config parameter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672811 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 04:23:31 +00:00
Michael McCandless
249d0d25fe
LUCENE-5989: allow passing BytesRef to StringField to make it easier to index arbitrary binary tokens
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672781 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 22:24:46 +00:00
David Wayne Smiley
09ddb7d912
LUCENE-6399: Benchmark's QueryMaker.resetInputs should call setConfig
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672742 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 20:04:22 +00:00
David Wayne Smiley
489f56def8
LUCENE-5579: CompositeSpatialStrategy (RPT + SDV) with optimized Intersect
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672736 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 19:51:58 +00:00
David Wayne Smiley
94ad565747
LUCENE-5579: ConstantScoreWeight is now public
...
but marked @lucene.internal
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672730 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 19:04:37 +00:00
David Wayne Smiley
6a8bd4c2c3
LUCENE-5579: BitDocIdSet.Builder.isDefinitelyEmpty()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672727 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 18:57:23 +00:00
Michael McCandless
6f1b9bb79a
LUCENE-6315: simplify the private iterator Lucene uses when resolving deleted terms -> docids
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672710 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 17:33:33 +00:00
Jan Høydahl
de61fa6f3c
SOLR-7369: AngularJS UI insufficient URLDecoding in cloud/tree view
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672637 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 12:59:03 +00:00
Varun Thacker
3464197249
SOLR-6637: can't assume a local filesystem when dealing with paths
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672620 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 11:52:43 +00:00
Ryan McKinley
a2d29b8e12
Merged revision(s) 1672531 from lucene/dev/branches/branch_5x:
...
SOLR-7373: let AbstractSpatialFieldType set the context
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672533 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:38:22 +00:00
Ryan McKinley
6bed01b2ae
Merged revision(s) 1672518 from lucene/dev/branches/branch_5x:
...
SOLR-7164: update lucene field also
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672532 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:37:50 +00:00
Steven Rowe
5934ea0901
maven config: upgrade maven-bundle-plugin from 2.3.7 & 2.4.0 to 2.5.3, to allow the bundle-manifest goal either to succeed or to obey the skip configuration - this was causing java.lang.ArrayIndexOutOfBoundsException: 18
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672474 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 20:24:04 +00:00
Steven Rowe
0f88bb7f9c
LUCENE-6339: Maven config: add resource dir src/resources/ to the POM.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 19:07:42 +00:00
Yonik Seeley
858718d17a
SOLR-7371: don't cache size for now and tolerate small alignment errors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672421 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 16:52:16 +00:00
Shalin Shekhar Mangar
c400bde439
SOLR-7371: Fix NPE when scores are null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672402 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:49:12 +00:00
Shalin Shekhar Mangar
32c78bc382
SOLR-7371: Make DocSet implement Accountable to estimate memory usage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672391 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:10:17 +00:00