Commit Graph

15850 Commits

Author SHA1 Message Date
James Dyer 5461ef1ac1 SOLR-3856: Improve tests for SqlEntityProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406231 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 17:24:40 +00:00
Chris M. Hostetter b6db7c76f1 SOLR-3904: progress adding package.html files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406204 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:17:50 +00:00
Simon Willnauer bf107c5026 LUCENE-4538: Cache DocValues DirectSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406153 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 14:43:57 +00:00
Alan Woodward d370453c58 SOLR-1972: Ignore metrics threads in more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406075 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 09:05:53 +00:00
Michael McCandless 37cdda05f5 LUCENE-4534: dedup same surface form in Analyzing/FuzzySuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405977 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 21:54:24 +00:00
Michael McCandless 2537836d4a LUCENE-4534: handle 0 byte values in lookup keys
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405960 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 21:17:11 +00:00
Michael McCandless b4728370c4 also set JAVACMD env var (sometimes ant uses only that and doesn't fallback to JAVA_HOME)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405956 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 21:13:08 +00:00
James Dyer f1a67f7cb0 SOLR-4019: Fix tests that are invalid due to logging change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405919 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 18:51:00 +00:00
James Dyer 5fb2789394 SOLR-4019: Ignore tests that are invalid due to logging change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405912 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 18:41:03 +00:00
James Dyer 3ea6657976 SOLR-4019: Log 503 stack traces unless from PingRequestHandler. Suppress logging some stack traces with ShowFileRequestHandler.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405893 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 17:39:30 +00:00
Michael McCandless 5c7afe05df use smaller index for TestSlowCollationMethods.testQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405892 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 17:37:31 +00:00
Adrien Grand 0889365744 LUCENE-4535: Make oal.util.FilterIterator an internal API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405655 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 22:22:32 +00:00
Adrien Grand 4c10042be4 LUCENE-4519: remove generics wildcards from the return types of IndexDocument methods.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405639 13f79535-47bb-0310-9956-ffa450edef68
2012-11-04 21:08:59 +00:00
Michael McCandless 463a478a11 LUCENE-4529: don't need to null first buffer ... it's done by Arrays.fill above
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405433 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 22:21:22 +00:00
Michael McCandless c870977ba2 LUCENE-4529: fix test bug, null out the first buffer in Int/ByteBlockPool on reset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405425 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 21:40:59 +00:00
Michael McCandless fb9f59e9ea don't create new Term() for every term flushed when there are deletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405420 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 21:30:00 +00:00
Michael McCandless 7897cff44c add TODOs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405368 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 15:48:46 +00:00
Robert Muir 9fccf241f6 add comments about scary stuff going on
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405365 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 15:43:24 +00:00
Michael McCandless 1ec302d68e remove invalid comment: I hadn't run the right perf test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405355 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 15:20:24 +00:00
Simon Willnauer bc17efbe57 LUCENE-4529: call default reset in TermsHash until we found the cause of the issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405300 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 07:21:53 +00:00
Steven Rowe af6044f434 StorableDocument -> StoredDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405239 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 00:25:59 +00:00
Simon Willnauer 0169bc707d improved exception messages in IndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405171 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 21:21:34 +00:00
Simon Willnauer 6118e284da LUCENE-4525: improve javadoc on ReferenceManager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405165 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 21:04:30 +00:00
Simon Willnauer 05aeaba5d5 add missing javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405146 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 20:31:36 +00:00
Adrien Grand 2dc54f0cef TestCompressingStoredFieldsFormat.testBigDocuments: use a FS dir.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405045 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 16:43:10 +00:00
Adrien Grand 52c7cf5870 LUCENE-4522: Remove CompressingStoredFieldsFormat.DISK_DOC.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405025 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 16:03:57 +00:00
Simon Willnauer 59476c30cf LUCENE-4515: Make MemoryIndex more memory efficient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404946 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 12:28:14 +00:00
Michael McCandless 31bb796317 fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404822 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 23:03:10 +00:00
Michael McCandless 6af650b43f cleanup TopNSearcher: don't copy same comparator instance in the paths
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404818 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 23:00:24 +00:00
Adrien Grand 3af2bcb68b LZ4: improve test coverage.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404541 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 11:18:11 +00:00
Simon Willnauer 344f8f07e1 test-bug - o f*** random testing kicks in
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404524 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 10:01:17 +00:00
Alan Woodward bebdb3707a LUCENE-4520: ValueSource.getSortField() shouldn't throw IOException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404523 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 09:53:34 +00:00
Adrien Grand bc80485d65 Fix test bug: over-allocation that causes an OOME.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404451 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 02:17:24 +00:00
Chris M. Hostetter fcee466184 More tests, written to try and demonstrate SOLR-4020
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404318 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 19:51:03 +00:00
Adrien Grand 9aa9a5abb4 LUCENE-4509: New tests to try to break CompressingStoredFieldsFormat...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404275 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 18:01:00 +00:00
Martijn van Groningen 2e103d3555 LUCENE-4513: Fixed that deleted nested docs are scored into the parent doc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404248 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 16:56:48 +00:00
Michael McCandless c898b44722 LUCENE-4521: make sure we commit new del file if tryDeleteDocument succeeds but IW has no other pending changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404229 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 16:22:53 +00:00
Adrien Grand 6c45b24b48 LUCENE-4512: Additional memory savings for CompressingStoredFieldsIndex.MEMORY_CHUNK.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404215 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 15:54:23 +00:00
Adrien Grand 4dc0972472 CompressingStoredFieldsFormat: s/uncompress/decompress/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404188 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 15:12:16 +00:00
Alan Woodward 85f92b37f3 SOLR-1972: Ignore metrics threads in JettyWebappTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404171 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 14:34:42 +00:00
Adrien Grand b607097f35 Document document size limit for CompressingStoredFieldsFormat.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404156 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 14:16:07 +00:00
Simon Willnauer d404fc7ad3 LUCENE-4511: TermsFilter might return wrong results if a field is not indexed or not present in the index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404129 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 13:22:03 +00:00
Alan Woodward cdbb28458e SOLR-1972: Ignore metrics threads in ResourceLoaderTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404047 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 09:14:39 +00:00
Dawid Weiss 847bb71cdf SOLR-4007: Morfologik dictionaries not available in Solr field type
due to class loader lookup problems. (Lance Norskog, Dawid Weiss)



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404042 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 09:04:04 +00:00
Dawid Weiss f8d37b166f Pass tests.timeoutSuite to junit4 if defined on command line or in user properties. This can be used to lower (or increase) the default timeout value. Example: -Dtests.timeoutSuite=5000! (5 seconds, note the exclamation mark -- this means to override the annotation defaults).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404033 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 08:40:30 +00:00
Erick Erickson 99a7dbb949 Fixed a test case that was broken in Java7 by SOLR-1028
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403936 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 23:54:25 +00:00
Alan Woodward 9af47143be Clean up after XMLUpdateRequestHandlerTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403803 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:50:19 +00:00
Tommaso Teofili 52ef9d2752 [LUCENE-4345] - adding kNN score as count / k but no need to retrieve it from the map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403799 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:42:37 +00:00
Tommaso Teofili 010c5f8d98 [LUCENE-4345] - adding kNN score as count / k for the most frequent class in results
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:41:32 +00:00
Robert Muir 87f549a1f8 LUCENE-4514: Make Scorer.freq() well defined: number of matches in doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403782 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 17:05:33 +00:00