Commit Graph

3341 Commits

Author SHA1 Message Date
Michael McCandless 1f33d7c66a fix off-by-one bug in getting field sort type
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@726213 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 14:43:32 +00:00
Karl-Johan Wettin 812abd20dd LUCENE-1462
InstantiatedIndexWriter did not reset pre analyzed TokenStreams the same way IndexWriter does. 
Parts of InstantiatedIndex was not Serializable.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@726030 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 15:12:31 +00:00
Karl-Johan Wettin 219a20a945 LUCENE-1462
InstantiatedIndexWriter did not reset pre analyzed TokenStreams the same way IndexWriter does. 
Parts of InstantiatedIndex was not Serializable.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@725837 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 22:08:45 +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 f92d3cc82f LUCENE-1478: small cosmetic cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724552 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 23:27:34 +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
Grant Ingersoll ffa2ee2203 LUCENE-1462: Make TermVectorOffsetInfo serializable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724501 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 21:51:39 +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
Michael McCandless e0efcd52ea LUCENE-1481: implement equals() and hashCode() for Sort & SortField
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724379 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 15:28:16 +00:00
Mark Robert Miller 62c7438ed4 Exclude ASCIIFoldingFilter from clover (class too large).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724067 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 03:34:07 +00:00
Grant Ingersoll 702ea32da7 make constructors public
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724059 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 00:39:35 +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 19c82a230d don't construct verbose message Strings unless infoStream is non-null
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724033 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 20:05:40 +00:00
Mark Robert Miller 36a03da823 A couple changes with the new token api went into QueryParser.java but not in QueryParser.jj. A fresh javacc would lead to compilation errors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724032 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 19:40:53 +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 5e3cd6711a LUCENE-1470: describe TrieRangeFilter/Query in README
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723701 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 10:16:50 +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 240897988d LUCENE-1470: switch TestTrieRangeQuery to LuceneTestCase as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723313 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 13:17:23 +00:00
Michael McCandless 05bff1833f LUCENE-1470: add proper dependency to contrib/build.xml so contrib tests can subclass LuceneTestCase; fixed small bug TestTrieUtils test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723287 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 11:06:59 +00:00
Michael McCandless 1fb2d4f280 LUCENE-1457: fix possible overflow bugs during binary search
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723149 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 23:46:19 +00:00
Michael McCandless 481f8080ab LUCENE-1470: add TrieRangeQuery, a much more efficient implementation of RangeQuery at the expense of added space consumed in the index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723031 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 19:38:31 +00:00
Mark Robert Miller 139f71599e LUCENE-1246: check for null sub queries so that BooleanQuery.toString does not throw NullPointerException.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722897 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 14:15:22 +00:00
Michael McCandless cfef10bb9d LUCENE-1474: clear pendingDelCount after flushing deletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722645 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 22:33:35 +00:00
Michael McCandless eb881d5f3b LUCENE-1433: improvements to changes.html generation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722329 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 01:58:00 +00:00
Michael McCandless e3d5b53e53 LUCENE-1461: more careful checking of lower/upper bound to the FieldCacheRangeFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722203 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 19:52:54 +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 371a33eda8 LUCENE-1464: in FSDir, don't mkdir until first createOutput is called
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@721670 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 12:16:54 +00:00
Michael McCandless 93f7ed2d58 switch default back-compat tests to use branches/lucene_2_4_back_compat_tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@721667 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 12:03:26 +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 McCandless 129a630839 LUCENE-1459: fix CachingWrapperFilter to do the right thing if the wrong type of bitset is in its cache
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@719716 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 21:17:06 +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 72e94add53 LUCENE-1453: make sure reopen of IndexReaders that own the directory don't close the directory too soon
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@718540 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 09:57:51 +00:00
Michael McCandless 0beb6bd966 LUCENE-1456: remove buggy but unused dead code in FieldInfo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@718537 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 09:53:13 +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
Michael McCandless a18441f0de LUCENE-1447: improve SegmentTermPositions.getPayload() IOException message
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@714231 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 10:51:01 +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 72ce255671 LUCENE-1446: Allow Overriding svn executable to specify path.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713765 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 18:11:59 +00:00
Michael McCandless 8f0d81c89f LUCENE-38: make sure empty term, if present in index, is included on open ended lower range query
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713696 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 10:08:10 +00:00
Michael McCandless 854cae6c35 LUCENE-1424: correctly handle null lower or upper term in RangeQuery.getEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713687 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 09:31:20 +00:00
Otis Gospodnetic 076fb9b323 LUCENE-711 - initialize List with correct size
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713634 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 04:23:05 +00:00
Mark Robert Miller c2f7d554a3 LUCENE-1389: SimpleSpanFragmenter can create very short fragments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713569 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 00:01:43 +00:00
Michael McCandless 4646692022 LUCENE-1450: make sure RangeQuery/Filter check all terms in the index when using a Collator
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713332 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 09:43:39 +00:00
Michael Busch 9d8c882385 LUCENE-1424: Changed QueryParser#newRangeQuery() to return a ConstantScoreRangeQuery to make backwards-compatibility tests pass again; this does not change any behavior since ConstantScoreRangeQuery subclasses RangeQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713225 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 00:01:52 +00:00
Michael McCandless 4596360907 LUCENE-1449: if deletion policy deletes head commit point and then IW is closed w/ no further changes, write a new segments_N
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713206 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 22:42:14 +00:00
Yonik Seeley 8e8e8ddec4 set svn:eol-style to native on java files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712922 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 02:35:46 +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