Robert Muir
993488ea07
LUCENE-3040: three more missed cases of tokenStream->reusableTokenStream
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102827 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 17:50:33 +00:00
Robert Muir
5669d283ff
LUCENE-3040: analysis consumers should use reusable tokenstreams
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102817 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 17:13:19 +00:00
Koji Sekiguchi
0ec6d7a81b
SOLR-2512: add ignoreErrors flag so that users can ignore exceptions in AE.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102785 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 15:12:53 +00:00
Grant Ingersoll
ed573a067b
SOLR-2511: slight refactoring to make it easier to override
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102718 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 13:34:18 +00:00
Uwe Schindler
c678de49ee
LUCENE-3082: Fix javadocs and add Version parameter to ctor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102658 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 10:47:30 +00:00
Simon Willnauer
3a9eae5a28
LUCENE-2984: Move hasVectors() & hasProx() responsibility out of SegmentInfo to FieldInfos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102476 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 21:51:19 +00:00
Michael McCandless
07adbebc44
LUCENE-3058: allow FST to map single input to more than one output; add concrete outputs impl that supports 1 or 2 ints
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102384 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 17:13:30 +00:00
Michael McCandless
33eb3e534e
LUCENE-3087: fix highlighter case that prevented highlighting exact phrase when tokens overlap
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102377 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 16:54:45 +00:00
Robert Muir
858aa929c4
LUCENE-3064: add checks to MockTokenizer to enforce proper consumption
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102290 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 13:32:32 +00:00
Dawid Weiss
6ef7db2eaa
Reversing in place rewritten slightly. Seems more intuitive to me now.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102205 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 08:41:10 +00:00
Robert Muir
a871b29ed6
LUCENE-3086: add ElisionFilter to ItalianAnalyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102120 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 22:43:54 +00:00
Robert Muir
b3bb2aa0ac
fix 3.x section of CHANGES.txt to be accurate
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102119 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 22:37:16 +00:00
Yonik Seeley
02bc22d21a
SOLR-2496: add array-of-object JSON format and commitWithin, overwrite request params
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1102058 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 20:02:54 +00:00
Michael McCandless
e4f9bfdd06
LUCENE-3084, LUCENE-1076: update trunk CHANGES
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101584 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 18:29:35 +00:00
Michael McCandless
4d48083664
LUCENE-3084: cutover to List<SegmentInfo> not SegmentInfos for MergePolicy.OneMerge.segments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101574 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 18:07:01 +00:00
Michael McCandless
673cef5639
fix false test failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101572 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 18:02:06 +00:00
Robert Muir
a7418eb206
MockDirectoryWrapper should randomly swap in ThrottledIndexOutput
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101539 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 16:45:57 +00:00
Robert Muir
303ff3928f
vary readBufferSize in MockRandomCodec
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101520 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 16:01:17 +00:00
Steven Rowe
0394a540de
native eol style
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101435 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 12:36:11 +00:00
Grant Ingersoll
9a34849ecc
SOLR-2502: missed compName
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101159 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 19:25:46 +00:00
Grant Ingersoll
c58d788ab2
SOLR-2384: add all fields info in debug mode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101136 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 18:30:14 +00:00
Grant Ingersoll
73a31645eb
SOLR-2502: put in start of Join example
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101131 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 18:17:46 +00:00
Uwe Schindler
b9ed3274f0
Add code to build 3.1 compressed test indexes for upgrade test in 3.2+ and trunk; cleanup code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101107 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 16:46:26 +00:00
Uwe Schindler
600a50bb2a
LUCENE-3082: Added index upgrade tool oal.index.IndexUpgrader that allows to upgrade all segments to last recent supported index format without fully optimizing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101088 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 16:17:40 +00:00
Steven Rowe
b12ed71c4e
fix typo; add vertical whitespace between sections
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101084 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 16:09:28 +00:00
Steven Rowe
393239e06b
LUCENE-3081: Document Maven nightly builds, artifact generation, and using Maven to build Lucene/Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101072 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 15:45:27 +00:00
Michael McCandless
ce7da76d16
LUCENE-3083: MockRandomMergePolicy should respect segmentsToOptimize (tests-only bug)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101056 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 15:17:33 +00:00
Koji Sekiguchi
b30e4e4ec8
SOLR-2503: feature value map to dynamicField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1101047 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 14:56:01 +00:00
Simon Willnauer
1d842018fc
LUCENE-3077: DWPT doesn't see changes to DW#infoStream
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100896 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 06:41:09 +00:00
Uwe Schindler
400639f54e
LUCENE-3065, SOLR-2497: When a NumericField is retrieved from a Document loaded from IndexReader (or IndexSearcher), it will now come back as NumericField. Solr now uses NumericField solely (no more magic).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100526 13f79535-47bb-0310-9956-ffa450edef68
2011-05-07 13:14:38 +00:00
Uwe Schindler
350cafab80
It was no longer possible to create the backwards test indexes, because they were automatically deleted directly after test and also their name was unreadable.
...
The method to create backwards indexes is never called for normal test runs, only when you explicitly enable the commented-out code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100495 13f79535-47bb-0310-9956-ffa450edef68
2011-05-07 09:52:47 +00:00
Koji Sekiguchi
9c8fb85445
SOLR-2436: forgot to fix mapping definition in README.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100437 13f79535-47bb-0310-9956-ffa450edef68
2011-05-07 03:36:40 +00:00
Koji Sekiguchi
1a45ff9817
SOLR-2436: fix mapping definition
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100435 13f79535-47bb-0310-9956-ffa450edef68
2011-05-07 03:23:00 +00:00
Michael McCandless
3a0d3e01bd
fix false test failure (force docid-preserving merging)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100408 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 22:25:31 +00:00
Robert Muir
77691f17d0
remove dead code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100329 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 18:57:39 +00:00
Robert Muir
2507c42b3c
remove dead code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100310 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 18:16:14 +00:00
Uwe Schindler
6b819e1bde
Fix some minor unchecked warnings only visible with Eclipse compiler, also suppress raw warning
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100305 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 18:06:00 +00:00
Uwe Schindler
78e553d270
LUCENE-3078: one more Generics Police ticket
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100291 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 17:26:10 +00:00
Uwe Schindler
e555950a3e
LUCENE-3078: Generics police imposition
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100239 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 14:45:57 +00:00
Robert Muir
2f75783026
LUCENE-3076: add -Dtests.codecprovider
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100175 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 11:42:24 +00:00
Simon Willnauer
826b1d32bd
added missing synchronization to flushAllThread to check and set DWPT flushPending atomically
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1100103 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 06:46:31 +00:00
Ryan McKinley
96878534a0
LUCENE-3071: Add ReversePathHierarchyTokenizer and enable skip on PathHierarchyTokenizer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099999 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 23:30:05 +00:00
Steven Rowe
6af8928c95
Compilation of the Solr-core module under the Maven build has been broken since SOLR-2378 was committed on April 14th (the Google Guava dependency was declared with <scope>test</scope>, but SOLR-2378 uses it in non-test classes). The fix: remove the test scope declaration on the dependency, so that it is also a non-test dependency.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099865 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 16:32:50 +00:00
Robert Muir
e93254e829
LUCENE-3073: make CompoundFileWriter public
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099745 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 10:06:41 +00:00
Steven Rowe
bde0e76eab
Fixed jar output directories, from David Smiley
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099620 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 22:02:33 +00:00
Yonik Seeley
be2382efb7
SOLR-2495: json parser could hang on corrupted input and fail to detect long overflow
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099582 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 20:07:19 +00:00
Robert Muir
6c72ae4a02
LUCENE-3072: add LUCENE-2811 change to fileformats.html
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099529 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 17:25:29 +00:00
Uwe Schindler
8b32176c0b
SOLR-2493: SolrQueryParser was fixed to not parse the SolrConfig DOM tree on each instantiation which is a huge slowdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099340 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 07:05:47 +00:00
Michael McCandless
9fdf96c92b
fix stale javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099211 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 19:13:26 +00:00
Uwe Schindler
11e962d16b
LUCENE-3054: fix remaining quickSort
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099041 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 13:07:24 +00:00