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
e8ef5a0b9a
LUCENE-1567: Adding new javadocs section for the query parser to the Lucene website.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800192 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 04:04:08 +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
3c586d3528
LUCENE-1764: beef up javadoc with warning
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800119 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:59:21 +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
Uwe Schindler
be85ca650a
Add extra test for new TokenStream API backwards layer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799359 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 16:45:43 +00:00
Uwe Schindler
1073d29a53
LUCENE-1762: Slightly more readable code in Token/TermAttributeImpl, additional tests, deep cloning bug with Token.copyTo fixed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799025 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 19:14:07 +00:00
Michael McCandless
9f12a2be6b
LUCENE-1766: document IndexReader/Searcher's thread safety as well
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799011 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 18:53:25 +00:00
Michael McCandless
8d5b662535
LUCENE-1766: spell out IndexWriter's thread safety in the javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798835 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:18:30 +00:00
Chris M. Hostetter
e4585c507d
removing empty file that was left in by mistake in r798086 (part of LUCENE-1754)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798772 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 03:41:21 +00:00
Chris M. Hostetter
5a21421a61
LUCENE-1764 minor tweaks to SampleComparable so that it causes more sane FieldCache usage in contrib/remote tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798726 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 23:14:13 +00:00
Uwe Schindler
72a17d83d3
LUCENE-1754: JavaDoc updates
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798110 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 12:03:51 +00:00
Michael McCandless
45cf5ebe33
LUCENE-1754: EMPTY_DOCIDSET subclasses DocIdSet directly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798104 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 11:23:11 +00:00
Michael McCandless
dbff1fc9b5
LUCENE-1754: just use EMPTY_DOCIDSET.iterator() instead of new EmptyDocIdSetIterator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798102 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 11:12:36 +00:00
Michael McCandless
312400842f
LUCENE-1754: add EmptyDocIdSetIterator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798091 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 10:02:34 +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
Uwe Schindler
05351a6f63
Remove left-over javadoc <font> tag.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797870 13f79535-47bb-0310-9956-ffa450edef68
2009-07-26 07:30:19 +00:00
Uwe Schindler
0f9d2ec5b8
Some additional changes to LUCENE-1644 / MTQ:
...
- Deprecate one ctor of MultiTermQuery(Term), as Term field is deprecated
- Add readResolve also for the default auto rewrite method (not really needed because equals/hashcode impl, but singleton status is preserved)
- Some changes in NumericRangeQueryTests (now they use always constant score boolean/filter rewrite in basic tests, the default in all other tests)
- Add some explanations for the rewriteMethod used in NumericRangeQery's ctor (term enum seeks and so on). I also made a switch statement of the valSize (like at other places in this class, this is for later 8 or 16 bit valSize extensions)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797741 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 10:54:30 +00:00
Uwe Schindler
187ac2b4f3
LUCENE-1693: Add AttributeSource ctors to Tokenizer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797727 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 09:23:07 +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 Busch
e4b34462ee
LUCENE-1760: TokenStream API javadoc improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797714 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 03:41:39 +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
843f196584
add smartcn to website docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797181 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 18:32:12 +00:00
Michael McCandless
91e37bf1fb
LUCENE-1609: un-deprecate IndexReader.getTermInfosIndexDivisor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@796916 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 00:02:48 +00:00
Michael McCandless
374822897c
remove print
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@796792 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 16:44:28 +00:00
Michael Busch
869aabff8f
Small fix for TestPayloads testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@796617 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 06:24:54 +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
e4a7f98d71
LUCENE-1665: also deprecate short-hand ctors/setters in Sort that imply SortField.AUTO
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@795179 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 18:23:30 +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
Michael McCandless
c79f54975e
LUCENE-1505: switch local lucene to use trie's NumericUtils for mapping doubles to strings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@794721 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 15:38:06 +00:00
Michael McCandless
d7579b7e1e
LUCENE-1614: if a DISI doesn't implement advance, emulate it using skipTo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@794399 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 20:21:53 +00:00
Michael McCandless
229a0a84a1
LUCENE-1744: fix BooleanScorer2.doc() to be correct when it's the top scorer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@794233 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 11:15:58 +00:00
Michael McCandless
6361faa7a3
fix javadoc warning
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@794228 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 10:58:18 +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
4a63ea0f6c
LUCENE-1726: move unchanged readers to private CoreReaders class that's shared across cloned SegmentReaders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@793039 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 17:08:19 +00:00
Michael McCandless
ce1231b37c
LUCENE-1739: when computing FieldInfos.hasProx(), disregard un-indexed fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@792918 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 12:31:17 +00:00
Michael McCandless
9cbe5f4ff4
LUCENE-1522: adding new Fast Vector Highlighter contrib
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@792542 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 13:06:51 +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
Michael McCandless
343f292dad
add missing images to forrest's source dirs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791951 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 19:37:15 +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
Uwe Schindler
10fbc9814a
Fix some JavaDoc errors in Numeric*
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791535 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 16:36:05 +00:00
Uwe Schindler
6a3752feb8
LUCENE-1734: CharReader should delegate reset/mark/markSupported
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791415 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 08:55:52 +00:00
Uwe Schindler
7acabfecf0
LUCENE-1713: Some minor fixes and additions to JavaDocs. ConstantScoreRangeQuery is fixed to this mode now.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791406 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 07:58:28 +00:00
Mark Robert Miller
9689ddf9e8
LUCENE-1599: missed SpanFirstQuery#clone and setting boost on clones
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791302 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 19:09:01 +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
21fba4ee7b
Fix equals() and hashCode() of FuzzyQuery (boost etc. missing, so use super methods)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791264 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 16:15:00 +00:00
Uwe Schindler
fc44f0dc3c
LUCENE-1713, LUCENE-1673: For completeness, add some getter methods to TermRangeFilter, to be similar like TermRangeQuery and NumericRangeFilter.
...
This also unifies the hashCode and equals methods in this family of queries. It also fixes a bug in hashCode and equals of NumericRangeQuery, missing the constantScoreRewrite property.
TermRangeTermEnum was changed to have a consistent ctor with TermRangeQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791263 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 16:01:52 +00:00
Uwe Schindler
b0873e4476
LUCENE-1713: Rename RangeQuery -> TermRangeQuery (part 2)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@791176 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 20:15:20 +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
86c3b356be
missing Apache license header
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@790581 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 13:25:08 +00:00
Uwe Schindler
5fd0be7226
Revert revision 788295 (reenable support for null as both ends in NumericRangeQuery) and add support for this in FieldCacheRangeFilter, too. See discussion in SOLR-940.
...
The strange handling of null terms (which lead me to the change) in RangeQuery will be fixed together with LUCENE-1713.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@789692 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 12:27:50 +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
8304b88578
LUCENE-1724: replace java 1.5 only code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@789673 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 10:50:19 +00:00
Michael McCandless
cefa4d0bf0
LUCENE-1705: clear flushed doc count in deleteAll
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@789651 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 10:19:11 +00:00
Michael McCandless
ef59ce971c
LUCENE-1630: additional test case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788954 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 11:14:42 +00:00
Michael McCandless
8a641eb4f7
LUCENE-1630: fix NPEs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788802 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 18:14:48 +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
64a55ede8b
LUCENE-1705: add deleteAll to IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788785 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 17:45:14 +00:00
Uwe Schindler
d820e34a26
Fix the special corner case, that an exclusive range starting/ending with MAX_VALUE/MIN_VALUE overflows the bounds. Return a empty TermEnum in this case (which causes an EMPTY_DOCIDSET returned from getDocIdSet) (see LUCENE-1461 discussions)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788728 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 15:02:49 +00:00
Michael McCandless
2e7267478d
LUCENE-1630: call the right createWeight method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788509 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 20:57:11 +00:00
Michael McCandless
70040e19ec
LUCENE-1707: refCount doesn't need to be volatile
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788493 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 19:54:49 +00:00
Michael McCandless
ec88b1578d
LUCENE-1630: make Query.createQueryWeight optional, with default impl to wrap existing createWeight
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788347 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 13:13:05 +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
Uwe Schindler
1e61831f8a
Enforce at least one bound != null for NumericRangeQuery to be consistent with other range query types
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788295 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 08:51:12 +00:00
Uwe Schindler
5f61172464
Javadoc update:
...
The example impl in Collector missed the new method acceptsDocsOutOfOrder, added and reformatted
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788203 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 22:57:46 +00:00
Uwe Schindler
8173b9f253
It is better to fail early here. If you incorrectly override e.g. getDocIDSet instead of getDocIdSet(), you will never find the error, only get NPEs at unrelated positions. Throwing the UOE shows exactly where to look for the error.
...
For a similar case see the new DocIdSetIterator.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788193 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 22:04:31 +00:00
Grant Ingersoll
db261436cf
LUCENE-1706: Lucene powered search for the site
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@788070 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 16:20:00 +00:00
Michael McCandless
d9f11b9be4
LUCENE-1466: add unit test for CharFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787946 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 08:54:52 +00:00
Michael McCandless
7792aebe92
LUCENE-1466: add test case for MappingCharFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787875 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 00:11:50 +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
434da77559
LUCENE-1646: when throwing ParseException from QueryParser, include root cause
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787805 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 19:55:28 +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
Uwe Schindler
75a11ef754
LUCENE-1701: Add some missing javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787786 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 18:46:55 +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
87483858d7
Fix LockFactory test to respect temp directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787757 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 17:41:41 +00:00
Michael McCandless
24d827fd70
LUCENE-1715: remove finalize from IndexWriter, DirectoryReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787744 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 16:31:53 +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
Michael McCandless
73b462a823
add javadocs NOTE stating that the core collectors pre-allocate the full array[numHits] up front
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787628 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 10:48:55 +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
Michael McCandless
ec8088654d
bulk fix svn:eol-style to native for text files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@787424 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 22:18:56 +00:00
Uwe Schindler
579a0704cd
use floatToRawIntBits and doubleToRawLongBits for encoding float values as normalization is not needed and much faster
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786770 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 08:50:33 +00:00
Michael McCandless
fc243f12ce
LUCENE-1700: make sure expungeDeletes does its job even when a near real-time reader it in use
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786551 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 15:37:05 +00:00
Michael McCandless
ec65df2156
LUCENE-1639: fix case where doc stores are incorrectly double opened, thus leaving open file handles after IndexWriter is closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@786545 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 15:30:05 +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
2f7b9df887
add delta param to TestDocValues assertEqueals(string,float,float) calls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@785252 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 15:19:34 +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
ea9fcfe3fc
LUCENE-1694: fix Query.mergeBooleanQueries to take BooleanQuery[] param
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@785222 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 14:08:28 +00:00
Michael McCandless
757795bffe
LUCENE-1684: add matchVersion to StandardAnalyzer, and improve defaults if version is 2.9+
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784984 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 21:19:03 +00:00
Uwe Schindler
6ed703e655
Move wrong-placed test around and remove empty "de" directory in analysis.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784981 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 21:11:49 +00:00
Uwe Schindler
3a176d749a
Fix the haywire bold tag in javadocs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784961 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 20:17:02 +00:00
Uwe Schindler
b56c5ba5de
Fix javadoc warning (symbol not accessible)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784865 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 17:07:29 +00:00
Uwe Schindler
a718f0320a
LUCENE-1407: move RemoteSearchable out of core into contrib/remote (add javadocs to developer resources)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784758 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 12:45:05 +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
Grant Ingersoll
1511ec5e31
LUCENE-1676: in-stream payload support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784297 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 22:26:01 +00:00
Michael McCandless
ad94a3d47a
fix javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784228 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 18:49:21 +00:00
Michael McCandless
2b60bb3cbc
fix tests to pass on Java 1.4, again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784194 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 17:00:19 +00:00
Uwe Schindler
708c46b66f
LUCENE-1686: Remove unnecessary NULL check in FindSegmentsFile - cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@784094 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 12:27:14 +00:00
Michael McCandless
9dc231fb74
LUCNEE-1642: respect destination IW's CFS when copying tail segments in addIndexesNoOptimize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783748 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 12:52:13 +00:00
Uwe Schindler
fd63593d66
LUCENE-1592: deprecate TermsEnum.skipTo()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783747 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 12:46:41 +00:00
Mark Robert Miller
2099947cdf
LUCENE-1598: FieldComparatorSource should be Serializable for back compat with SortComparatorSource
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783598 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 01:45:00 +00:00
Michael McCandless
5b654095c6
LUCENE-1584: add hook that's called on successful merge
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783588 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 00:21:52 +00:00
Michael McCandless
eb6fbfa3d5
LUCENE-1682: fix some unit tests to use private filesystem dir when testing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783487 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 20:15:19 +00:00
Mark Robert Miller
5ddf4961f3
javadoc typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783458 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 19:17:42 +00:00
Michael McCandless
f2de08e85a
add missing copyright
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783436 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 18:06:29 +00:00
Michael McCandless
89e1dcf3b4
LUCENE-1679: make difference non-final
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783371 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 14:39:56 +00:00
Michael McCandless
2c351e832e
LUCENE-1680: make prefix Term accessible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783370 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 14:39:12 +00:00
Uwe Schindler
e3c3d443a8
LUCENE-1453: Fix IndexReader.open() to close directory, when open() of the underlying DirectoryReader failed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@783314 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 12:21:27 +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
Michael McCandless
386552d7b1
make HitCollectorWrapper public
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782932 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 09:53:26 +00:00
Uwe Schindler
3331d74c5e
These 2 tests should use the refcounting dir impls, because the test checks, that exectly this refcounting works with reopen()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782754 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 19:55:55 +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
9dbff2618f
LUCENE-1651: always return DirectoryReader (renamed from MultiSegmentReader) from IndexReader.open
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782406 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 16:31:18 +00:00
Michael McCandless
57adcb5bd8
fix test cases using RemoteSearchable to pick a random port instead of hardwiring to 1099, so such tests running at the same time don't conflict
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782403 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 15:47:21 +00:00
Yonik Seeley
c14a2bfe49
fix SortField.equals+hashCode by using comparatorSource
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782322 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 00:44:54 +00:00
Yonik Seeley
d8e7b96839
remove redundant ensureOpen
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@782321 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 00:31:57 +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
42693ff056
LUCENE-1451: deprecate methods that use FSDirectory.getDirectory under-the-hood
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781333 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 10:38:57 +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
Otis Gospodnetic
8945ac1c13
LUCENE-1378: Removed remaining authors from javadocs/HTML/java source code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781055 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 15:16:04 +00:00
Michael McCandless
0939711748
LUCENE-1665: deprecate SortField.AUTO
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@781027 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 13:09:11 +00:00
Michael McCandless
92cf862990
don't use Java 5 code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780896 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 00:54:01 +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
Michael McCandless
558a991a0f
LUCENE-1670: improve javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780608 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 10:27:11 +00:00
Uwe Schindler
98e2f78189
LUCENE-1658: Fix ClassCastException during cloneing SimpleFSIndexInput
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780320 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 20:47:11 +00:00
Michael McCandless
6d89eea88a
rename TeeSinkTokenTest so that ant test actually runs it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780268 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 14:05:18 +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
Uwe Schindler
5f6d0c7bd6
LUCENE-1654: Fix UOE with old-style user-data indexes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779686 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 17:30:56 +00:00
Michael McCandless
54fa7be67b
LUCENE-1666: use LucenePackage to get version from JAR's manifest, if available
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779683 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 17:27:57 +00:00
Michael McCandless
6dcd9628f5
LUCENE-1666: if JAR has null impl version, fallback to Lucene's main version; also add main version in, if the JAR's impl version doesn't contain it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779625 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 15:38:44 +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
8401e60861
LUCENE-1657: make readOnly a required param when opening IndexReader/Searcher
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779312 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 21:00:18 +00:00
Yonik Seeley
76e01c1d06
LUCENE-1662: consolidate FieldCache and ExtendedFieldCache default instances
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779277 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 19:10:24 +00:00
Michael McCandless
8f9e8ab285
LUCENE-1663: make the query parser syntax description version agnostic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779181 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 14:06:13 +00:00
Michael McCandless
e01ac9ce2e
fix forrest error in fileformats.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779179 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 14:02:56 +00:00
Michael McCandless
d12461a812
LUCENE-1436: switch classes used by BooleanScorer2 from public to package-private; relax ReqExclScorer.exclScorer to be DISI from Scorer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778877 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 20:41:54 +00:00
Michael McCandless
b369db97ec
LUCENE-1661: make SortField.getComparator public
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778861 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 19:52:52 +00:00
Michael McCandless
cb5d9c56ff
fix CheckIndex -fix to immediately abort if no segments file is present
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778834 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 18:35:50 +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
Mark Robert Miller
370a3f4580
use setTimeinMillis - we require 1.4 so we don't need to worry that it was protected on 1.3 anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778795 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 16:50:32 +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
78659bb804
LUCENE-1655: get unit tests back to 1.4 only
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778024 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 21:00:03 +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
caeedf1233
LUCENE-1636: catch null input passed to AttributeSource ctor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777525 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 13:52:28 +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
Michael McCandless
7c071d5c8e
LUCENE-1648: carry over hasChanges/deletionsDirty/normsDirty/pendingDeleteCount when a SegmentReader w/ pending changes is cloned
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@777080 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 11:45:21 +00:00
Michael McCandless
0769f8130a
don't let new merges start after finishMerges when closing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776877 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 21:54:35 +00:00
Michael McCandless
a4c96b1738
LUCENE-1645: clone child SegmentReaders on reopening/cloning MultiSegmentReader so changes remain private
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776819 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 19:38:59 +00:00
Michael McCandless
2f675d1e27
clarify constantScoreRewrite for MultiTermQuery/RangeQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776805 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 18:46:55 +00:00
Uwe Schindler
6156cc18a4
LUCENE-1641: Correct spatial and trie documentation links in JavaDocs and website
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776190 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 05:11:26 +00:00
Michael McCandless
af71c1829d
LUCENE-1640: fix MockRAMDir's internal synchronization (used only by unit tests)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776053 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 19:07:32 +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
Michael McCandless
130c568b44
LUCENE-1638: fix thread hazard when autoCommit=true and multiple threads are committing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775249 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 17:30:43 +00:00
Yonik Seeley
ca5a7436fa
LUCENE-1596: check that enum and termdocs came from same reader before invoking optimization
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@775201 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 15:50:12 +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
Mark Robert Miller
cc240447d4
pendingOutput is a bit generic for a field in a large class - changed to pendingSegnOutput
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774626 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 03:57:09 +00:00
Michael McCandless
549996ec70
fix javadoc typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@774289 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 12:16:35 +00:00
Yonik Seeley
dc0ba58d0e
LUCENE-1633: fix toString typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@773863 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 12:21:21 +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
Michael McCandless
4a41b8c229
LUCENE-1625: properly set openReaderPassed in CheckIndex
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@773190 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 10:21:41 +00:00
Mark Robert Miller
3c434afb8f
LUCENE-1621: deprecate MultiTermQuery:getTerm
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@772156 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 11:42:05 +00:00
Michael McCandless
703f1d794b
add getters to FSD; change listAll to directly create String[]
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@771260 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 10:16:21 +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
Michael McCandless
a068b83719
LUCENE-1623: fix case that was swallowing IOException; use .clear() instead of creating new ArrayList/HashMap
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770839 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 22:08:43 +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
ab1254b4e6
fix Bollean -> Boolean typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770715 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 15:34:43 +00:00
Michael McCandless
311640cd35
LUCENE-1623: properly handle back-compatibility of field names with non-ascii characters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770625 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 10:37:08 +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
Chris M. Hostetter
9620458453
another bit of sanity checking for queries: rewriting should be equal to cloning and rewriting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@770483 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 23:18:13 +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
888a897063
LUCENE-1616: switch to single setOffset API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769543 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:17:38 +00:00
Michael McCandless
e4d9711c97
remove dead code (exceptions list) from ConcurrentMergeScheduler; add comment to the 250 msec sleep
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769533 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 20:59:44 +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
f3189d8063
LUCENE-1617: add -Dtestpackage=XXX and -Dtestpackageroot=lucene to run a package's tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769522 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 20:23:52 +00:00
Michael McCandless
8c8500d1f8
make default exception handler in ConcurrentMergeHandler pause for 250 msec after each exception, to prevent saturating CPU
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769431 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 15:12:53 +00:00
Michael McCandless
ea90d1152d
add missing interrupt restore on InterruptedException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769409 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 14:05:43 +00:00
Michael McCandless
3b71cc921a
LUCENE-1619: remove unnecessary initTermBuffer()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769300 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 08:46:25 +00:00
Michael McCandless
984ac64054
add defensive asserts for the indexInterval / skipInterval in tis/tii files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@769294 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 08:33:37 +00:00
Michael McCandless
6fd8d227d9
LUCENE-1615: remove some more deprecated uses of Fieldable.omitTf
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768908 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 09:34:05 +00:00
Michael McCandless
65fd24fbc4
LUCENE-1610: fix changes-to-html to properly format <code>...</code>
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768427 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 22:21:38 +00:00
Mark Robert Miller
b839a65395
move detectType to SortField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768385 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 17:59:04 +00:00
Michael McCandless
91dcc5cfcb
LUCENE-1516: add missing getter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768378 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 17:32:30 +00:00
Mark Robert Miller
b8bb58c1ca
put in warning about fvhq not doing auto resolution on the SortFields passed to it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768371 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 17:00:39 +00:00
Otis Gospodnetic
09c6c1a44c
- Fixed javadoc and some crazy indentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768337 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 15:51:31 +00:00
Mark Robert Miller
2bed56df6a
put back auto resolution that LUCENE-1483 moved out - needed for those using fshq without indexsearcher
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@768275 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 12:30:10 +00:00
Doron Cohen
6a57acf9d4
update to search/function javadocs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@767283 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 20:19:55 +00:00
Michael McCandless
0a828c2f9d
LUCENE-1573: add missing synchronized in test case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@766440 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 09:38:26 +00:00
Michael McCandless
33f6b48d1a
message (to infoStream) when a merge exception is handled
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765663 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 15:22:09 +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
Mark Robert Miller
4560d9da77
update to TermEnum#skipTo javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765620 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 13:02:12 +00:00
Mark Robert Miller
45986b246c
feed junit found and expected in assertMatchesPattern
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765584 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 11:50:36 +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
26be4aa353
don't swallow unexpected IOException in TestLockFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764734 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 10:49:23 +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
6cab0952aa
fix SnapshotDeletionPolicy to remove the test dir if present to prevent false failures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764579 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 19:35:32 +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
cb95e45419
LUCENE-1561: don't change Fieldable interface for the rename; add deprecated to AbstractField's omitTf methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763354 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 19:17:56 +00:00
Michael McCandless
9fc1c180b2
LUCENE-1546: also declare all subclasses' doCommit() to be deprecated
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@763024 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 22:52:49 +00:00
Michael McCandless
b86ded6fae
LUCENE-1582: enable FieldCache.Parser to stop early
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@762684 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 10:59:22 +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
3fc80aa239
clarify limitations of implementation vs file format itself
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@761886 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 10:18:05 +00:00
Michael McCandless
47ee1d3c27
make it clear that IW.commit() commits all changes, not just added/deleted docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@761414 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 20:16:57 +00:00
Michael McCandless
fe475f0176
small optimization: re-use a single TermDocs instance when deleting-by-Term
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@761000 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 18:25:18 +00:00
Michael McCandless
12e212ccae
LUCENE-1579: make sure cloned SegmentReaders share the same entry in FieldCache
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@760486 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 15:41:08 +00:00
Michael McCandless
7be6fa54f0
fix javadocs for optimize, on transient disk usage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@760186 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 21:31:01 +00:00
Grant Ingersoll
c2b6731cc4
Add StopFilter makeStopSet methods that take a list, since we just call Arrays.asList() again anyway and we might already have a list
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@760058 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 17:26:55 +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
Michael McCandless
2d221f79ad
add javadoc NOTE about package-private APIs for MergePolicy & MergeScheduler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@759068 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 09:19:05 +00:00
Michael McCandless
c6f7aa41a3
fix clone() case that could incorrectly leave stored fields files open
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@757185 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 13:21:58 +00:00
Michael McCandless
04c0d1f81a
LUCENE-652: deprecate FieldSelectorResult.LOAD_FOR_MERGE, since it's really an internal option and is used only for dealing with compressed fields, which are now externalized
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756911 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 10:35:52 +00:00
Michael McCandless
a00257a7ba
LUCENE-652: add compress/decompressString, too
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@756760 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 21:10:12 +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 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
6bf0e6e09b
LUCENE-1435: add contrib/collation (CollationKeyFilter), to convert tokens into indexable CollationKeys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755914 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 10:51:55 +00:00
Michael McCandless
787e518048
term vectors use 3 (not 4) files in the index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755747 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 21:42:32 +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
68f4d8b1a8
revert accidental changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755652 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 17:06:46 +00:00
Michael McCandless
7004e8c042
LUCENE-1145: small improvements to DisjunctionSumScorer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755639 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 16:44:50 +00:00
Michael McCandless
cd5028b79a
improve IndexWriter.rollback javadoc src/java/org/apache/lucene/index/IndexWriter.java
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@755535 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 10:22:51 +00:00
Michael McCandless
904b7967c1
LUCENE-1564: don't let Field.setValue switch between binary & non-binary fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@754789 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 23:24:39 +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
cce1e98416
small javadoc fixes to IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@752432 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 12:43:00 +00:00
Michael McCandless
7f6c38fc77
remove references to getDirectory methods from FSDirectory javadocs since we've deprecated them
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@751276 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 14:21:26 +00:00
Michael McCandless
2e2eafd3d2
make IndexReader.getRefCount() expert and public
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@751241 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 10:47:44 +00:00
Michael McCandless
7f32bbf72f
remove javadoc sentence about synchronizing on FSDirectory instance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@751077 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 21:30:51 +00:00
Michael McCandless
48fbdad305
fix javadoc for addIndexes(IndexReader[]) to remove incorrect warning that a writer cannot be changing the underlying index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@750851 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 11:24:55 +00:00
Michael McCandless
11079efed4
LUCENE-1554: remove false-positive assert that may (rarely) trip when it's not supposed to
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@750849 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 11:22:12 +00:00
Michael McCandless
ebb8c8ec3d
LUCENE-1553: fix test-only method addMyself to keep track of more than 1 ConcurrentMergeScheduler created during tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@750405 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 09:54:07 +00:00
Michael McCandless
cf28799cb0
LUCENE-1552: reset success to false in addIndexes(IndexReader[])
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@750162 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 21:34:53 +00:00
Mark Robert Miller
480c2afd15
LUCENE-689: NullPointerException thrown by equals method in SpanOrQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@750009 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 13:50:06 +00:00
Michael McCandless
90f52a651e
replace java 5 only constructs w/ java 1.4 equivalents
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@749875 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 01:50:27 +00:00
Michael McCandless
8062dc0814
add dates to changes2html.pl
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@749403 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 18:38: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