Commit Graph

7883 Commits

Author SHA1 Message Date
Uwe Schindler 5f68c89e2d LUCENE-2413: Move PerFieldAnalyzerWrapper and LengthFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940632 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 21:37:46 +00:00
Yonik Seeley 1a9fab6982 SOLR-1900: override new methods in SolrIndexReader, convert facet.method=enum to flex API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940604 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 20:33:16 +00:00
Robert Muir 89c24fbe37 LUCENE-2413: consolidate ASCIIFolding and ISOLatin1Accent to contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940591 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 20:02:06 +00:00
Chris M. Hostetter 59a62bcb64 spelling mistakes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940563 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:38:18 +00:00
Chris M. Hostetter d5e5a2f090 SOLR-397: creation of a facet.date.include param for controlling what range endpoints are inclusive when date faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940556 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:21:25 +00:00
Uwe Schindler d5c0eacc75 LUCENE-2438: Fix encoding in NumericUtils to also set offset to 0 (and javadocs)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940545 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:06:49 +00:00
Yonik Seeley 4258ebca68 javadoc: define UTF16toUTF8 result.offset=0, doc that BytesRef references byte[] instead of copying
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940542 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 17:59:27 +00:00
Yonik Seeley 9b9a365bd0 LUCENE-2438: don't pre-allocate before UTF16TOUTF8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940525 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 17:30:55 +00:00
Yonik Seeley 1c79ee4c70 LUCENE-2438: BytesRef improvements, bytes!=null, kill many cases of oversizing, implement comparable as index order, fix some javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940511 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 16:56:47 +00:00
Robert Muir 1d14f8f18f LUCENE-2413: consolidate PorterStemmer to contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940459 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 13:54:44 +00:00
Uwe Schindler 722e52db36 LUCENE-2400: Missed name in changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940452 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 13:32:12 +00:00
Uwe Schindler 7cd9a8da03 LUCENE-2400: ShingleFilter: don't output all-filler shingles/unigrams; also, convert from TermAttribute to CharTermAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940451 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 13:28:14 +00:00
Robert Muir 5abbf3429c LUCENE-2414: Add ICUTokenizer, tailorable impl of Unicode Text Segmentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940447 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 13:20:09 +00:00
Robert Muir 98c47c57e0 LUCENE-2298: Add stempel, an algorithmic stemmer with included Polish support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940433 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 12:44:22 +00:00
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