Robert Muir
3899e18ca3
LUCENE-3640: Remove IndexSearcher.close
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213117 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 00:21:40 +00:00
Uwe Schindler
764059147f
LUCENE-3633: Remove code duplication in MultiReader and DirectoryReader; make everything finally final :-)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212844 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 19:00:13 +00:00
Martijn van Groningen
8a4104be28
SOLR-2955: Fixed IllegalStateException when querying with group.sort=score desc in sharded environment.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212420 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:49:03 +00:00
Uwe Schindler
a363e9b564
LUCENE-3606: Merge up to trunk r1212007
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1212008 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 18:01:13 +00:00
Grant Ingersoll
97b40049d0
SOLR-1730: Hook in handling of bad cores, failure of QEC to load, add in test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1211827 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 11:09:47 +00:00
Uwe Schindler
13294b07cc
Merge to trunk r1211584
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211591 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 18:49:18 +00:00
Erick Erickson
b89ded1448
Fix for SOLR-2509 (IndexOutOfBoundsException in Spellcheck Component/Collation)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1211456 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 14:42:16 +00:00
Robert Muir
af5cd523d4
LUCENE-3606: merge trunk to r1211182
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211200 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 22:04:55 +00:00
Robert Muir
caedbf9ef9
LUCENE-3606: clear up some nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211005 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 16:36:41 +00:00
Chris M. Hostetter
3fc07698f3
SOLR-2935: Better docs for numeric FieldTypes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1210714 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 23:49:57 +00:00
Uwe Schindler
559205883f
LUCENE-3606: Clean up IR.open(...) methods to no longer accept readOnly and IndexDeletionPolicy: Core, Contrib, Solr (Modules need fixing, benchmark was broken before, too)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1210305 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 01:41:38 +00:00
Michael McCandless
961b820e53
LUCENE-2929: specify up front if you need freqs from DocsEnum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1210176 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 18:50:58 +00:00
Yonik Seeley
ab1b26f162
update noggit to r1209632
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1209714 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 21:53:23 +00:00
Dawid Weiss
92de7e8848
SOLR-2888: FSTSuggester refactoring: internal storage is now UTF-8,
...
external sorting (on disk) prevents OOMs even with large data sets
(the bottleneck is now FST construction), code cleanups and API cleanups.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1209265 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 21:49:27 +00:00
Uwe Schindler
21989c90c2
Commit LUCENE-3598 to not corrumpt Robert's work on Default*: Improve InfoStream class in trunk to be more consistent with logging-frameworks like slf4j/log4j/commons-logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1209059 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 12:52:20 +00:00
Robert Muir
21b7c5bbee
LUCENE-3584: make bulk postings codec private
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208283 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 05:19:35 +00:00
Chris M. Hostetter
2337f4687f
LUCENE-3599: Fix DistanceUtils.haversine() javadocs -- were incorrectly stating the expected order of the arguments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208118 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 22:38:08 +00:00
Chris M. Hostetter
afc71a72a6
SOLR-2861: remove inadvertant & unneeded import statement from SolrCore, and revert r1197205 that enabled maven to compile with this mistake
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208022 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 18:44:03 +00:00
Simon Willnauer
9a513f82dc
LUCENE-3592: Make BytesRef#startsWith & BytesRef#endsWith static
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207564 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:15:17 +00:00
Robert Muir
4dd6b5fbed
SOLR-2919: Localized rangequery support for icu/jdk collation filters, parametric tailoring for icu collators
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207070 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 11:03:24 +00:00
Erick Erickson
c94c1c5a64
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206767 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 17:04:38 +00:00
Erick Erickson
098371446a
SOLR-2438, allow an analysis chain to be created for multiterm query terms or synthesize one if not defined explicitly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206229 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 15:46:26 +00:00
Robert Muir
7f766cf603
LUCENE-3590: nuke BytesRef.utf8ToChars
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206174 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 13:55:41 +00:00
Robert Muir
3b6da22aa7
LUCENE-3590: clearly mark bogus deep-copying apis in BytesRef
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206143 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 12:50:13 +00:00
Shalin Shekhar Mangar
44fc56dc92
SOLR-2912 -- Fixed File descriptor leak in ShowFileRequestHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205774 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 10:11:06 +00:00
Shalin Shekhar Mangar
20a43ad9dc
SOLR-2904 -- BinaryUpdateRequestHandler should be able to accept multiple update requests from a stream
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204453 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:32:53 +00:00
Christopher John Male
f55c72f928
SOLR-1123: Changed JSONResponseWriter content-type to be application/json by default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204327 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 02:50:39 +00:00
Grant Ingersoll
00f5fef162
SOLR-2037: hook in DocTransformer for QueryElevationComponent to mark documents that have been boosted
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203839 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 21:07:13 +00:00
Michael McCandless
5267d23d46
LUCENE-3577: rename IW.expungeDeletes -> IW.forceMergeDeletes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203756 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 17:27:04 +00:00
Michael McCandless
9e27723b37
LUCENE-3562: stop caching thread-private TermsEnums in Terms
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203294 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 17:35:42 +00:00
Chris M. Hostetter
2a94133a2c
SOLR-2578: ReplicationHandler's backup command now supports a 'numberToKeep' param that can be used to delete all but the most recent N backups.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202969 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 01:33:21 +00:00
Robert Muir
873f199924
LUCENE-2621: move TermVectors,FieldInfos,SegmentInfos to codec
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202842 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:09:35 +00:00
Robert Muir
598920d7bd
LUCENE-3571: nuke IndexSearcher(Directory)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202657 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 12:19:41 +00:00
Chris M. Hostetter
3508d03220
SOLR-2813: Fix HTTP error codes returned when requests contain strings that can not be parsed as numbers for Trie fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202499 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 01:27:26 +00:00
Yonik Seeley
67478264b5
SOLR-2895: call commit tracker after doc is added
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202428 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 21:26:54 +00:00
Simon Willnauer
25731ea3f7
SOLR-2895: call CommitTracker#addedDocument after document is added
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202107 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 09:28:46 +00:00
Ryan McKinley
04a9b55618
SOLR-1023: StatsComponent can now support dates (and other non-numeric fields)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201855 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 19:58:04 +00:00
Erick Erickson
4145656bb5
Adding date tests to SOLR-2134
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201484 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 19:29:17 +00:00
Simon Willnauer
03cc612036
LUCENE-2822: prevent TimeLimitedCollector from starting a statically referenced thread
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201165 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 02:22:06 +00:00
Michael McCandless
fd447cbaff
fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201058 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 21:27:22 +00:00
Michael McCandless
19889d6873
LUCENE-3454: rename IW.optimize -> IW.forceMerge
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201036 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 19:50:51 +00:00
Michael McCandless
5200e8e38f
LUCENE-3443: port 3.x's FieldCache.getDocsWithField to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200480 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 19:13:50 +00:00
Yonik Seeley
32bfbfe380
add more asserts to catch EOF, ensure that tlog files start at pos 0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200438 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 17:23:42 +00:00
Robert Muir
edb422e30b
SOLR-2848: fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200373 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:18:19 +00:00
Robert Muir
b97d321f82
SOLR-2848: generalize distributed spellcheck code to work with any SolrSpellChecker
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200266 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 10:54:46 +00:00
Robert Muir
7877d1ff07
LUCENE-2621: fix codec to own the filenames and merging of stored fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1199779 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:52:33 +00:00
Yonik Seeley
6ab4c631ca
SOLR-2861: retry if channel read returns 0 bytes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1199013 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 23:38:08 +00:00
Yonik Seeley
0d05013d86
SOLR-2861: add additional asserts to catch read past EOF that jenkins sees
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1198999 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 23:12:21 +00:00
Koji Sekiguchi
ea56fff8f6
SOLR-1926: add hl.q parameter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1198778 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 15:26:49 +00:00
Erick Erickson
130ec534c5
Fix for SOLR-2829. False-positives on cache hits.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1198024 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 19:20:37 +00:00