Commit Graph

9622 Commits

Author SHA1 Message Date
Uwe Schindler fcf6e305b4 LUCENE-1472: Removed synchronization from static DateTools methods by using a ThreadLocal. Also converted DateTools.Resolution to a Java 5 enum.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063493 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 22:26:59 +00:00
Robert Muir a4a913d01b LUCENE-792: add test for PrecedenceQueryParser NOT bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063478 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 22:00:14 +00:00
Chris M. Hostetter dfb9a0faf8 SOLR-2320: Fixed ReplicationHandler detail reporting for masters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063339 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 16:28:04 +00:00
Grant Ingersoll 27fe1ca874 SOLR-482: add some improved exception information for CSV files that fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063333 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 16:14:59 +00:00
Simon Willnauer 68f67a4b23 LUCENE-2888: Several DocsEnum / DocsAndPositionsEnum return wrong docID when next() / advance(int) return NO_MORE_DOCS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063332 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 16:12:35 +00:00
Michael McCandless 5642eb07c4 LUCENE-2010: drop segments that are 100% deleted docs in IW/IR commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063323 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 15:40:51 +00:00
Shai Erera 913a9e4491 LUCENE-1250: fix equals() to check for null and not fail on NPE (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063272 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 13:34:48 +00:00
Adriano Crestani Campos a20e2cd89a applying patches from LUCENE-2855 and LUCENE-2867 to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063095 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 01:22:35 +00:00
Chris M. Hostetter 4a63988060 SOLR-1240: followup: use NL instead of SOM for counts list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063052 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 23:03:58 +00:00
Steven Rowe 1b44e0b9a5 added support for maven artifact generation of the new Solr UIMA contrib; the top-level get-maven-poms target now forces copying of all of the source pom.xml files, even if the source is not newer than the target files, so that version changes will always take effect when specified through the -Dversion ant cmdline option
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062936 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 19:33:14 +00:00
Robert Muir 3f255f6cea LUCENE-2236: per-field similarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062927 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 19:13:31 +00:00
Michael McCandless 25f5488fd2 LUCENE-2884: fix StandardPostingsReader's enums to not try to load skip data when there wasn't any
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062908 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 18:16:01 +00:00
Michael McCandless 8d1994b2e3 LUCENE-2382: check for aborted merge when merging postings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062889 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 17:26:17 +00:00
Michael McCandless 3e8f55cd0d LUCENE-2885: add WaitForMerges tasks to benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062879 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 17:00:50 +00:00
Michael McCandless ff27795666 add verbosity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062876 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 16:56:58 +00:00
Shai Erera 047d76bf6a LUCENE-2693: Add delete term and query need to more precisely record the bytes used (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062832 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 15:35:55 +00:00
Steven Rowe 2ea5e65959 Added IntelliJ support for the new Solr UIMA contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062817 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 15:02:31 +00:00
Robert Muir 924e745b06 add assertion to check that skip pointer isn't past EOF
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062810 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 14:51:15 +00:00
Simon Willnauer ce53019db5 LUCENE-2882: Cut over SpanQuery#getSpans to AtomicReaderContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062775 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 13:51:06 +00:00
Robert Muir 32e156ffdb LUCENE-2879: MultiPhraseQuery summed its own idf instead of Similarity.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062633 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 03:33:45 +00:00
Robert Muir 6c05d94c93 SOLR-2129: Provide a Solr module for dynamic metadata extraction/indexing with Apache UIMA
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062604 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 01:58:00 +00:00
Michael McCandless 68dc071064 make sure bulk merging is working
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062509 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 20:00:08 +00:00
Koji Sekiguchi 4af1d0e0be SOLR-2190: revert the last commit. problem is gone.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062454 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 15:31:27 +00:00
Michael McCandless 29fd9b86c0 fix typo in CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062451 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 15:24:33 +00:00
Michael McCandless a58d5763bc sync CHANGES from 3.x Bug Fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062428 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 13:58:20 +00:00
Uwe Schindler 4addc16415 Fix incorrect Interface override
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062409 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 12:27:51 +00:00
Shai Erera a2218c398f remove nocommit in SegmentReader and simplify code which gets the DocStoreSegment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062388 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 11:11:42 +00:00
Shai Erera 133e70cad6 LUCENE-2720: IndexWriter should throw IndexFormatTooOldExc on open, not later during optimize/getReader/close (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062325 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 05:10:48 +00:00
Mark Robert Miller 22f0fe9718 SOLR-2127: Fixed serialization of default core and indentation of solr.xml when serializing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062319 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 03:58:30 +00:00
Koji Sekiguchi 741882bcb1 SOLR-2330, SOLR-1992: due to solrconfig.xml files in example-DIH are broken, DIH sample cannot be launched. add luceneMatchVersion, remove abortOnConfigurationError, DisMaxRequestHandler etc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062314 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 03:39:07 +00:00
Steven Rowe 11146b8c3c changed generate-maven-artifacts target to place all maven artifacts in one place: modules/dist/maven/; added modules/dist/ to list of dirs to remove with the 'clean' target; added modules/dist/ to svn:ignore list on modules/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062308 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 01:42:19 +00:00
Uwe Schindler c76ffeaa70 use correct formatter in sequential
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062153 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 13:15:46 +00:00
Uwe Schindler a1baa30380 separate maven and conventional packages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062123 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 09:32:08 +00:00
Steven Rowe 82640ec617 LUCENE-2657: switched POMs under dev-tools/maven/ to be POM templates, to allow for specification of the version as a system property on the command line.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062111 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 07:26:17 +00:00
Uwe Schindler 1b0bd50ae7 add codestyle for eclipse (it's no longer downloadable with wiki). Somebody more familar with eclipse should integrate it here :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062070 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 23:14:17 +00:00
Robert Muir 81dba8b8e8 LUCENE-2824: Optimize BufferedIndexInput to do less bounds checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061622 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 04:10:05 +00:00
Robert Muir e2675f59f8 LUCENE-2872: remove warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061619 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 04:01:49 +00:00
Steven Rowe 74360c80f5 LUCENE-2657: Replace Maven POM templates with full POMs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061613 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 03:44:13 +00:00
Robert Muir 4f2a9e7aa3 LUCENE-2876: Remove Scorer.getSimilarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061499 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 20:36:44 +00:00
Michael McCandless 1a0f78778b LUCENE-2872: block-encode terms in between indexed terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061453 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 18:53:55 +00:00
Yonik Seeley f320ade2b7 SOLR-2325: allow tagging and exclusion of many query for faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061424 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 17:58:23 +00:00
Yonik Seeley 00a3df84d4 example: make it harder to hit test synonyms accidentally
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061350 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 15:47:09 +00:00
Michael McCandless fb20497e42 LUCENE-2843: fix silly ob1 in the index term selectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061230 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 11:34:10 +00:00
Uwe Schindler ca0598b3e7 LUCENE-2374: Fix bug in position-sorting - too stupid :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061078 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 00:37:40 +00:00
Yonik Seeley 0a30dcd945 SOLR-1297: fix weighting when sorting by function
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061065 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 23:48:28 +00:00
Uwe Schindler 1099f8465d LUCENE-2875: Rework token metadata for NumericTermAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061060 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 23:20:43 +00:00
Robert Muir ede75ff9ae LUCENE-2869: remove Query.getSimilarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061050 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 23:03:19 +00:00
Uwe Schindler 460fa90564 LUCENE-2374: Added Attribute reflection API: It's now possible to inspect the contents of AttributeImpl and AttributeSource using a well-defined API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061039 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 22:41:16 +00:00
Uwe Schindler 6a9f686f58 Fix some minor issues in TrieTokenizer and also add support for offsets (same way like KeywordTokenizer)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060997 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 21:24:57 +00:00
Uwe Schindler 0e731a4b64 LUCENE-2875: Support cloning of NumericTermAttribute by refactoring NumericTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060900 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 18:59:02 +00:00