Commit Graph

3763 Commits

Author SHA1 Message Date
Grant Ingersoll e3db2b9906 LUCENE-1790: pass in position information for scoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804178 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 12:14:19 +00:00
Erik Hatcher 5724eb4dc9 LUCENE-1806: add args to test macro (Jason Rutherglen via ehatcher)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804161 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 11:00:48 +00:00
Michael McCandless 52d796013f LUCENE-1807: allow passing the Map of field name -> analyzer to PerFieldAnalyzerWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804133 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 09:10:38 +00:00
Michael McCandless e166d54f87 LUCENE-1802: undeprecate current QueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804016 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 20:08:58 +00:00
Michael McCandless 1eb8149fb3 LUCENE-1789: add MultiValueSource wrapper to protect an existing ValueSource from using 2X RAM in FieldCache if composite reader is passed to getValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804006 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 19:39:29 +00:00
Michael McCandless 3cab215c2c LUCENE-1805: allow CloseableThreadLocal.set(null)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803903 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 14:32:36 +00:00
Mark Robert Miller f3bf13f480 LUCENE-1748: makes Spans abstract class
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803700 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 20:28:17 +00:00
Chris M. Hostetter 2558c06120 LUCENE-1749: Addition of FieldCacheSanityChecker utility, and hooks to use it in all existing Lucene Tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803676 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 19:31:38 +00:00
Yonik Seeley ab2afad0d1 LUCENE-1804: allow Tokenizer to specify it's AttributeSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803668 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 19:01:43 +00:00
Yonik Seeley f79712ce82 LUCENE-1800: reusable token streams for query parser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803664 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 18:53:49 +00:00
Uwe Schindler bd6bb85bb4 LUCENE-1803: Fix javadocs for LowerCaseTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803404 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 07:54:18 +00:00
Mark Robert Miller 2c0ef65700 doh - its the 11th not the 10th - sorry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803349 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 01:54:23 +00:00
Mark Robert Miller ec7beb26b7 Add another of Mikes suggestions for 1771 that I missed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803344 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 01:35:07 +00:00
Mark Robert Miller 717a6e1eeb fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803343 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 01:33:30 +00:00
Mark Robert Miller 48ec5e5dd8 whoops - wrong order - this should have been with the LUCENE-1771 commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803342 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 01:27:03 +00:00
Mark Robert Miller 7fff5a7ea7 LUCENE-1771: QueryWight back to Weight, but as abstract class rather than interface - explain now takes a Searcher and passes the sub reader that contains the doc if a top level reader is a multi reader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803339 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 01:22:30 +00:00
Grant Ingersoll 644a4b356f LUCENE-1790: Deprecated BoostingTermQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803065 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 11:34:08 +00:00
Michael McCandless 7ac73cb0a6 LUCENE-1792: properly default rewrite method to CONSTANT_SCORE_AUTO for wildcard & prefix queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803053 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 10:14:31 +00:00
Mark Robert Miller cbfee9d814 fix javadoc that says Token is deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802960 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 23:50:58 +00:00
Robert Muir 43a5bd6c19 LUCENE-1628: Add Persian Analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802955 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 23:29:27 +00:00
Uwe Schindler 3c5de6bb35 LUCENE-1796: Speed up repeated TokenStream init by caching isMethodOverridden results. Also speed up AttributeSource.clearAttributes().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802930 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 21:34:46 +00:00
Michael McCandless 3aed0fd54b LUCENE-1797: don't over-increment positions when creating MultiPhraseQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802893 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 18:46:39 +00:00
Michael McCandless 7b9856b7d2 LUCENE-1784: make Weight impls for BooleanQuery & DisjunctionMaxQuery protected to permit expert subclassing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802825 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 15:29:55 +00:00
Michael McCandless 08c69caca6 LUCENE-1795: disable leading wildcard by default in new QueryParser, matching 2.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802794 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:54:06 +00:00
Michael McCandless 35ea5c1350 LUCENE-1786: make the patternsFileContent static, so we only load it once, not 4 times, when running this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802767 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 12:47:52 +00:00
Michael McCandless 2a195d3622 move QueryParserMessages.properties under src/resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802722 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 10:24:35 +00:00
Grant Ingersoll 1fbf723c3c LUCENE-1790: flip around for back compatibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802272 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 23:57:25 +00:00
Grant Ingersoll e079d1cec3 LUCENE-1790: small refactor of Payload queries, plus add in some new payload query functionality
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802174 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 20:34:58 +00:00
Uwe Schindler 911df49bcb LUCENE-1607: Change some more String.intern() in contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802095 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 17:19:53 +00:00
Michael McCandless ab0de2448a fix smartcn to be JDK 1.4 only
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802085 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:48:09 +00:00
Michael McCandless 0b6769aa11 LUCENE-1782: rename original -> standard in the new QueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801934 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 10:24:28 +00:00
Mark Robert Miller 835efd0d6c LUCENE-1788: cleanup Highlighter test class
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801856 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 01:30:45 +00:00
Grant Ingersoll d4eeefff81 LUCENE-1341: Added BoostingNearQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801667 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 15:14:18 +00:00
Michael McCandless fc369cdf2f add getDistanceFilter() since you need that in order to sort by the exact distances (previously distanceFilter attr was public)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801471 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 23:57:54 +00:00
Robert Muir 820620f3a7 LUCENE-1758: Update ArabicAnalyzer to light10 stemming, stopwords improvements, lowercase non-arabic text
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801348 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 18:22:22 +00:00
Yonik Seeley 7f1319fdf0 LUCENE-1607: String.intern() cache StringHelper.intern()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801344 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 18:05:06 +00:00
Grant Ingersoll ab276a5ab9 Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801219 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 13:17:20 +00:00
Grant Ingersoll c0d86a4e30 Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801218 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 13:17:11 +00:00
Michael McCandless 1ab8d5ee6d LUCENE-1779: improve javadocs & remove unused args from unreleased sorting APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801207 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 13:08:58 +00:00
Michael McCandless e82cc0079d remove extra print
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801166 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 12:13:02 +00:00
Michael McCandless c471e8e83c LUCENE-1773: fix highlighter test case; add contrib/memory as dependency to contrib/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801160 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 12:09:48 +00:00
Uwe Schindler fe43cd7243 new tag
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801141 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 11:48:54 +00:00
Chris M. Hostetter e4cd860cf2 some standardization of tests: All tests now inherit from LuceneTestCase, and all setUp/tearDown methods call super.setUp/tearDown. This doesn't have any noticable effects on any test, but it does give us a better safety net with the existing (and future) assertions in LuceneTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801066 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 05:43:43 +00:00
Mark Robert Miller 34ab27401c LUCENE-1770: Add EnwikiQueryMaker
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801043 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 01:39:22 +00:00
Michael McCandless 66d930d933 LUCENE-1780: deprecate Scorer.explain
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800953 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 20:39:32 +00:00
Michael McCandless d3fcafc53e LUCENE-1773: add FastVectorHighlighter tasks to contrib/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800947 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 20:24:02 +00:00
Mark Robert Miller 5af69469e2 LUCENE-1748: LUCENE-1001 introduced PayloadSpans, but this was a back compat break and caused custom SpanQuery implementations to fail at runtime in a variety of ways. This issue attempts to remedy things by causing a compile time break on custom SpanQuery implementations and removing the PayloadSpans class, with its functionality now moved to Spans.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800925 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 19:10:02 +00:00
Uwe Schindler d8680c9fd4 SOLR-1322: Add a test, that NumericRangeQuery works correctly with multi-valued fields. Also fix deprecation warning.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800896 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 18:14:37 +00:00
Michael McCandless d79a369414 LUCENE-1504: switch to DocIdSet API and FilteredDocIdSet for contrib/spatial
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800892 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 18:01:57 +00:00
Mark Robert Miller a4c2eae1d4 update javadoc for init(TokenStream) return
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800849 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 15:38:00 +00:00