Commit Graph

787 Commits

Author SHA1 Message Date
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