Commit Graph

3617 Commits

Author SHA1 Message Date
Karl-Johan Wettin d7376608b2 LUCENE-1514
ShingleMatrixFilter#next(Token) easily throws a StackOverflowException due to recursive invocation. (Karl Wettin)


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@733064 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 15:34:52 +00:00
Michael McCandless 8180700de8 LUCENE-1497: minor code cleanups to SimpleHTMLFormatter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@732739 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 16:11:19 +00:00
Karl-Johan Wettin f991524da8 LUCENE-1510
InstantiatedIndexReader#norms methods throws NullPointerException on empty index.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@732661 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 09:28:42 +00:00
Ryan McKinley 3f72bc813f remove unused imports and @author tag
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@732410 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07 17:47:26 +00:00
Ryan McKinley 977c9acc71 LUCENE-1512 -- adding GeoHash implementaion
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@732400 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07 17:10:58 +00:00
Michael McCandless d666ae5eda LUCENE-1502: a few small cleanups to CharArraySet
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@732141 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 22:01:35 +00:00
Ryan McKinley 43609e891d LUCENE-1504 -- SerialChainFilter should use DocSet API
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@732031 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 18:13:06 +00:00
Michael McCandless 873fbbc1f1 LUCENE-1509: don't return dup file names from IndexCommit.getFileNames
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@731747 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 22:31:04 +00:00
Michael McCandless 0b3705a012 remove 2 invalid tests of modified utf8 null byte
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@731727 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 21:11:44 +00:00
Grant Ingersoll c40a7d8397 minor javadoc edits
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@731152 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 01:29:16 +00:00
Ryan McKinley 4978391e93 LUCENE-1508 -- using the tierPrefix constructors by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@730662 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 03:21:23 +00:00
Ryan McKinley 0958d83354 LUCENE-1508 -- make the field prefix configurable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@730658 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 02:52:30 +00:00
Ryan McKinley 1f585f0357 LUCENE-1387 -- expose getLat/getLng from DistanceQueryBuilder
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@730653 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 00:51:26 +00:00
Michael Busch c9e7642bae Fix pom.xml.template of spatial search contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@730552 13f79535-47bb-0310-9956-ffa450edef68
2009-01-01 15:02:48 +00:00
Otis Gospodnetic 72725a0b58 - Small documentation mods.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@730207 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 18:20:43 +00:00
Ryan McKinley 0afd451f24 LUCENE-1503 -- refactor spatial Query/Filter classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@730205 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 18:00:56 +00:00
Ryan McKinley 581c82ccbe LUCENE-1387 -- adding locallucene as new spatial contrib package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@730067 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 07:37:17 +00:00
Michael McCandless eb64661216 LUCENE-1495: fix TaskSequence.toString to show time-limited configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@728751 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 19:37:58 +00:00
Michael McCandless 5c8ea7a321 LUCENE-1499: enforce IndexFileNameFilter as singleton
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@728746 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 19:21:40 +00:00
Michael McCandless 51f9b759fa LUCENE-1495: fix time-based test to reduce change of false failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@728425 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 11:07:28 +00:00
Michael McCandless 7abe0311bc LUCENE-1444: fix broken site links in javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@728262 13f79535-47bb-0310-9956-ffa450edef68
2008-12-20 09:43:06 +00:00
Michael McCandless bdc42e5342 LUCENE-1495: allow TaskSequence to run for certain time
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@728252 13f79535-47bb-0310-9956-ffa450edef68
2008-12-20 08:45:09 +00:00
Michael McCandless 4561cb369d add comments from Doug describing how BooleanScorers work
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@727475 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 19:16:10 +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
Michael McCandless 74e097f8eb LUCENE-1493: allow setting top number of hits to collect with search.num.hits
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@727063 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 15:09:46 +00:00
Michael McCandless 09f661c48c LUCENE-1492: add optional readOnly param to OpenReader task
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@727029 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 11:44:01 +00:00
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