Commit Graph

12275 Commits

Author SHA1 Message Date
Uwe Schindler d17d600da5 LUCENE-3770: FilterIndexReader was renamed to FilterAtomicReader and now extends AtomicReader. If you want to filter composite readers like DirectoryReader or MultiReader, filter their atomic leaves and build a new CompositeReader (e.g. MultiReader) around them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243051 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 13:06:39 +00:00
Uwe Schindler 0095bd10fd LUCENE-3733: Update documentation, changes,...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243048 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 12:38:41 +00:00
Dawid Weiss cdc2173e09 Excluding dataimport.properties generated during tests (for folks like me
who use git clones).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243020 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 09:04:36 +00:00
Ryan McKinley 7e3a10e107 SOLR-3121: (admin UI) load term info dynamically for each field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242998 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 02:55:45 +00:00
Michael McCandless bea8fd0fb6 SOLR-3076: fix BJQ to handle incoming liveDocs/filter correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242934 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 21:28:52 +00:00
Uwe Schindler 70a7d4975f LUCENE-3764: Remove MapBackedSet, it's already available in Java 6 through Collections.newSetFromMap(Map). BTW: Funny: http://blog.grovehillsoftware.com/2009/12/handy-but-hidden-collectionsnewsetfromm.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242932 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 21:26:55 +00:00
Mark Robert Miller 17ac9321a9 unignore this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242927 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 21:15:18 +00:00
Uwe Schindler 6188bc66d7 LUCENE-3736: ParallelReader was split into ParallelAtomicReader and ParallelCompositeReader. Lucene 3.x's ParallelReader is now ParallelAtomicReader; but the new composite variant has improved performance as it works on the atomic subreaders.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242924 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 21:13:05 +00:00
Michael McCandless c74d48b857 LUCENE-3760: clean up DirectoryReader/SegmentInfos methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242903 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 19:57:07 +00:00
Robert Muir 590741dcfe LUCENE-3766: Remove Tokenizer's default ctor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242890 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 19:12:35 +00:00
Mark Robert Miller 18a1d40283 SOLR-2957: fix default core behavior when in zk mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242843 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 16:42:57 +00:00
Yonik Seeley e138de254f SOLR-3120: spatial post-filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242832 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 16:00:26 +00:00
Mark Robert Miller e9380c5370 if we cannot find a collection, return null rather than NPE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242830 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 15:57:00 +00:00
Mark Robert Miller 7728dcc5f2 do not put num_shards in the cluster state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242828 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 15:56:19 +00:00
Mark Robert Miller 76f0587508 SOLR-2957: collection URLs in a cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242800 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 14:52:44 +00:00
Robert Muir 8a50cefc6b LUCENE-3748: EnglishPossessiveFilter did not work with a proper right quotation mark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242740 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 11:01:11 +00:00
Mark Robert Miller 559f7e7923 remove unnecessary numShards params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242650 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 03:40:31 +00:00
Mark Robert Miller 9332f2e027 SOLR-3088: create shard placeholders
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242639 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 02:24:25 +00:00
Chris M. Hostetter 7c51126b86 SOLR-2802: change min/max processors to fail hard if values are not comparable, also imrpvoe error handling/logging in FieldMutatingUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242625 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 00:43:54 +00:00
Yonik Seeley 6c4139a62b tests: add testfunc to ensure weighting occurs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242617 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 00:22:01 +00:00
Robert Muir d06fe21f88 SOLR-3056: remove unpaired xml comment/typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242588 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 22:59:34 +00:00
Robert Muir 8c2e20bb2d SOLR-3056: add example japanese field type, lazy-load kuromoji resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242573 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 22:35:24 +00:00
Robert Muir 9f783ead67 SOLR-3115: improve japanese stopwords.txt description
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242557 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 22:17:44 +00:00
Robert Muir 509f4c557d LUCENE-3751: align default japanese configurations for lucene/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242543 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 21:45:41 +00:00
Chris M. Hostetter 343fead2bc SOLR-2802: fix compilation problem rmuir was seeing in his IDE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242534 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 21:20:47 +00:00
Chris M. Hostetter 4906b8a614 SOLR-2802: several new UpdateProcessorFactories for modifing fields of documents, along with base classes to make writing these types of classes easier for users
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242514 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 20:41:21 +00:00
Steven Rowe e825015535 Fix StandardAnalyzer c-tor example to take Version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242498 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 19:59:55 +00:00
Robert Muir 72ae3171be LUCENE-3765: Trappy behavior with StopFilter/ignoreCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242497 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 19:59:50 +00:00
Mark Robert Miller ef65f76824 clean up this Changes entry - no need to list extra issues where the contributor is already credited for the overall feature listing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242428 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 18:09:51 +00:00
Mark Robert Miller 3c5d8633d9 SOLR-3108: Error in SolrCloud's replica lookup code when replica's are hosted in same Solr instance (test)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242324 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 13:59:11 +00:00
Uwe Schindler 25cfcfb61e LUCENE-3757: Change AtomicReaderContext.leaves() to return itsself as only leave to simplify code and remove an otherwise unneeded ReaderUtil method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242233 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 08:14:19 +00:00
Mark Robert Miller dfdd1b7363 SOLR-3108: Error in SolrCloud's replica lookup code when replica's are hosted in same Solr instance (fix only)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242212 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 03:15:44 +00:00
Erick Erickson 3f9389b3ea Fix for SOLR-3111 - fl param not working when more than one field was specified. Also honors * for "all fields"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242150 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 22:30:50 +00:00
Steven Rowe 534ecb309b LUCENE-3753: Clover fixes: Added non-clover-invoking compile-core target specializations to the lucene/test-framework and lucene/tools modules, since these classes have no tests, and lucene/test-framework sources are already included in every other module's clover instrumentation; and moved generate-clover-reports from lucene/common-build.xml to lucene/build.xml, since it doesn't need to be shared elsewhere.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241986 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 17:14:57 +00:00
Shai Erera 9c7fbf58e9 port rev 1241965 to trunk (remove dead code from SearcherManager).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241966 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 16:42:19 +00:00
Robert Muir c0319d5928 SOLR-3056: document expectations in these files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241960 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 16:27:47 +00:00
Steven Rowe 730a8abfd2 Fix fall-through warnings in randomHtmlishString() - added missing "break;"s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241930 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 15:20:53 +00:00
Robert Muir dac1b58277 SOLR-3097, SOLR-3105: add fieldtypes for different languages to the example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241878 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 12:07:52 +00:00
Steven Rowe 3519049d94 LUCENE-3753: build-contrib dependendency should be on compile-test, which compiles all test and non-test sources under lucene/, rather than on common.compile-test; otherwise, build outputs go to the wrong place and trigger a build failure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241741 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 02:22:36 +00:00
Steven Rowe 03ca9be6c4 LUCENE-3753: 'ant package' in solr/ triggered a build failure as a result of a build dependency on target 'javadocs-all' in lucene/, because the basedir wasn't being reset by the <subant> calls to the modules to be built to satisfy javadoc links (queryparser, queries, and analyzers-common) - as a result, the first module's compile invocation thought it should put its output in lucene/build/classes/java/, which no longer exists. The fix: switch javadocs-all to depend on the jar-* targets for the modules in question; these use <ant> instead of <subant>, which doesn't seem to have the same issue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241710 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 00:09:44 +00:00
Martijn van Groningen fa3acebf89 LUCENE-3602: Moved change from trunk to 3.6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241636 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 21:28:59 +00:00
Steven Rowe 9cf7bc1c22 LUCENE-3753: IntelliJ IDEA configuration: Add new Ant build files in lucene/core/, lucene/test-framework/, and lucene/tools/.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241598 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 20:30:33 +00:00
Steven Rowe 3c586fa3ea LUCENE-3753: IntelliJ IDEA configuration: make lucene module test configuration working directory be the IntelliJ build output directory for this module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241596 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 20:23:45 +00:00
Steven Rowe eb0ab3d392 LUCENE-3753: Restructure the Lucene build system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241588 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:59:05 +00:00
Robert Muir 8b939cb7d2 SOLR-3107: hardwire seed in langdetect langid impl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241550 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 18:58:43 +00:00
Yonik Seeley a26d3d1d4c SOLR-3104: get sortfield values for fsv in docid order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241537 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 18:01:54 +00:00
Michael McCandless 29329e1787 LUCENE-3736: revert per discussion on IRC until we can reach agreement on the chaining
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241500 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 15:49:31 +00:00
Uwe Schindler fb27a1f4e6 LUCENE-3736: Refactor ParallelReader to ParallelAtomicReader and ParallelCompositeReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241470 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 14:24:40 +00:00
Doron Cohen 36ff785606 LUCENE-3746: suggest.fst.Sort.BufferSize should not automatically fail just because of freeMemory()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241355 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 06:00:39 +00:00
Mark Robert Miller d98d63d83e set timeout on sync request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241059 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 16:18:41 +00:00