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
Erik Hatcher
a668ecf43b
Fix spelling typo: s/invarient/invariant
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197824 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 23:51:52 +00:00
Robert Muir
fa6500fa6c
LUCENE-3490: restructure codec hierarchy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197603 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 15:43:35 +00:00
Robert Muir
369a07a196
LUCENE-3557: SpellChecker should take IWC, remove sneaky silent optimize() methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197469 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:54:55 +00:00
Robert Muir
38fa222128
LUCENE-3559: remove IndexSearcher.maxDoc/docFreq
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197458 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:35:15 +00:00
Martijn van Groningen
19765406b6
SOLR-2591: Remove commitLockTimeout option from solrconfig.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197154 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:38:13 +00:00
Mark Robert Miller
4f333721df
harden test against slow/busy computers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196811 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 21:30:52 +00:00
Yonik Seeley
d515ff3d9e
SOLR-2861: NRT test, debugging improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196797 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 21:02:17 +00:00
Mark Robert Miller
8125422e60
SOLR-2565: reenable AutoCommitTest but move tests with soft commit to new test class that tests with a better method - likely some hardening tweaks still needed, but a the start of a large improvement.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196589 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 14:01:26 +00:00
Chris M. Hostetter
c28be02238
SOLR-2715: add reason for @Ingore to @Ignore msg
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196156 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 17:41:13 +00:00
Robert Muir
55ad4c6be1
SOLR-2276: fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1195101 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 03:13:12 +00:00
Robert Muir
d5601eb371
SOLR-2276: Support for cologne phonetic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1195082 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 01:00:06 +00:00
Yonik Seeley
36962d9a9e
SOLR-2861: use searcherLock in getIndexDir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1190107 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 01:07:47 +00:00
Erik Hatcher
ff8796e5ef
SOLR-2718: allow for lazy loaded response writers; clean up test hack for VelocityResponseWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189958 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 19:30:48 +00:00