Commit Graph

1721 Commits

Author SHA1 Message Date
Michael McCandless 9136b7a0e0 LUCENE-1442: fix double-counting of offsets of multiple instances of NOT_ANALYZED field under the same field name
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712233 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 19:37:39 +00:00
Michael McCandless 391119f207 LUCENE-1441: fix KeywordTokenizer to set start/end offset on its token
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712232 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 19:36:35 +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
Michael McCandless 0ee1707d9f LUCENE-1430: don't throw false AlreadyClosedException when IndexReader.open hits IOException on first try opening index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@709456 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 16:09:12 +00:00
Michael McCandless d6f39b29b7 update javadocs to clarify how IndexWriter handles hitting an OOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@709198 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 16:33:40 +00:00
Michael McCandless cdeff84532 add missing index version number to CheckIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@708971 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 18:30:50 +00:00
Michael McCandless 58966ab728 LUCENE-1429: don't throw IllegalStateEx during close() after hitting OOME when autoCommit=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@708549 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 12:08:19 +00:00
Michael McCandless fa79b04042 LUCENE-1426: next steps towards flexible indexing: use the same API when writing a new segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@707836 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 10:40:00 +00:00
Michael McCandless 29124f644a minor javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@707833 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 10:15:14 +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
Daniel Naber c027596aa2 update example so no deprecated code is used
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703881 13f79535-47bb-0310-9956-ffa450edef68
2008-10-12 21:24:56 +00:00
Daniel Naber 7ecd3260ad update to non-deprecated API (affects commented-out code only)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703880 13f79535-47bb-0310-9956-ffa450edef68
2008-10-12 21:21:25 +00:00
Michael McCandless da0d24d7df add instantiated index under Javadocs -> contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703694 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 17:28:23 +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 d02bbe2dfd LUCENE-1412: clarify Directory.copy javadocs: the source dir cannot change while copy is running
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@702271 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 21:23:24 +00:00
Michael McCandless 18d98f4ac7 fix SegmentInfos format doc in fileformats doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@701445 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 17:01:48 +00:00
Michael McCandless a106cf2512 change trunk docs to 2.9-dev
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@701428 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 16:12:29 +00:00
Michael McCandless 0606e8b2dd remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698936 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 12:11:37 +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 d8a60238e3 LUCENE-1402: make CheckIndex back-compatible again; improve programmatic access
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698909 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 09:43:11 +00:00
Michael McCandless 0fa718244c LUCENE-1404: fixed NPE in NearSpansUnordered.isPayloadAvailable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698487 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 09:45:25 +00:00
Michael McCandless 4001544144 adding missing copyright headers found by RAT
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698033 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 23:11:04 +00:00
Michael McCandless 2befbd45b7 LUCENE-1397: fix thread hazard whereby optimize can throw 'BG merge hit exception' IOException without setting the root cause
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698025 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 22:53:19 +00:00
Michael McCandless 89ea7dfa59 improve javadocs for IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698024 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 22:41:33 +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 5433872499 LUCENE-1392: small javadocs/extra imports fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697115 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 14:51:04 +00:00
Michael McCandless 7987b38f46 LUCENE-1395: javadoc fix for SegmentMerger
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697110 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 14:45:33 +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
Michael McCandless 31811e9f45 LUCENE-1379: fix corner case when Similarity.sloppyFreq() returns 0.0 the last matching doc is skipped
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696013 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 19:25:07 +00:00
Michael McCandless 088a42b846 LUCENE-1135: fix rare deadlock case in testAddIndexOnDiskFull
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696005 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 18:49:16 +00:00
Michael McCandless b88b6a73ad LUCENE-1388: add initialValue() method to CloseableThreadLocal
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695899 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 14:24:17 +00:00
Michael McCandless 9d23731bea more javadocs fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695581 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 19:01:33 +00:00
Michael McCandless 1ec2ab7d5a fix IndexWriter's javadocs for commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695574 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 18:33:33 +00:00
Otis Gospodnetic 0195fcd03d LUCENE-1378 - Removed the remaining 199 @author references
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695514 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 15:42:11 +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 d2aeaeeff2 add missing copyright headers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695211 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 12:38:31 +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 f82e52e3bf print stack trace when thread test fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694808 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 21:14:08 +00:00
Michael McCandless 5790a86987 move comment to the right place
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694665 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 09:43:06 +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
Chris M. Hostetter ccf96e6b6b we have less and less vector refrences, let's switch the example to something more common
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@693997 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 21:30: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 d5a40278bc LUCENE-1369: switch from Hashtable to HashMap and from Vector to List, when possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@692921 13f79535-47bb-0310-9956-ffa450edef68
2008-09-07 19:22:40 +00:00
Michael McCandless 6242cb3322 LUCENE-1151: fix misleading javadoc comment and testcase for StandardAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@692634 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 10:58:33 +00:00
Michael McCandless 9e88734177 LUCENE-1126: modify JFlex grammar to fallback to the JRE's Character.isDigit() (using :digit:) and Character.isLetter() (using :letter:) to define inclusion of unicode characters
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@692211 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 19:48:29 +00:00
Grant Ingersoll f262830a7f fix minor typo in javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@692109 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 15:36:08 +00:00