Commit Graph

11624 Commits

Author SHA1 Message Date
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
Robert Muir b649e35381 fix documentation, this works fine with compound file now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204271 13f79535-47bb-0310-9956-ffa450edef68
2011-11-20 21:49:18 +00:00
Robert Muir 4a7da8e14e LUCENE-3580: fix broken DISIs in contrib/memory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204145 13f79535-47bb-0310-9956-ffa450edef68
2011-11-20 10:14:15 +00:00
Michael McCandless df8ece84c2 add some missing methods to NRTMgr; add sugar ctor not taking ES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204009 13f79535-47bb-0310-9956-ffa450edef68
2011-11-19 16:15:08 +00:00
Uwe Schindler 4dc8f2c8b1 LUCENE-3582: Add javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203970 13f79535-47bb-0310-9956-ffa450edef68
2011-11-19 12:46:21 +00:00
Uwe Schindler eacfc1642d LUCENE-3582: Normalize NaN values in NumericUtils.floatToSortableInt() / NumericUtils.doubleToSortableLong(). Fix NumericRangeQuery to not falsely hit NaNs on half-open ranges (one bound is null)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203966 13f79535-47bb-0310-9956-ffa450edef68
2011-11-19 12:02:03 +00:00
Grant Ingersoll f91bf0bd48 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@1203842 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 21:09:10 +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 74076d2ce8 fix a few cases where we fail to close IO if we hit exc during init
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203398 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:32:32 +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
Yonik Seeley 5a3b635239 example: commit by maxDocs normally doesn't make sense - remove from example, update descriptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203257 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 16:43:09 +00:00
Robert Muir eec8c92f9d LUCENE-3580: fix TVs to obey DISI contract for docID() before next/advance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203216 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 15:20:50 +00:00
Robert Muir 4548a5d3a3 LUCENE-3580: add check to AssertingIndexSearcher that scorers obey DISI contract before next/advance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203206 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 14:45:23 +00:00
Robert Muir 4597d97e68 LUCENE-3580: fix postingsreaders to obey DISI contract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203190 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 13:58:59 +00:00
Simon Willnauer 87ac7de453 SOLR-2902: List of collations are wrong parsed in SpellCheckResponse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203114 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 08:55:10 +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
Doron Cohen 0780806efe LUCENE-3573: TaxonomyReader.refresh() was broken if taxonomy index recreated since taxo reader last opened or refreshed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202754 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 15:59:43 +00:00
Michael McCandless 0605da2de1 LUCENE-3575: remove sops / dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202718 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 14:28:34 +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
Shai Erera 5408d4d36c LUCENE-3579: DirectoryTaxonomyWriter should throw a proper exception if it was closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202593 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 08:56:31 +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
Michael McCandless f865f7935e LUCENE-3578: don't allow string field DocValue sort with SlowMultiReaderWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202394 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 19:36:27 +00:00
Michael McCandless d4c8f29e23 LUCENE-3572: throw exc if you try to sort by term/ord on doc values field, yet it exists but cannot provide a sorted source
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202384 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 19:17:08 +00:00
Simon Willnauer 54e30039cd fixed changes.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202157 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 12:32:31 +00:00
Simon Willnauer 0c11dd55d3 SOLR-1023: added Changes.txt entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202152 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 12:20:36 +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
Michael McCandless 6121b823ea LUCENE-3575: SegmentMerger sometimes thought bulk merge was safe when it wasn't
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201973 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 00:12:32 +00:00
Michael McCandless a7c9644098 add comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201971 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 00:03:08 +00:00
Ryan McKinley ea4f87fd25 SOLR-2877: Adding explicit map constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201900 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 21:09:01 +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
Robert Muir 5682889026 LUCENE-3533: nuke spanfilters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201787 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 17:02:30 +00:00
Steven Rowe f389654f9c SOLR-2382: Switch javadoc tag @solr.experimental to @lucene.experimental (the build's javadoc invocation does not include @solr.experimental, and @lucene.experimental is already used in many places in Solr's code)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201784 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 16:48:09 +00:00
Uwe Schindler c1f11fbb81 LUCENE-3574: Small fix: use the ident() hack to prevent inlining the constant into foreign class files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201758 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 15:46:04 +00:00
Uwe Schindler 627817bed3 Merged revision(s) 1201739 from lucene/dev/branches/branch_3x:
LUCENE-3574: Deprecate outdated constants in org.apache.lucene.util.Constants and add new ones for Java 6 and Java 7

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201741 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 15:08:57 +00:00
Michael McCandless 0a225a1cc2 can't sort by DocValues string field if reader is SlowMultiReaderWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201701 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 13:46:07 +00:00
Shai Erera 9dd296a662 LUCENE-3269: speed up facet tests by creating indexing once per testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201678 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 12:16:31 +00:00
Noble Paul e7294aab77 SOLR-2382 Support pluggable caching implementations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201659 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 10:27:51 +00:00
Simon Willnauer 97a1a647cc fix spelling error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201645 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 09:25:32 +00:00
Shai Erera 5a38782c85 simplify CategoryListIteratorTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201626 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 08:13:01 +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
Michael McCandless dbd48a72e4 LUCENE-3518: enable sorting by sorted source doc values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201440 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 15:26:36 +00:00
Robert Muir 2cdf3fa14d LUCENE-3314: disable check to prevent false fails and expand javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201393 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 02:12:56 +00:00
Uwe Schindler 82c51029f8 LUCENE-3205: Re-add missing extra test for empty enums, also fix distance, as only negative numbers were tested (because of reduced test document count)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201375 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 00:28:49 +00:00
Uwe Schindler 19b9b3c96f LUCENE-3205: Remove MultiTermQuery get/inc/clear totalNumberOfTerms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201329 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 21:13:20 +00:00
Michael McCandless c4be668e90 LUCENE-3454: add CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201266 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 14:09:54 +00:00
Simon Willnauer 36bb0c83ec fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201191 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 05:19:41 +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