Commit Graph

2942 Commits

Author SHA1 Message Date
Michael McCandless 963ec9e522 LUCENE-1270: fix intermittant case where IW.close() can hang after IW.addIndexesNoOptimize is called
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@651026 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 19:37:21 +00:00
Michael McCandless e35d9f6c62 LUCENE-1255: in CheckIndex, accept pos=-1 if index is < 2.4; added NOTE to remind user to turn on assertions for more thorough checking
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@650984 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 18:26:07 +00:00
Doron Cohen abc0d25a52 LUCENE-1157 and LUCENE-1256: HTML changes log, created automatically from CHANGES.txt.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@649949 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 18:29:15 +00:00
Michael McCandless 59c8f9cd76 add warnings to javadoc for IndexModifier.docCount
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@649598 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 16:35:08 +00:00
Michael McCandless 074df18090 LUCENE-1266: actually use the doWait param in IndexWriter.optimize(boolean doWait)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@649429 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 09:35:44 +00:00
Karl-Johan Wettin 6a4ae85775 minor javadocs change
First paragraph is used as description in javadocs index so I added the sentance from build/pom. And it gave me an excuse to test my karma.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@649312 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 22:19:41 +00:00
Michael McCandless 44daebab7c LUCENE-1150: put back public tokenImage/TOKEN_TYPES in StandardTokenizer and WikipediaTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@648183 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 08:48:41 +00:00
Michael McCandless a6ff3c93df LUCENE-1262: fix issue that causes BufferedIndexInput to return incorrect bytes after exception was hit during refill
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@647639 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 22:55:17 +00:00
Chris M. Hostetter 360051ec49 clarify slightly confusing comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@647364 13f79535-47bb-0310-9956-ffa450edef68
2008-04-12 02:25:54 +00:00
Michael McCandless 62cf2ecb7f fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@645539 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 14:30:34 +00:00
Michael McCandless 5cfd9c8244 LUCENE-1255: if position is negative, silently change it to 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@644400 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 16:42:06 +00:00
Michael McCandless 378442872f LUCENE-1254: don't reject segments > maxMergeDocs/Size in IW.addIndexesNoOptimize
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@643303 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 06:58:42 +00:00
Chris M. Hostetter 21b22f8515 some javadoc building cleanup for contrib/instantiated -- notably moving docs to doc-files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@643170 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 22:00:57 +00:00
Grant Ingersoll cc955c9748 LUCENE-400: Added ShingleFilter (token based ngram)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@642612 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 21:11:33 +00:00
Michael McCandless 09b3a56ae2 LUCENE-1251: be sure to close the descriptor even if super.close() hits an exception, in FSIndexOutput.close
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@642339 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 19:10:58 +00:00
Michael McCandless 828333ab52 LUCENE-1247: remove always-true assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@642152 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 09:06:17 +00:00
Otis Gospodnetic 758e123591 - Cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@641497 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 19:22:28 +00:00
Michael McCandless 8af3598b74 LUCENE-510: change index format to store strings as true UTF8 not modified UTF8
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@641303 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 13:39:25 +00:00
Michael McCandless 0bd6f8ec04 LUCENE-1244: don't use hard-coded path in AnalysisTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@640741 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 08:35:51 +00:00
Michael McCandless 8b0b533472 LUCENE-1242: small speedups to bulk merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@640516 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 18:45:55 +00:00
Michael McCandless df7cf49580 fix possible false failure in testCloseWithThreads case
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@639961 13f79535-47bb-0310-9956-ffa450edef68
2008-03-22 08:23:41 +00:00
Michael McCandless 10230efa5d just adding some further asserts on the size of the term vector & stored fields index files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@639399 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 18:21:33 +00:00
Mark Harwood c172010da0 Applied trejkaz's patch from https://issues.apache.org/jira/browse/LUCENE-1240 to optimise TermFilter.java and included new JUnit test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@638631 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 23:01:00 +00:00
Doron Cohen 4bd9dba46f LUCENE-1238: Fixed intermittent failures of TestTimeLimitedCollector.testTimeoutMultiThreaded.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@638568 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 21:08:08 +00:00
Doron Cohen ea688c9363 fix formatting in CHANGES.txt to prevent perl errors in creating changes.html.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@638044 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 19:39:22 +00:00
Michael McCandless a7e55a2a79 LUCENE-1233: correct javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637844 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 11:31:46 +00:00
Chris M. Hostetter c975851ab5 more for LUCENE-1202 ... Hudson's clover plugin wants the XML format of the report, it's cheap so generate it everytime
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637716 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 04:26:30 +00:00
Grant Ingersoll 9ac963952f LUCENE-1236: Added some more javadocs. Also removed @author tags
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637449 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 18:05:10 +00:00
Chris M. Hostetter 32f1054d88 LUCENE-1202 - tweaks to build system to make clover work better with contribs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637344 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 03:16:43 +00:00
Grant Ingersoll 19c4865d72 spelling correction
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637332 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 02:05:19 +00:00
Grant Ingersoll 47da76d1b9 LUCENE-1234: Make BoostingSpanScorer protected
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637331 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 01:48:04 +00:00
Michael Busch c5dd46fd02 LUCENE-1230: Include *pom.xml* in source release files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637196 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 18:14:32 +00:00
Michael McCandless b309970c3d LUCENE-1233: return empty array instead of null for certain get*s methods in Document
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637053 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 11:08:28 +00:00
Doron Cohen 966ae0382e LUCENE-1228: IndexWriter.commit() was not updating the index version.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637041 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 10:35:18 +00:00
Michael Busch b3e82f8939 LUCENE-1226: Fixed IndexWriter.addIndexes(IndexReader[]) to commit successfully created compound files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636893 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 20:57:32 +00:00
Grant Ingersoll 860f6bb673 LUCENE-550: put the comment in the wrong spot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636749 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 13:00:03 +00:00
Grant Ingersoll f4cc6e2269 LUCENE-550: Added RAMDirectory alternative as a contrib. Similar to MemoryIndex, but can hold more than one document
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636745 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 12:34:30 +00:00
Michael McCandless b36d9f9be3 download bdb zip from Oracle's servers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636673 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 09:06:31 +00:00
Michael McCandless 2768bacab2 LUCENE-1223: fix lazy field loading to not allow string field to be loaded as binary, nor vice/versa
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636568 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 23:02:38 +00:00
Michael McCandless 4b3709be87 LUCENE-1214: preseve original exception in SegmentInfos write & commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636467 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 19:23:17 +00:00
Michael McCandless e5f9b4e1cb LUCENE-1212: factor DocumentsWriter into separate source files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636458 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 19:09:12 +00:00
Michael McCandless a6258c76fd LUCENE-1217: use Field.isBinary instead of 'instanceof'
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636139 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 22:53:50 +00:00
Michael McCandless 9dc489edb1 LUCENE-1222: make sure IW.doAfterFlush is called regardless of whether adds or deletes are flushed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636045 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 18:16:31 +00:00
Doron Cohen 29560fcf50 LUCENE-1213: MultiFieldQueryParser ignored slop for single field phrases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@635839 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 08:06:54 +00:00
Doron Cohen 25f80c71c9 LUCENE-1209: Fixed DocMaker settings by round. Prior to this fix, DocMaker settings of
first round were used in all rounds.  (E.g. term vectors.)


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@635280 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 16:43:32 +00:00
Doron Cohen ce0309ed5f Javadoc clarrification for getRecall().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@635195 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 08:30:28 +00:00
Doron Cohen 8b2f12851b make the name of multi-value property long enough for the values.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@635194 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 08:28:53 +00:00
Michael McCandless 6420539c07 LUCENE-1211: small speedup to DocumentsWriter by optimizing the common case of sorting only 2 values
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@635193 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 08:26:16 +00:00
Michael McCandless fa4d10baf9 LUCENE-1210: fix deadlock case on hitting exception in mergeInit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@635190 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 08:19:00 +00:00
Michael McCandless 10f2695b65 LUCENE-1208: if exception is hit after marking flushPending but before flushing, clear flushPending to prevent deadlock
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@634831 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 21:47:15 +00:00