Commit Graph

7969 Commits

Author SHA1 Message Date
Chris M. Hostetter 220f9ee81c revert the static boolean checkFieldCacheSanity that yonik added for SOLR-1875. since it's in the base class it's dangerous if some test class sets it to false and never sets it back to true. added additional comments to where assertSaneFieldCaches is called so that if people run into the same situation yonik did in hte future they'll see how to deal with it (either by refactoring, or by using purgeFieldCache)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939889 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 00:50:24 +00:00
Chris M. Hostetter 3a29adfc6e restructure test so that field cache sanity checking can still be used (some methods use the field cache in differnet ways, but each logical piece of functioanlity tested by a test method should be using it consistently)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939887 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 00:39:40 +00:00
Michael McCandless a7659e55ef jdoc improvement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939746 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 17:23:14 +00:00
Shai Erera 9f2cd93b93 LUCENE-2417: changed IndexCommit methods to abstract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939649 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 12:07:19 +00:00
Michael McCandless bb69d0f207 LUCENE-2424: fix silly bug in FieldDoc.toString
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939611 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 09:50:46 +00:00
Yonik Seeley 90526f0ea1 SOLR-1875: Per-segment field faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939339 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 15:13:59 +00:00
Robert Muir c6e8519b51 LUCENE-2419: improve parallel tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939111 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 22:08:59 +00:00
Shai Erera c6e0e86acc LUCENE-2417: Fix IndexCommit hashCode() and equals() to be consistent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@938989 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 15:07:46 +00:00
Chris M. Hostetter 1e7165f73d SOLR-571: autowarmCount on SolrCaches now supports relative percentages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@938708 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 22:40:55 +00:00
Shai Erera c3a253ad9c LUCENE-2416: changed NORMALIZER (Pattern) to ThreadLocal, since it was left un-synced
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@938646 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 20:58:02 +00:00
Shai Erera 8dccdd7679 LUCENE-2416: Some improvements to Benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@938582 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 17:59:45 +00:00
Koji Sekiguchi af96066c27 SOLR-1887: add warning log when hl.useFastVectoryHighlighter=true specified on the field that termPositions or termOffsets are not stored.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@937579 13f79535-47bb-0310-9956-ffa450edef68
2010-04-24 02:36:50 +00:00
Chris M. Hostetter 01def23422 simple null check: SolrCore isn't garunteed to havea CoreDescriptor, and CoreDescriptor doesn't have to have a CoreContainer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@937529 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 21:43:41 +00:00
Uwe Schindler c32bb32ce1 LUCENE-2415: Use reflection instead of a shim class to access Jakarta Regex prefix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@937360 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 16:43:50 +00:00
Robert Muir f1b979721a LUCENE-2409: Add ICUTransformFilter to support ICU transforms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@937039 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 19:55:31 +00:00
Michael McCandless e5e05ae8ba improve flex javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936829 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 13:16:28 +00:00
Robert Muir e48349b757 modify example to be more performant
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936726 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 10:14:09 +00:00
Robert Muir bc32989b04 add an example showing how to control back compat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936724 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 10:09:25 +00:00
Robert Muir 9d1de14c75 enhance contrib/icu documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936700 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 09:52:01 +00:00
Robert Muir 3599d0c60b LUCENE-1343: Add ICUFoldingFilter, normalizes unicode text for search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936657 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 08:47:49 +00:00
Shai Erera bd8aebac1c LUCENE-2402: Add an explicit method to invoke IndexDeletionPolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936605 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 03:45:01 +00:00
Uwe Schindler 4fdba4441f fix the lucene/solr version numbering problem during combined build and war/zipping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936544 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 22:20:35 +00:00
Uwe Schindler 156a84a265 Fix build to include lucene libs into tgz/zip
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936522 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 21:39:31 +00:00
Grant Ingersoll 535fd96fa5 fix Luke classpath
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935962 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 15:40:06 +00:00
Uwe Schindler 9b88f3cf60 LUCENE-2404: Add missing LowerCaseFilter to javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935771 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 23:24:35 +00:00
Uwe Schindler 8f1313564a LUCENE-2404: Add Solr part (luceneMatchVersion init param)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935739 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 20:56:35 +00:00
Uwe Schindler a95a785c74 LUCENE-2404: Improve performance of ThaiWordFilter by using a char[]-backed CharacterIterator (currently from javax.swing).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935734 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 20:48:50 +00:00
Robert Muir 59bdca031e set eol-style for .sh to LF (sorry)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935628 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 15:43:40 +00:00
Grant Ingersoll 7a99cc2b98 mailing list updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935553 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 13:18:29 +00:00
Shai Erera 24260eb6da LUCENE-2397: SnapshotDeletionPolicy.snapshot() throws NPE if no commits happened
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935522 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 10:54:20 +00:00
Uwe Schindler baa94a8936 LUCENE-2401: Improve CharTermAttribute performance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935521 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 10:45:25 +00:00
Robert Muir 514161467f LUCENE-2399: speed this filter up 20% (icu optimizes for dest = stringbuilder)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935513 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 10:19:45 +00:00
Robert Muir 12a7360fef LUCENE-2399: Add support for ICU's Normalizer2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935186 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 15:07:34 +00:00
Robert Muir e18484fa4c further simplify build: benchmark tests act like normal tests and don't need this anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935065 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:05:39 +00:00
Robert Muir 90a0edacca LUCENE-2398: allow this test to work from eclipse too, simplify build some more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935048 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 19:16:31 +00:00
Robert Muir 605656e960 LUCENE-2398: Improve tests to work better from IDEs such as Eclipse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935014 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:13:23 +00:00
Michael McCandless 4c18268a19 add an additional assert to try to catch possible 'fdx size mismatch' bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@934954 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 14:59:07 +00:00
Grant Ingersoll 5a10e41aa8 sick of the horribly ugly formatting in this file. My eyes just can't take it anymore!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@934860 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 13:15:34 +00:00
Michael McCandless ea9cc21c5d speed up TestStressIndexing2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@934339 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 09:28:50 +00:00
Grant Ingersoll 3130cd1e0e Reverting earlier spatial changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@934251 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 00:15:52 +00:00
Michael McCandless 2e204d167a LUCENE-2111: fix HighFreqTerms to work on flex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@934144 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 19:46:10 +00:00
Grant Ingersoll 4238a84026 LUCENE-2184: clean up API a bit more, test still fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933942 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 13:25:10 +00:00
Grant Ingersoll ddae6f06db LUCENE-2184: previous commit broke this
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933908 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 10:41:36 +00:00
Shai Erera 8703572fc2 LUCENE-2316: Define clear semantics for Directory.fileLength
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933879 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 08:28:51 +00:00
Grant Ingersoll 994189c221 LUCENE-2366, LUCENE-2367, LUCENE-2359: Fix a bunch of issues related to spatial
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933754 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 19:21:20 +00:00
Robert Muir a0de834403 remove more references to the old trunks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933679 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 15:33:32 +00:00
Shai Erera 7a65a1823a LUCENE-2386: IndexWriter commits unnecessarily on fresh Directory (take #2)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933613 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 14:04:18 +00:00
Grant Ingersoll 6d356c8d26 add a compile target to the top
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933598 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 13:28:56 +00:00
Robert Muir 4f860640a8 LUCENE-1709: add ant jars for the convenience of IDE users
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933575 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 12:12:20 +00:00
Robert Muir af9ee162d7 LUCENE-1709: specify output dir as temp dir, prevents junit temp files from littering the src tree
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933543 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 11:01:46 +00:00