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
Grant Ingersoll
27fc5cd348
LUCENE-1550: Added new ngram spell checking distance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776704 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 14:07:08 +00:00
Michael McCandless
571a058767
LUCENE-1634: add calibrateSizeByDeletes to LogMergePolicy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775489 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 15:58:36 +00:00
Yonik Seeley
f4415a3924
LUCENE-1596: MultiTermDocs speedup when set with MultiTermDocs.seek(MultiTermEnum)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774846 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 16:40:23 +00:00
Michael McCandless
be0a47b7e3
LUCENE-1629: move CHANGES entry to contrib; add TestArabicAnalyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774727 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 10:50:52 +00:00
Michael McCandless
e01aad89fe
LUCENE-1629: adding new contrib analyzer SmartChineseAnalyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774718 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 10:09:22 +00:00
Michael McCandless
d4f9809520
LUCENE-1593: optimize core Collectors for in-docID-order scorer case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@773194 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 10:36:41 +00:00
Mark Robert Miller
3dbed702f0
update changes.txt for LUCENE-1621
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@772158 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 11:47:30 +00:00
Michael McCandless
aa870e356f
fix CHANGES.txt number
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@771619 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 08:28:45 +00:00
Michael McCandless
3a3223639c
LUCENE-1618: added FileSwitchDirectory, which will be used for NRT readers in IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770841 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 22:12:24 +00:00
Chris M. Hostetter
582356dc2e
LUCENE-1494: Added FieldMaskingSpanQuery which can be used to cross-correlate Spans from different fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770794 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 19:14:31 +00:00
Michael McCandless
a5748695cc
LUCENE-1623: add CHANGES entry on trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770631 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 10:54:35 +00:00
Michael McCandless
baa4034c01
LUCENE-1624: don't write a new empty commit when create=true and autoCommit=false on creating IndexWriter, unless dir has no index yet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770615 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 10:25:52 +00:00
Michael McCandless
b58e470eb7
LUCENE-1611: fix case where OutOfMemoryException in IndexWriter could cause infinite merging to happen
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770414 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 19:50:34 +00:00
Michael McCandless
72d1873533
LUCENE-1604: allow IndexReader.norms to return null if the field has no norms; this is off by default but will be hardwired to on in 3.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769524 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 20:38:47 +00:00
Michael McCandless
1533642443
remove redundant CHANGES entries from trunk if they are already covered in 2.4.1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768906 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 09:27:53 +00:00
Michael McCandless
ce0113725e
fix a few small things Steven Rowe found
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768411 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 20:45:18 +00:00
Michael McCandless
f5831d86ae
LUCENE-1605: add BitVector.subset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765649 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 14:29:26 +00:00
Michael McCandless
55c0cc3922
LUCENE-1603: improve MultiTermQuery for better sharing, and so Trie(Numeric)RangeQuery can use it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765581 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 11:37:23 +00:00
Michael McCandless
1699ee9d7f
LUCENE-1603: some improvements to MultiTermQuery/FilteredTermEnum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764930 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 19:35:43 +00:00
Michael McCandless
f6f1d00d72
LUCENE-1600: don't over-intern String field names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764596 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 20:07:28 +00:00
Michael McCandless
ad79d914e4
LUCENE-1575: switch to new Collector API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764551 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 18:33:56 +00:00
Mark Robert Miller
d74d56d9c9
LUCENE-1587: RangeQuery#equals() could consider a RangeQuery without a collator equal to one with a collator.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763840 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 00:40:31 +00:00
Michael McCandless
3c91517add
LUCENE-1516: add near real-time search to IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763737 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 17:17:46 +00:00
Michael McCandless
bb8b2e1462
LUCENE-1590: don't allow stored-only fields to mess up the index-only attrs like omitNorms and omitTermFreqAndPositions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763591 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 10:37:50 +00:00
Michael McCandless
c7fe3c5cb0
LUCENE-1586: add IndexReader.getUniqueTermCount
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@762647 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:25:14 +00:00
Michael McCandless
ef613da566
carry over 2.4.1's CHANGES entry to trunk's CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@760831 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 09:52:30 +00:00
Michael McCandless
7aa012ca27
LUCENE-1573: don't ignore, or enter spinloop, when Thread.interrupt() is called
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@759556 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 19:10:55 +00:00
Mark Harwood
73a02ec6fe
Fix for Lucene-1500 - new exception added to Highlighter API to handle TokenStreams with Tokens that exceed given text length
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@758460 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 23:05:14 +00:00
Michael Busch
a7697e8cef
LUCENE-1327: Fix TermSpans#skipTo() to behave as specified in javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756669 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 17:31:43 +00:00
Michael McCandless
c443dcc662
LUCENE-1561: rename omitTf -> omitTermFreqAndPositions in Field*
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756663 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 17:26:01 +00:00
Michael McCandless
39c8421992
LUCENE-652: add org.apache.lucene.document.CompressionTools; deprecate Field.Store.COMPRESS
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756635 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 17:13:42 +00:00
Michael Busch
dc1447005d
LUCENE-1529: Properly test drop-in replacement of jar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756374 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 08:47:25 +00:00
Michael McCandless
7d18c4997a
LUCENE-1543: allow MatchAllDocsQuery to specify a field whose norms are used to set document scores
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756029 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 14:40:55 +00:00
Michael McCandless
5d05762169
LUCENE-1434: add IndexableBinaryStringTools
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755742 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 21:35:51 +00:00
Michael McCandless
75d6fab25b
LUCENE-1551: add expert IndexReader.reopen(IndexCommit)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@752538 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 17:32:37 +00:00
Michael McCandless
dcd63a35e7
LUCENE-1186: add Analyzer.close() to close the internal ThreadLocal
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@749326 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 15:08:54 +00:00
Michael McCandless
1afef18d4a
LUCENE-1546: add IndexReader.flush(String commitUserData)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@748493 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 12:20:23 +00:00
Yonik Seeley
6c176eb016
LUCENE-1398: Add ReverseStringFilter to contrib/analyzers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@747915 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 20:44:05 +00:00
Michael McCandless
657a887e95
LUCENE-1544: fix deadlock in IW.addIndexes(IndexReader[])
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@746661 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 12:20:27 +00:00
Grant Ingersoll
36438c1ee7
remove minor typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@746210 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 11:32:56 +00:00
Michael McCandless
35d2b765be
LUCENE-1506: add FilteredDocIdSet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@740361 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 17:53:46 +00:00
Michael McCandless
4d7f92be9b
LUCENE-1314: add IndexReader.clone(boolean readOnly) and reopen(boolean readOnly)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@739238 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 11:12:48 +00:00
Michael McCandless
994ae0e18a
LUCENE-1487: add FieldCacheTermsFilter, to filter by multiple terms on single-valued fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738622 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 21:05:26 +00:00
Michael Busch
13d5245314
LUCENE-1528: Add support for Ideographic Space to the queryparser.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738592 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 19:24:28 +00:00
Michael McCandless
96e0aaf49e
LUCENE-1483: switch to newly added MultiReaderHitCollector for all core collectors, that is aware of segment transitions during searching, to improve performance of searching and warming
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@738219 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 20:15:21 +00:00
Michael McCandless
c6f6f01643
LUCENE-1316: don't call synchronized IndexReader.isDeleted when scoring MatchAllDocsQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@737513 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 14:38:43 +00:00
Mark Robert Miller
8bf2fda5bd
LUCENE-1224: Short circuit FuzzyQuery.rewrite when input token length is small compared to minSimilarity.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@735517 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 18:24:14 +00:00
Michael McCandless
d3987d9ed4
LUCENE-1484: remove synchronization on SegmentReader.document by using ThreadLocal to maintain thread-private clones of FieldsReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@727338 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 10:36:30 +00:00
Grant Ingersoll
2225462178
LUCENE-1380: Add PositionFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@725691 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 14:17:44 +00:00
Michael McCandless
d53b6786c9
LUCENE-1461: add Matt Ericson as coauthor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724551 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 23:26:11 +00:00
Michael McCandless
efc985cbf4
LUCENE-1478: allow SortField to use a custom numeric FieldCache parser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724484 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 21:07:45 +00:00
Mark Robert Miller
8660ccb303
LUCENE-1390: Added ASCIIFoldingFilter, a Filter that converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if one exists. ISOLatin1AccentFilter, which handles a subset of this filter, has been deprecated.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724053 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 23:25:42 +00:00
Michael McCandless
4a0a5664dd
LUCENE-1468: switch Directory.list() to Directory.listAll(), which does no filtering of returned array
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723789 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 17:03:13 +00:00
Michael McCandless
a660f21b99
LUCENE-1461: fix single term per document -> single term for a given field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723375 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 17:13:40 +00:00
Michael McCandless
278dc0fc04
LUCENE-1296: add protected method CachingWrapperFilter.docIdSetToCache
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722174 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 18:50:45 +00:00
Michael McCandless
f562594180
LUCENE-1461: added FieldCacheRangeFilter, which speeds up creation of RangeFilter by using the FieldCache
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@721663 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 11:50:28 +00:00
Michael McCandless
755e7aec14
LUCENE-1453: add entry to CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@720783 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 10:07:14 +00:00
Mark Robert Miller
ea3824bf34
LUCENE-1465: NearSpansOrdered returns payloads from first possible match
...
rather than the correct, shortest match; Payloads could be returned even
if the max slop was exceeded; The wrong payload could be returned in
certain situations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@720669 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 23:38:56 +00:00
Michael Busch
eb88fc88fd
LUCENE-1467: Add nextDoc() and next(int) methods to OpenBitSetIterator.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@720609 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 21:39:47 +00:00
Michael Busch
898cfe87cd
LUCENE-1422: New TokenStream API that uses a new class called AttributeSource instead of the now deprecated Token class. All attributes that the Token class had have been moved into separate classes: TermAttribute, OffsetAttribute, PositionIncrementAttribute, PayloadAttribute, TypeAttribute and FlagsAttribute.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@718798 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 23:41:49 +00:00
Michael McCandless
5c9e275c3b
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@718222 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 11:46:28 +00:00
Yonik Seeley
0979fdc423
LUCENE-1451: Add public constructors to FSDirectory and subclasses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@714110 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 19:22:22 +00:00
Michael McCandless
e213a4e828
LUCENE-1452: fixes cases during merge and lazy field access where binary field is truncated to 0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713962 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 10:02:44 +00:00
Michael Busch
b69ab2b50a
LUCENE-1446: Add compatibility tag to common-build.xml and run backwards-compatibility tests in the nightly build.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712920 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 02:31:50 +00:00
Yonik Seeley
b179b038a1
LUCENE-1443: Performance improvement for OpenBitSetDISI.inPlaceAnd()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712908 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 01:54:49 +00:00
Michael McCandless
abe6ea0828
LUCENE-1424: enable MultiTermQuery to do constant scoring; refactor Range, Wildcard, Prefix to expose this
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712890 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 00:40:00 +00:00
Michael Busch
66c16c196d
LUCENE-1440: Add new targets to build.xml that allow downloading and executing the junit testcases from an older release for backwards-compatibility testing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712416 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 18:30:37 +00:00
Mark Harwood
de7ab5b898
Added new web application demo for contrib's XmlQueryParser.
...
This change involves:
* Adding Tomcat's Servlet jar into the lib directory and appropriate entry in NOTICE.txt following the lead from Solr's packaging
* Adding new "demo" directory to XmlQueryParser src directory
* Changing XMLQueryParser's build file to create a demo War file
* Changing the main build to include the demo War file (and any other future contrib/*/war files) in the binary distributions
The packaged source distribution has NOT been changed currently to add a lib directory with the servlet.jar so building from a cut-down src distro as opposed to the full subversion /trunk directory will not currently build the war file (the xml query parser build file detects the absence of servlet.jar). Not sure if this is a problem currently.
TODO:
Now that the servlet jar is available in Subversion I would recommend that the other existing WAR file,"luceneweb.war", is changed to move much of the java code which is currently embedded in JSP files into servlet .java files. This would ensure that the build system will check that the code in this application compiles cleanly with the latest Lucene APIs - otherwise any issue will only become apparent when a user tries to run a JSP.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712318 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 00:20:32 +00:00
Michael McCandless
24d76157a0
LUCENE-1420: let Similarity.computeNorm compute the norm; add option to discount overlap tokens when computing lengthNorm
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@710117 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 18:03:58 +00:00
Michael McCandless
4990152243
LUCENE-1427: speed up QueryWrapperFilter by not computing scores nor an intermediate OpenBitSet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@709459 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 16:18:13 +00:00
Grant Ingersoll
8dfe073760
LUCENE-1406. Added Arabic stemming and normalization. Also added new method to WordListLoader to allow for comments in word lists.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706342 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 17:19:29 +00:00
Michael McCandless
0b90b5e23d
LUCENE-1382: add opaque userData String passed to IndexWriter.commit, recorded into the segments file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706240 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 11:33:13 +00:00
Michael McCandless
0250cccacf
LUCENE-1411: add expert API to IndexWriter to open an index for writing on an arbitrary commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706171 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 09:48:55 +00:00
Michael Busch
f8e6c62a30
LUCENE-1419: Add expert API to set custom indexing chain.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@704193 13f79535-47bb-0310-9956-ffa450edef68
2008-10-13 18:12:11 +00:00
Yonik Seeley
00f98b1fd7
LUCENE-1415: MultiPhraseQuery has incorrect hashCode() and equals()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703565 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10 19:45:19 +00:00
Michael McCandless
98e1129a14
break off contrib/CHANGES.txt's 2.4.0 release section
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700743 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 11:22:58 +00:00
Michael McCandless
20a0ff09b3
remove ()'s that confuse changes-to-html
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700428 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 12:06:29 +00:00
Michael McCandless
60bb2c1608
new estimate for 2.4 release
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700398 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 09:19:35 +00:00
Michael McCandless
575b3cec4a
move the NOTE about the change to back compat policy wrt Fieldable under a new 'Changes in backward compatibility policy', so that changes-to-html isn't confused by it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700095 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 12:29:29 +00:00
Michael McCandless
34cb65c34d
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700083 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 12:15:41 +00:00
Michael McCandless
a40530e4a4
LUCENE-1401: remove new deprecated IndexWriter ctors; default autoCommit=false for new ctors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698932 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 12:04:38 +00:00
Michael McCandless
6927ee46a4
LUCENE-1396: improve PhraseQuery.toString: gaps are shown with a ? and multiple terms at the same position are joined with |
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697469 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 10:41:41 +00:00
Michael McCandless
c206a378b7
LUCENE-1335: adding missing entry to CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697277 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 23:23:10 +00:00
Michael McCandless
28bc234edc
fix 2.4 -> 2.4.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696718 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 17:09:52 +00:00
Michael McCandless
11074a2c4e
switch to 2.9-dev on trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696715 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 17:06:24 +00:00
Grant Ingersoll
a8c0a8a810
LUCENE-1279: Add support for Collator to RangeFilter, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696056 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:03:21 +00:00
Otis Gospodnetic
8d02d7859f
LUCENE-1131 - Added numDeletedDocs() to IndexReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695510 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 15:33:15 +00:00
Michael McCandless
ac6ee32b60
LUCENE-1383: workaround the 'leak' in Java's ThreadLocal to prevent Lucene from causing OutOfMemoryError in certain situations, eg J2EE applications
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695184 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 10:32:59 +00:00
Michael McCandless
4218996230
LUCENE-1366: rename Field.Index.* options
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694004 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 21:38:52 +00:00
Grant Ingersoll
2bb9ab2246
LUCENE-1354: Provide programmatic access to CheckIndex
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@693508 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 16:34:18 +00:00
Michael McCandless
e6dcf14620
LUCENE-1375: added IndexCommit.getTimestamp method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691952 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 09:40:29 +00:00
Doron Cohen
80aed8ddae
LUCENE-1356: Allow easy extensions of TopDocCollector.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691824 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 23:18:51 +00:00
Michael McCandless
01fada8d1d
LUCENE-1371: added entry in CHANGES for API change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691559 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 10:08:56 +00:00
Michael McCandless
bfff632dbc
LUCENE-753: Add new NIOFSDirectory implementation to use java.nio.* for access the same file concurrently with no locking
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690539 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:33:06 +00:00
Michael McCandless
1bbfaa5445
LUCENE-1061: make it simpler to override concrete Query implementations created by QueryParser by factoring out protected newXXXQuery() methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690535 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:12:19 +00:00
Michael McCandless
4661a1b02b
LUCENE-1367: add IndexCommit.isDeleted()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@689791 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 11:50:15 +00:00
Michael McCandless
f0d2a151ca
LUCENE-1329: enable read-only IndexReaders; the default is to get a read-write IndexReader on open, but in 3.0 this will change to read-only
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@688323 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 13:47:18 +00:00
Grant Ingersoll
09467ad18e
LUCENE-1001: Make payloads accessible from SpanQuery's
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687379 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 16:06:36 +00:00
Michael McCandless
bb6b711718
LUCENE-1333: improvements to Token reuse API and full cutover to reuse API for all core and contrib analyzers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687357 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 14:38:07 +00:00
Michael McCandless
e31a9da835
LUCENE-1334: add Term(String fieldName) constructor that sets term text to empty string
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687014 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 10:40:39 +00:00
Michael McCandless
a26f3734c6
LUCENE-1219: add Fieldable.getBinaryValue/Offset/Length reuse API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@686723 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 10:31:03 +00:00
Doron Cohen
027307857e
LUCENE-1353: Javacc target to generate precedence query parser.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@685114 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 10:49:59 +00:00
Michael McCandless
60b43961da
LUCENE-1340: add Fieldable.omitTf to not index term freq, positions, payloads for the field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682812 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 17:17:42 +00:00
Grant Ingersoll
dd066edcf1
LUCENE-1351: clean additional ligatures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682766 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 15:47:33 +00:00
Grant Ingersoll
f2838b450b
LUCENE-1349. Mark Fieldable as modifiable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682690 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 12:29:11 +00:00
Grant Ingersoll
316cfd14df
LUCENE-1349: Mark Fieldable as changeable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682689 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 12:27:42 +00:00
Doron Cohen
82c1724efb
LUCENE-1348: relax TestTimeLimitedCollector.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682619 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 07:58:07 +00:00
Doron Cohen
0eb1be2b48
LUCENE-1310: Phrase query with term repeated 3 times needed more slop than expected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682186 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 15:40:14 +00:00
Michael McCandless
dc65b35533
LUCENE-1324: add TokenFilter.reset()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673990 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 10:06:17 +00:00
Michael McCandless
22f76f1ebf
LUCENE-1325: add IndexCommit.isOptimized() method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673979 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 09:43:12 +00:00
Michael McCandless
13c08a947c
LUCENE-1311: add IndexReader.listCommits & IndexReader.open methods to open a specific commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@671218 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 15:41:06 +00:00
Otis Gospodnetic
ce19aa28c0
LUCENE-1297 - Allow other string distance measures for the SpellChecker
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@669085 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 05:01:57 +00:00
Doron Cohen
d69885c9d7
LUCENE-1303: BoostingTermQuery's explanation marked as a Match
...
depending only upon the non-payload part of the score.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@666949 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 04:15:10 +00:00
Grant Ingersoll
8c97e9b87b
LUCENE-1299: Properly handle when IndexReader is not null and Field is in the spell checker
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@663649 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 16:12:08 +00:00
Grant Ingersoll
f89cda6dde
LUCENE-1298: Allow MLT to use custom similarity
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@663054 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 10:41:41 +00:00
Grant Ingersoll
1979d75605
LUCENE-1295: Made method public and added retrieveInterestingTerms variation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@662413 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 12:29:02 +00:00
Michael McCandless
d8c8c0e2c0
LUCENE-1288: add getVersion, getGeneration to IndexCommit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@660904 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 11:00:33 +00:00
Michael Busch
df7fb0f45c
LUCENE-1189: Fixed the QueryParser to handle escaped characters within quoted terms correctly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@660674 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 19:55:36 +00:00
Michael Busch
0ebfcc663e
LUCENE-1187: ChainedFilter and BooleanFilter now work with new Filter API and DocIdSetIterator-based filters.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659635 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 19:25:05 +00:00
Michael Busch
08a2eb4665
LUCENE-1290: Deprecate org.apache.lucene.search.Hits, Hit and HitIterator.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659626 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 18:57:55 +00:00
Michael Busch
eb0596c721
LUCENE-1195: Improve term lookup performance by adding a LRU cache to the TermInfosReader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659602 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 17:20:31 +00:00