Commit Graph

953 Commits

Author SHA1 Message Date
Uwe Schindler 324f601c64 LUCENE-1985: More Java5 fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825989 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 16:30:19 +00:00
Michael McCandless 2f08d0ba66 fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825977 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 16:14:10 +00:00
Uwe Schindler 59534306ee LUCENE-1984: Generify Disjunction* - add tons of @Override
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825881 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 13:20:34 +00:00
Michael Busch 663adad4d7 LUCENE-1979: remove more deprecations in the index package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825288 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:21:05 +00:00
Michael Busch 21ea806aa0 LUCENE-1979: Remove remaining deprecations from index package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@825022 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 06:38:57 +00:00
Michael McCandless f89460b246 LUCENE-1974: add CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824988 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 00:39:22 +00:00
Michael Busch b2852a6186 LUCENE-944: Remove deprecated methods in boolean query.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824870 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 18:26:37 +00:00
Uwe Schindler c5af8f8fee LUCENE-1978: Remove the rest of deprecated HitCollectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824781 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 14:28:01 +00:00
Uwe Schindler e8cf50a651 LUCENE-1977: Remove deprecated Term field and accessors in MultiTermQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824771 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 14:07:16 +00:00
Uwe Schindler 587c951273 LUCENE-1972: better CHANGES.txt with also varargs Sort API
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824699 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 11:20:17 +00:00
Uwe Schindler 594c9a35f7 LUCENE-1972: Remove deprecated ExtendedFieldCache, custom and auto caches, SortField.AUTO, deprecated custom sort, deprecated sorting HitCollectors, deprecated TopDocs HitCollectors, legacy search
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824697 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 11:18:25 +00:00
Michael Busch 9b9d85d9ca LUCENE-1975: Remove deprecated SpanQuery.getTerms() and generify Query.extractTerms(Set<Term>)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824527 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 22:40:30 +00:00
Uwe Schindler ef1af60efe LUCENE-1971: Remove RangeQuery & Co.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824175 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 21:29:07 +00:00
Uwe Schindler 046f90e496 cleanup CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824118 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 17:41:39 +00:00
Uwe Schindler 4cded8042c LUCENE-1946, LUCENE-1753: Remove deprecated TokenStream API. What a pity, my wonderful backwards layer is gone! :-( Enforce decorator pattern by making the rest of TokenStreams final.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824116 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 17:35:09 +00:00
Michael Busch 35f0f926a2 LUCENE-1970: Remove deprecated DocIdSetIterator methods.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824111 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 17:17:40 +00:00
Michael Busch 3619c380d6 LUCENE-1968: Remove deprecated PriorityQueue methods.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824013 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 03:54:25 +00:00
Michael McCandless b98e0976b0 LUCENE-1951: fix WildcardQuery to correctly rewrite single term query and prefix query
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823324 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 20:59:31 +00:00
Michael Busch 84b2c6ecaa LUCENE-1961: Remove remaining deprecations from document package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823252 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 18:02:06 +00:00
Michael Busch 6be57e324e LUCENE-1960: Remove deprecated Field.Store.COMPRESS.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822978 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 00:54:59 +00:00
Michael Busch 39b4a0e4dc LUCENE-1957: Remove Filter.bits(IndexReader).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822930 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 21:43:45 +00:00
Michael Busch d7d9241ef7 LUCENE-1856: Remove Hits.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822587 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 05:08:22 +00:00
Michael Busch b9bf270b01 LUCENE-486: Remove test->demo dependencies.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@822137 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 05:57:20 +00:00
Uwe Schindler 9aa93c2a6b Add changes for Java 1.5 Port
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821448 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 23:40:02 +00:00
Uwe Schindler c70555f62d LUCENE-1944: Remove deprecated Directory stuff and IR/IW open/ctor hell
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821446 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 23:29:14 +00:00
Uwe Schindler 7ce333d639 LUCENE-1857: Convert NumericRangeQuery API to Generics (and some changes in MTQ, @Override, autoboxing in tests)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820792 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 21:11:39 +00:00
Uwe Schindler c1f5e753d7 LUCENE-1933: Provide a convenience AttributeFactory that creates a Token instance for all basic attributes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820658 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 13:49:46 +00:00
Uwe Schindler ec90bc2202 LUCENE-1855: Change AttributeSource API to use generics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820553 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 07:53:43 +00:00
Michael McCandless a5e5dc8794 LUCENE-1925: open up IndexSearcher a bit for expert usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@819130 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 13:02:48 +00:00
Mark Robert Miller 16e01820db estimate release in a couple days
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817268 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 14:23:44 +00:00
Mark Robert Miller 83e500395e fix changes entry for LUCENE-1422, LUCENE-1693 - Token is no longer deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817221 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:23:16 +00:00
Mark Robert Miller 511c4345b7 merge LUCENE-1658 and LUCENE-1451 changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817220 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:19:07 +00:00
Michael McCandless 0cb96adf12 LUCENE-1918: fix corner cases (resulting in exceptions) when passing ParallelReader to IndexWriter.addIndexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816602 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 12:33:51 +00:00
Mark Robert Miller 7c757a03c1 update release date info
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816368 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 20:18:51 +00:00
Uwe Schindler 8934cbd804 LUCENE-1911: Add a new DocIdSet.isCacheable() method that defaults to false, but is true for some DocIdSet impls, that are effective and use no disk I/O during iteration (OpenBitSet, SortedVIntList, DocIdBitSet, EMPTY_DOCIDSET, some FieldCache filter impls). CachingWrapperFilter now copies all DocIdSets, which are not cacheable, into an OpenBitSetDISI for caching.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816154 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 12:02:46 +00:00
Doron Cohen 203925ad70 LUCENE-1908: Scoring documentation imrovements in Similarity javadocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@815414 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 17:44:35 +00:00
Uwe Schindler 4666489857 LUCENE-1906: Fix backwards problems with CharStream and Tokenizers with custom reset(Reader) method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813671 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 06:12:13 +00:00
Mark Robert Miller 23ae664dc6 LUCENE-1896: improve Similarity#queryNorm javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813200 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 03:02:50 +00:00
Mark Robert Miller 11d65e5cb0 update credits for LUCENE-1901 to better format as suggested by Uwe
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813015 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 16:04:02 +00:00
Mark Robert Miller 073efff308 add note to LUCENE-1901 - it never appeared in a release
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813002 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 15:40:48 +00:00
Mark Robert Miller b26483fea6 last commit accidently removed a Changes entry Uwe entered - readding the entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@812989 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 15:19:29 +00:00
Mark Robert Miller 08415d13e2 merge LUCENE-1483: Added new MultiReaderHitCollector... into LUCENE-1575
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@812983 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 14:57:42 +00:00
Uwe Schindler 8f70c99e37 LUCENE-1901: Add changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@812975 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 14:29:27 +00:00
Mark Robert Miller 8f96a290b8 LUCENE-1900: Improve Searchable Javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@812963 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 13:53:20 +00:00
Michael McCandless c5c363e540 LUCENE-1899: fix slow realloc performance if you set bits in order in a new OpenBitSet
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@812904 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 11:51:41 +00:00
Mark Robert Miller 26b9f64ab8 LUCENE-1898: Switch changes to use bullets rather than numbers and update changes-to-html script to handle the new format.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@812493 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 13:07:07 +00:00
Mark Robert Miller 93f02d341e LUCENE-1873: Update documentation to reflect current Contrib area status
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@811959 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 01:00:21 +00:00
Uwe Schindler 894dae9059 LUCENE-1877, LUCENE-1885: Use NativeFSLockFactory as default for new API (direct ctors & FSDir.open). Fix isLocked() bug in NativeFSLock.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@811157 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 22:17:31 +00:00
Chris M. Hostetter fe6c88cebe adding CHANGES.txt entries that i/others forgot to add when making some recent documentation improvement commits. Jira issues: LUCENE-1876, LUCENE-1884, LUCENE-1886, LUCENE-1862, LUCENE-1875, LUCENE-1872
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@811080 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 18:51:48 +00:00
Mark Robert Miller dff5952e3e spell fixes for changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@810559 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 15:23:58 +00:00
Michael McCandless 1537fe7102 LUCENE-1860: default all multi-term queries to constant score auto
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808519 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 16:57:27 +00:00
Mark Robert Miller 7c7745f923 change from 2.9-dev to 2.9
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808503 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 16:34:46 +00:00
Mark Robert Miller 235791086f LUCENE-1854: tar task should use longfile="gnu" to avoid false file name length warnings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807838 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:18:04 +00:00
Michael Busch 1f15246336 LUCENE-1851: Change 'javacc' and 'clean-javacc' targets to build and clean contrib/surround files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807835 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:14:07 +00:00
Mark Robert Miller e0b5100b80 improve/correct runtime entry for LUCENE-1483
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807767 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 19:13:38 +00:00
Uwe Schindler 1a23145d53 LUCENE-1843: missed names :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807607 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 13:16:16 +00:00
Uwe Schindler 986260a672 LUCENE-1843, LUCENE-1836: Add missing note in CHANGES.txt "Test Cases" section.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807605 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 13:14:00 +00:00
Mark Robert Miller c1c2ce7716 LUCENE-1847: PhraseQuery/TermQuery/SpanQuery use IndexReader specific stats in their Weight#explain methods - these stats should be corpus wide.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807595 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 12:50:06 +00:00
Michael McCandless 53dab68854 LUCENE-1798: add infoStream to FieldCache to print any increase in insanity when it happens
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807572 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 11:44:45 +00:00
Michael Busch e8caefdb7d LUCENE-1852: Fix localization test failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807499 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 06:48:36 +00:00
Michael Busch 4b6e01654c LUCENE-1836: Fix localization bug in the new query parser and add new LocalizedTestCase as base class for localization junit tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807494 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 06:19:14 +00:00
Mark Robert Miller 32abcdc6de LUCENE-1837: Remove Searcher from Weight#explain - partial revert of LUCENE-1771
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807180 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 12:26:43 +00:00
Uwe Schindler 5dd1810b0c LUCENE-1846: Fix more Locale problems
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807117 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 08:31:34 +00:00
Michael Busch 64ed5f39a5 LUCENE-1826: Add constructors that take AttributeSource and AttributeFactory to all Tokenizer implementations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806942 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 08:34:22 +00:00
Mark Robert Miller 9712dbe0ea LUCENE-1827: Make the payload span queries consistent
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806894 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 21:24:27 +00:00
Mark Robert Miller 136f054a05 LUCENE-1838: BoostingNearQuery must implement clone/toString
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806885 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 20:23:00 +00:00
Mark Robert Miller 6136508670 to/do typo and minor formatting fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805869 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:32:21 +00:00
Mark Robert Miller a08b3bf581 couple minor tweaks to backward compat section entry 4. LUCENE-1422,LUCENE-1693 and runtime changes section entry 12. LUCENE-1801
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805862 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:14:38 +00:00
Mark Robert Miller 5ffe47ff1c couple minor tweaks to backward compat section entry 2. LUCENE-1687
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805856 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:04:50 +00:00
Mark Robert Miller 6c4a1cecf4 couple minor tweaks to backward compat section entry 1. LUCENE-1575
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805853 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:57:05 +00:00
Mark Robert Miller c7641880b4 add a runtime changes entry for 1483
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805815 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 14:22:03 +00:00
Mark Robert Miller 7700fa3626 LUCENE-1819: MatchAllDocsQuery.toString(field) should produce output that is parsable by the QueryParser.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805624 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 23:09:18 +00:00
Chris M. Hostetter f720852e37 LUCENE-1791: Enhance QueryUtils and CheckHits to wrap everything they check in MultiReader/MultiSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805525 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 18:25:47 +00:00
Mark Robert Miller 7ae9cddfef LUCENE-1808: Query.createWeight has been changed from protected to public
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805189 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 22:28:51 +00:00
Mark Robert Miller a77168d3c9 LUCENE-1818: QueryWrapperFilter using createWeight rather than weight
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805185 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 22:22:00 +00:00
Uwe Schindler b16e0aa31b LUCENE-1801: All Tokenizers/TokenStreams that are source of tokens call AttributeSource.clearAttributes() first. Made Token.clear() consistent to AttributeImpl (clear everything)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804392 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 22:01:42 +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 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
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 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 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
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
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
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
Mark Robert Miller f0e54e31e6 LUCENE-1406 belongs in contrib CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800832 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 15:05:34 +00:00
Mark Robert Miller 4054b4ebf3 move the web based xml demo from core changes to contrib changes - also fixes skipping # 34 in features
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800661 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 02:57:00 +00:00
Mark Robert Miller 6a47cbb5f9 LUCENE-1776: Add an option to not collect payloads for an ordered SpanNearQuery. Payloads were not lazily loaded in this case as the javadocs implied. If you have payloads and want to use an ordered SpanNearQuery that does not need to use the payloads, you can disable loading them with a new constructor switch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800393 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 14:12:15 +00:00
Mark Robert Miller 5aaf5b0167 LUCENE-1486: Move ComplexPhraseQueryParser to contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800193 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 04:06:22 +00:00
Michael Busch 343992fcbb LUCENE-1567: New flexible QueryParser framework.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800191 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 03:38:44 +00:00
Mark Robert Miller ca38f0a917 add LUCENE-1448 to bug fixes and fix double bullet number in bug fix list
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800121 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 18:09:11 +00:00
Michael Busch 1743081b07 LUCENE-1460: Changed TokenStreams/TokenFilters in contrib to use the new TokenStream API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799953 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 22:52:32 +00:00
Michael McCandless 175e8b546d LUCENE-1763: require IndexWriter be passed up front to the MergePolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799818 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 09:22:25 +00:00
Michael McCandless 1286589fd5 fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798974 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 16:34:40 +00:00
Michael McCandless 57b50dbbfe LUCENE-1705: adding missing CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798959 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 15:55:13 +00:00
Michael McCandless 26a2c427d1 LUCENE-1754: BooleanQuery detects up front if it won't match any docs and returns null from its scorer() instead of NonMatchingScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798086 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 09:50:02 +00:00
Michael Busch c311d5730c LUCENE-1448: Add TokenStream.end() to perform end-of-stream operations. Fixes offset problems when multiple fields with the same name are added to a document.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797715 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 04:11:33 +00:00
Michael McCandless be66120dff LUCENE-1644: enable different rewrite methods for MultiTermQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797694 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 00:03:33 +00:00
Michael Busch 31a5f0edcc LUCENE-1693: Various improvements to the new TokenStream API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797665 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 21:45:48 +00:00
Michael McCandless 849d072a41 LUCENE-1742: make SegmentReader, SegmentInfo, SegmentInfos public as 'expert' and 'subject-to-change-suddenly' APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@795537 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 13:29:39 +00:00
Michael McCandless eae3eea874 LUCENE-1566: do very large reads in chunks, to prevent hitting Sun JVM bug that throws invalid OOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@794770 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 18:07:35 +00:00
Mark Robert Miller ea7e4ad344 LUCENE-1688: Deprecate static final String stop word array in and StopAnalzyer and replace it with an immutable implementation of CharArraySet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@794078 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 21:39:22 +00:00
Mark Robert Miller 6bf4d35ce8 LUCENE-1583: SpanOrQuery skipTo() doesn't always move forwards as Spans documentation indicates it should.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@794063 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:56:50 +00:00
Michael McCandless 23e2a395c8 LUCENE-1678: if a subclass of a core Analyzer overrides tokenStream but not reusableTokenStream, then the core analyzer's reusableTokenStream will now fallback to tokenStream to fix the previous back-compat break
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@793966 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 16:32:18 +00:00
Uwe Schindler 70b7e0b41b LUCENE-1741: Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@793826 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 09:30:31 +00:00
Uwe Schindler b2a4bc68ad LUCENE-1712: Set default precisionStep for NumericField and NumericRange*
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@793823 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 09:17:44 +00:00
Michael McCandless a284608778 LUCENE-1609: remove synchronization from terms dict by loading index up front
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@793104 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 20:48:36 +00:00
Michael McCandless e49af570d1 LUCENE-1727: make sure fields are stored in the exact order they were added to the document
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@792535 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 12:53:28 +00:00
Michael McCandless 1f1fa05a7e LUCENE-1717: properly account for RAM used by buffered deletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@792532 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 12:44:57 +00:00
Mark Harwood f7fa579971 Initial commit of LUCENE-1486 - a subclass of the default QueryParser that overrides the parsing of PhraseQueries to allow more complex syntax e.g. wildcards in phrase queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791579 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 19:32:54 +00:00
Mark Robert Miller 405b71fd70 Add proper credit for LUCENE-1599 to changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791299 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 18:44:39 +00:00
Mark Robert Miller e04abc52e7 LUCENE-1599: Add clone support for SpanQuerys. SpanRegexQuery counts on this functionality and does not work correctly without it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791280 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 17:16:16 +00:00
Uwe Schindler fed4bba63d LUCENE-1713: Rename RangeQuery -> TermRangeQuery (part 1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791175 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 20:14:12 +00:00
Mark Robert Miller 14f2a82e28 fix header formatting for changes-to-html
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@790628 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 15:38:07 +00:00
Uwe Schindler 9995a84698 Sorry, used TABS instead spaces in CHANGES.txt update. Fixed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@789683 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 11:21:35 +00:00
Uwe Schindler f3896a58df LUCENE-1461: Add support for numeric types to FieldCacheRangeFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@789682 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 11:17:14 +00:00
Michael McCandless 890d53acfb LUCENE-1625: return more status details in CheckIndex, broken out by component into separate status classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788800 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 18:10:02 +00:00
Michael McCandless 2735779bf6 LUCENE-1677: remove src/gcj
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788790 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 17:52:04 +00:00
Michael McCandless 9e49053ec1 LUCENE-1715: null out a few things on closing SegmentReader; remove finalizers from Lucene's core
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788319 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 10:55:36 +00:00
Michael McCandless 629c7ed4c7 LUCENE-1703: add IndexWriter.waitForMerges
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787834 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 21:08:16 +00:00
Michael McCandless 2d93f7e288 LUCENE-1708: optimize deletes X matching reader when merging stored fields & vectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787827 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 20:32:36 +00:00
Michael McCandless 87de0c9688 LUCENE-1466: added chainable CharFilter stage before Tokenizer to allow mapping of characters before tokenization
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787795 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 19:15:31 +00:00
Michael McCandless f03d77b558 LUCENE-1630: switch from Weight (interface) to QueryWeight (abstract class); mate in/out-of docID order scoring between Collector & Scorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787772 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 18:11:42 +00:00
Uwe Schindler edfce675a5 LUCENE-1701, LUCENE-1687: Add NumericField , make plain text numeric parsers public in FieldCache, move trie parsers to FieldCache, merge ExtendedFieldCache and FieldCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787723 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 15:42:12 +00:00
Yonik Seeley 8171a06632 LUCENE-1699: make Field.tokenStream usable with other stored field mechanisms
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787437 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 23:06:46 +00:00
Erik Hatcher 65131ca7b9 LUCENE-1405: Added support for Ant resource collections in contrib/ant <index> task.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786610 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 18:24:19 +00:00
Uwe Schindler 7b34ab8f30 LUCENE-1673: Move TrieRange to core (part 1: addition to core)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786470 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 12:09:52 +00:00
Mark Robert Miller baaa029331 LUCENE-1681: Fix infinite loop caused by a call to DocValues methods getMinValue, getMaxValue, getAverageValue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@785238 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 14:49:18 +00:00
Michael McCandless 419b065957 LUCENE-1677: deprecate gcj specializations, and the system properties that let you specify which SegmentReader impl class to use
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784541 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14 11:20:55 +00:00
Michael McCandless 392424ec11 LUCENE-1407: move RemoteSearchable out of core into contrib/remote
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784540 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14 11:13:04 +00:00
Uwe Schindler b01e4a97b7 LUCENE-1592: Add missing CHANGES.txt entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784133 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 14:23:36 +00:00
Uwe Schindler cd7436e1e8 LUCENE-1453: Remove the complicated closeDir handling from DirectoryReader which no longer "owns" the FSDirectory. A FilterIndexReader, that is wrapped around the DirectoryReader by IndexReader.open(), will handle the closing of the dir. This wrapper and all File/String IndexReader.open()'s will be removed in 3.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783280 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 10:09:20 +00:00
Uwe Schindler 406454d30b LUCENE-1672: Deprecate all String/File ctors/opens in IndexReader/IndexWriter/IndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782469 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 21:52:41 +00:00
Michael McCandless a93e2c41b0 LUCENE-1614: switch next -> nextDoc, skipTo -> advance, doc -> docID in DISI
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782410 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 16:58:41 +00:00
Michael McCandless c91e76d0a5 LUCENE-1660: make enablePositionIncrement required up-front arg
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781506 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 18:51:25 +00:00
Michael McCandless 73fd2318fd LUCENE-1656: don't compute scores by default when sorting by field
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781130 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 19:16:20 +00:00
Michael McCandless 9f2fdb26bf LUCENE-1665: deprecate SortField.AUTO
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781028 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 13:10:12 +00:00
Uwe Schindler 509e239d70 LUCENE-1658: Fix MMapDirectory, add hack for JVM bug that keeps mmapped files open, fix tests, that cannot use other dir impls than SimpleFSDirectory, some API fine tuning.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780770 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 18:34:10 +00:00
Mark Robert Miller c2aafb2f99 spelling fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780249 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 12:01:44 +00:00
Michael McCandless c514022081 LUCENE-1658: split FSDir into base class vs SimpleFSDir; strenghten javadocs on which FSDir subclass is best; add FSDir.open that picks a good default
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780225 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 10:00:45 +00:00
Michael McCandless 80a79f5bee LUCENE-1542: properly index first token(s) with 0 position increment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780220 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 09:36:10 +00:00
Mark Robert Miller 3c3b283e3c LUCENE-1653: Avoid creating a Calendar in every call to DateTools#dateToString, DateTools#timeToString and DateTools#round.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779575 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 12:01:35 +00:00
Michael McCandless d47c46f1a9 LUCENE-1575: clarify that certain float values are invalid scores
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778813 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 17:51:52 +00:00
Michael McCandless 4b6474f60c LUCENE-1654: IndexWriter now records basic diagnostics into each segment it writes; commit metadata upgraded from String to Map<String,String>
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778490 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 20:07:24 +00:00
Michael McCandless 28fe2523d9 LUCENE-1647: fix case where IndexReader.undeleteAll would make the segment's deletion count incorrect
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777686 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 19:57:53 +00:00
Michael McCandless 83e440bf6d LUCENE-1636: make TokenFilter.input final
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777197 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 17:36:53 +00:00