Commit Graph

11810 Commits

Author SHA1 Message Date
Uwe Schindler 7d5ad4b409 LUCENE-3595: do acceptDocs checking after matchDoc()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206155 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 13:28:32 +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
Simon Willnauer e2cddbfd43 fixed spelling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206070 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 07:59:57 +00:00
Uwe Schindler 2cf0c05869 LUCENE-3595: Fixed FieldCacheRangeFilter and FieldCacheTermsFilter to correctly respect deletions on reopened SegmentReaders. Factored out FieldCacheDocIdSet to be a top-level class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206033 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 01:21:53 +00:00
Uwe Schindler d03c59d685 Merged revision(s) 1206022 from lucene/dev/branches/branch_3x:
LUCENE-3594: Add CHANGES.txt because we have a small backwards break

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206023 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 00:12:19 +00:00
Simon Willnauer 94fae441e3 LUCENE-3593: Add a filter returning all document with at least one or no value in a field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206017 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 23:24:35 +00:00
Martijn van Groningen 9dd60fe58f LUCENE-3496: Support grouping by IndexDocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205960 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 19:07:59 +00:00
Uwe Schindler 8d7ed3549a LUCENE-3588: Missed NPE -> AlreadyClosedException in getFilePointer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205954 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 18:39:44 +00:00
Simon Willnauer 6bdb9f9f06 LUCENE-3591: Make BytesRef.copy[Int,Short,Long] package private for IndexDocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205937 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 17:20:35 +00:00
Robert Muir 145d6e8d92 rename the 3 bytesref.copy methods to avoid type promotion traps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205842 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 14:24:43 +00:00
Robert Muir 0ec321de3f LUCENE-3589: fix BytesRef.copy(short) to set its length and clean house on unused methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205836 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 14:09:56 +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
Uwe Schindler 1ba08eda03 * LUCENE-3588: Try harder to prevent SIGSEGV on cloned MMapIndexInputs: Previous versions of Lucene could SIGSEGV the JVM if you try to access the clone of an IndexInput retrieved from MMapDirectory. This security fix prevents this as best as it can by throwing AlreadyClosedException also on clones.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205430 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 15:13:50 +00:00
Simon Willnauer c83152ab64 SOLR-2911: add AS3ESS book to solr website
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205366 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 11:09:59 +00:00
Simon Willnauer 3238dc03dd SOLR-2911: add AS3ESS book to solr website
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205360 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 10:49:08 +00:00
Shalin Shekhar Mangar db391dfc79 SOLR-1565 -- StreamingUpdateSolrServer supports RequestWriter API and therefore, javabin update format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205342 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 09:39:54 +00:00
Uwe Schindler 28c464c658 LUCENE-3200: Add extra safety to MMapDirectory (as it could still use unmapped curBuf)!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205152 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 20:18:43 +00:00
Steven Rowe 0546719498 LUCENE-2621: remove instantiated contrib from IntelliJ IDEA configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205064 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 16:26:29 +00:00
Erik Hatcher 387c0c00dd Fix typo, adjust formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205056 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 16:12:46 +00:00
Erik Hatcher 55e3696965 SOLR-2607: Remove deprecated client/ruby. RIP solr-ruby and flare
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205054 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 16:04:57 +00:00
Uwe Schindler bf853de71a fix javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205021 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 14:40:55 +00:00
Uwe Schindler 01dbe51a3e Merged revision(s) 1204970 from lucene/dev/branches/branch_3x:
LUCENE-3464: Add javadocs about reopening FilterIndexReader

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204971 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 13:17:03 +00:00
Shalin Shekhar Mangar 25384f2098 SOLR-2904 -- Moving the changelog entry to the correct version 3.6 from 4.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204947 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 12:15:30 +00:00
Shai Erera abd95277d3 LUCENE-3583: LineDocSourceTest could still fail to delete some files - add more protection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204859 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 08:41:31 +00:00
Shai Erera cfe863797c LUCENE-3583: more safety changes to benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204851 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 08:14:50 +00:00
Shai Erera 67db0ed9d1 LUCENE-3583: port changes from 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204828 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 06:32:55 +00:00
Steven Rowe 705175cdcb LUCENE-3490: Maven configuration: put lucene-test-framework before lucene-core in the test classpath, via dependency ordering, to allow test-only read/write PreFlexRWCodec to fulfill Lucene3x codec requests instead of lucene-core's read-only Lucene3xCodec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204732 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 22:30:54 +00:00
Shai Erera b4f13d3915 port facet/userguide changes from 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204569 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 16:05:50 +00:00
Robert Muir baa92a6330 test javadocs in smoketester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204550 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 15:45:07 +00:00
Robert Muir 4656dfdb1e also check that loops are working in release candidates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204520 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 14:39:23 +00:00
Robert Muir abca92123b improve GPG checking to not emit bogus warning, and separately check trust
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204498 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 13:54:41 +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
Simon Willnauer 356fa5d137 preparing Lucene 3.5 release adding 3.6 constants and changes sections
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204451 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:27:57 +00:00
Uwe Schindler cc050e725a merge the backwards changes to trunk (currently unused, but we will need those later)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204439 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 10:37:21 +00:00
Uwe Schindler 66ab542f2f LUCENE-3448: Make optimization for OpenBitSetIterator correctly exhaust iterator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204416 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 09:46:30 +00:00
Christopher John Male 2a68764f72 SOLR-1123: Added Uri to Changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204336 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 03:16:58 +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
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