Commit Graph

9496 Commits

Author SHA1 Message Date
Yonik Seeley 1aa40cd395 LUCENE-2831: attempt to use the correct reader context rather than doing getTopReaderContext on a leaf
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1056585 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 01:17:43 +00:00
Chris M. Hostetter cd90c9a911 SOLR-2288: more small tweaks to eliminate compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1056578 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 00:59:11 +00:00
Chris M. Hostetter 44b5ae0b69 revert an inadvertant javac change yonik made in r1052540
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1056564 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 23:57:11 +00:00
Chris M. Hostetter 3ba7eafdef SOLR-2288: Small tweaks to eliminate compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1056558 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 23:19:14 +00:00
Otis Gospodnetic a83e98970b LUCENE-2660 - Added alternative search provider option for Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1056452 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 18:43:58 +00:00
Michael McCandless cabea43938 LUCENE-2852: fix false EOF corner case in RAMInputStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1056428 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 18:02:35 +00:00
Michael McCandless 602a4e906a don't use package private API to assert no unreferenced files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1056409 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 17:42:44 +00:00
Yonik Seeley f70b9571a9 LUCENE-2831: pre-migrate to atomic context
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1056337 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 14:31:09 +00:00
Steven Rowe 4dca51491c Fix source directories in the IntelliJ IDEA configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1056183 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 03:43:21 +00:00
Yonik Seeley 8dfb827d0c LUCENE-2837: only populate subSearchers if they will be used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1056086 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 21:20:18 +00:00
Steven Rowe 8d7d57abdc LUCENE-2847: Added ASL2 license to supplementary macros generator, and to the generated file, and set svn:eol-style to native for both of them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1056014 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 19:15:21 +00:00
Robert Muir fbfb07d904 LUCENE-2842: avoid java6-only String.isEmpty in rule parser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055906 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 15:07:12 +00:00
Robert Muir 66d3f38d52 LUCENE-2842: missing eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055893 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 14:33:35 +00:00
Robert Muir 61872be09d LUCENE-2842: add Galician analyzer, Portuguese RSLP
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055892 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 14:30:37 +00:00
Steven Rowe 1b22e86417 LUCENE-2847: Support all of unicode, including supplementary code points above the basic multilingual plane, in StandardTokenizer and UAX29URLEmailTokenizer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055877 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 13:51:10 +00:00
Uwe Schindler f717f54ff6 Fix javadocs build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055745 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 04:44:34 +00:00
Yonik Seeley ac068109b8 spelling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055714 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 02:23:10 +00:00
Yonik Seeley 4140f73774 LUCENE-2831: fix isTopLevel
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055695 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 01:03:00 +00:00
Yonik Seeley 5e009c8a17 tests: start w/ absolute path to find solr root
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055659 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 21:57:30 +00:00
Michael McCandless 84b4473205 LUCENE-2756: add de morgan test (against IS w/ ES)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055652 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 21:39:42 +00:00
Yonik Seeley 9557559df0 LUCENE-2831: use int[] instead of AtomicInteger
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055638 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 21:04:28 +00:00
Simon Willnauer 36b17aab62 LUCENE-2831: Revise Weight#scorer & Filter#getDocIdSet API to pass Readers context
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055636 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 20:47:08 +00:00
Michael McCandless acd9519e59 LUCENE-2837: small code cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055595 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 19:27:51 +00:00
Michael McCandless c29b449d42 LUCENE-2837: fixup jdocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055575 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 18:45:25 +00:00
Michael McCandless 24e41ab20a remove some unnecessary MultiFields usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055501 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 16:07:26 +00:00
Steven Rowe 650443ce4e update intellij idea configuration to remove lucene/contrib/remote
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055474 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 14:49:26 +00:00
Robert Muir cc23ccf3c4 add note about java 6 requirement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055470 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 14:28:52 +00:00
Doron Cohen 6dda353532 LUCENE-2837 fix also dot.classpath for eclipse.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055437 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 12:14:36 +00:00
Michael McCandless 568785de21 cleanup: don't track flushedFiles when we can just compute that from the SegmentInfo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055435 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 11:44:29 +00:00
Michael McCandless 87274d00ac LUCENE-2837: collapse Searcher/Searchable into IndexSearcher; remove contrib/remote, MultiSearcher; absorb ParallelMultiSearcher into IndexSearcher as optional ExecutorService to ctor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055416 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 11:16:40 +00:00
Michael McCandless 570e19e579 LUCENE-2751: fix thread safety issue with FieldCacheImpl.get
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055409 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 11:02:24 +00:00
Michael McCandless d53692d45a fix Test2BTerms so optimize in the end always makes one segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055408 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 11:01:04 +00:00
Michael McCandless 1cab313a2b LUCENE-2843: add variable gap terms index writer/reader, using FST to hold the index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055405 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 10:52:04 +00:00
Robert Muir c26fd7564a LUCENE-2391: improve Spellchecker indexing speed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055285 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 03:16:56 +00:00
Robert Muir 4061877e43 LUCENE-2845: fix javadocs task
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055276 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 02:52:42 +00:00
Robert Muir 3bc38af949 add the start to a top-level README.txt (feel free to improve!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055245 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 23:54:19 +00:00
Steven Rowe bf8278184f Move description from the 'copy-idea-files' target to the 'idea' target, so that it gets mentioned when the user runs 'ant -projecthelp'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055244 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 23:44:23 +00:00
Robert Muir a0b91aed6e LUCENE-2771: add MultiNorms (forgot to svn add)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055243 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 23:38:30 +00:00
Robert Muir 6efd29bd9d LUCENE-2771: remove norms() from non-atomic IndexReaders
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055238 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 23:11:37 +00:00
Robert Muir 0bfee2fb2c LUCENE-2836: add FieldCacheRewriteMethod
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055130 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 18:22:51 +00:00
Steven Rowe 1e1780b7ae update intellij idea configuration for modules/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055053 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 14:19:46 +00:00
Robert Muir f90b2d520f add svn:ignore for benchmark's build directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1055028 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 13:17:13 +00:00
Robert Muir 2c9eb33e1c update eclipse classpath for modules/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1054998 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 12:42:58 +00:00
Robert Muir f012c2d44d LUCENE-2845: move contrib/benchmark to modules/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1054995 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 12:28:10 +00:00
Yonik Seeley fad6912a46 SOLR-1930: fully move from Field to Fieldable in interfaces
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1054794 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 22:10:19 +00:00
Yonik Seeley 3fa3cf5493 SOLR-1930: fully move from Field to Fieldable in interfaces
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1054763 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 21:30:50 +00:00
Mark Robert Miller 64e6e196ac update comment about queries silently failing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1054713 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 19:19:56 +00:00
Michael McCandless eaf2af80a2 pulsing codec was failing to forward finishDoc to the wrapped codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1054500 13f79535-47bb-0310-9956-ffa450edef68
2011-01-02 23:51:38 +00:00
Steven Rowe 317d3abbbe LUCENE-2611: When the CWD is solr/build/tests/, the hack in SolrTestCaseJ4.determineSourceHome() fails while running the Solr module tests because of classpath ordering: the CWD is checked first to locate the solr/conf/ dir; this succeeds, but the relative path used for the CWD excludes its ancestry, so the source home can't be navigated to without converting to absolute, which determinSourceHome() does not do.
This change works around the issue by making the CWD for the Solr module tests be solr/build/tests/solr/, which does not contain solr/conf/, so the remainder of the classpath is searched, and the absolute classpath element .../solr/build/tests/ allows the source home to be located.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1054464 13f79535-47bb-0310-9956-ffa450edef68
2011-01-02 19:45:59 +00:00
Uwe Schindler adfabc3df7 LUCENE-2838: ConstantScoreQuery now directly supports wrapping a Query instance for stripping off scores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1054406 13f79535-47bb-0310-9956-ffa450edef68
2011-01-02 13:47:59 +00:00