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
Yonik Seeley
422f8dea4a
docs: use unix and windows paths in readme
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099039 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 12:46:39 +00:00
Ryan McKinley
294156cbfc
SOLR-2485: remove BaseResponseWriter and Generic*Writer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098905 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 04:57:12 +00:00
Robert Muir
4455345c6e
LUCENE-3063: factor CharTokenizer/CharacterUtils into analyzers module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098871 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 00:29:47 +00:00
Ryan McKinley
e5256e71e2
SOLR-2484: make SynonymFilterFactory more extensible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098860 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 23:36:16 +00:00
Ryan McKinley
aa102b38b7
SOLR-2484: make SynonymFilterFactory more extensible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098800 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 21:40:26 +00:00
Michael McCandless
fd0701bf4e
LUCENE-3029: MultiPhraseQuery scores should not depend on docID
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098782 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 20:39:26 +00:00
Chris M. Hostetter
abc9be2eef
SOLR-2467: Fix <analyzer class="..." /> initialization so any errors are logged properly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098760 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 19:38:20 +00:00
Michael McCandless
60e5f02062
LUCENE-3059: don't leak memory in TermState for pulsing/sep codecs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098741 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 19:09:55 +00:00
Michael McCandless
ab33f1b258
LUCENE-3051: don't call SegmentInfo.sizeInBytes for merging segments (it's not thread safe)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098740 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 19:06:29 +00:00
Michael McCandless
cb3257aed3
LUCENE-3023: add Python script to diff two source trees
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098730 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 18:53:40 +00:00
Uwe Schindler
679cfee191
LUCENE-3054: PhraseQuery can in some cases stack overflow in SorterTemplate.quickSort(). This fix also adds an optimization to PhraseQuery as term with lower doc freq will also have less positions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098633 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 15:47:38 +00:00
Simon Willnauer
11bed874c2
LUCENE-3062: Fix test to be more tolerant and accept duplicates generated by randomRealisticUnicodeString
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098625 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 15:23:22 +00:00
Uwe Schindler
744840f141
LUCENE-3023: Fix quicksort re-incarnation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098592 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 14:22:22 +00:00
Shai Erera
fda913a790
LUCENE-3061: Open IndexWriter API to allow custom MergeScheduler implementation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098576 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 14:00:43 +00:00
Robert Muir
a75e5282c7
collation tests: try to find less jre bugs and just test thread safety
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098532 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 12:03:14 +00:00
Simon Willnauer
0b5ba4404c
LUCENE-3023: fixed TestFlushByRamOrCountsPolicy test-case and removed uncommented leftovers from RT branch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098504 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 07:19:57 +00:00
Robert Muir
c096f2e1e6
LUCENE-3023: clear javadocs errors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098461 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 02:31:01 +00:00
Uwe Schindler
2a969f828c
LUCENE-3023: Land DWPT on trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098427 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 22:38:33 +00:00
Simon Willnauer
0528549d17
LUCENE-3057: removed false return statement
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098375 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 17:43:30 +00:00
Simon Willnauer
d3c5769911
LUCENE-3057: LuceneTestCase#newFSDirectoryImpl misses to set LockFactory if ctor call throws exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098367 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 16:55:13 +00:00
Robert Muir
c64646f1aa
LUCENE-3053: don't wrap the IIR with SlowMultiReaderWrapper, this realtime functionality is not compatible with multireader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098357 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 15:41:57 +00:00
Michael McCandless
43a9b349de
false test failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098347 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 14:58:18 +00:00
Robert Muir
d622e54172
LUCENE-3053: improve test coverage for Multi*
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098303 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 13:53:04 +00:00
Michael McCandless
a47d4b835b
LUCENE-3052: missing sync in private (test only) codec
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097848 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 15:42:30 +00:00
Robert Muir
b8bec47630
merge trunk (1097442:1097764)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097767 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 11:03:16 +00:00
Simon Willnauer
b33ec26192
LUCENE-3023: added changes.txt entry for DWPT LUCENE-2956, LUCENE-2573, LUCENE-2324, LUCENE-2555
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097759 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 10:20:06 +00:00
Simon Willnauer
242b87f414
LUCENE-3023: re-added accidentially removed deprecations from LUCENE-2555
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097739 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 09:19:30 +00:00
Michael McCandless
9f2affb665
LUCENE-2814: advertise trunk-only BW break
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097733 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 08:51:36 +00:00
Michael McCandless
fe1a1fbdec
fix false test failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097627 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 21:49:41 +00:00