Commit Graph

3099 Commits

Author SHA1 Message Date
Mark Harwood ba6344a4d7 Fixed bug in FuzzyLikeThisQuery.java. Queries that contain a term with no fuzzy variants caused the query construction logic to exit loop early, producing no fuzzy variants for all subsequent terms in the query string.
Junit test added which recreates the problem conditions and added fix to FuzzyLikeThisQuery that solves the issue.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@699512 13f79535-47bb-0310-9956-ffa450edef68
2008-09-26 21:44:55 +00:00
Michael McCandless 0e708a21fe LUCENE-1401: fix accidentally lost 'create=true' in CreateIndexTask
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698975 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 14:11:41 +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 798f4676ed LUCENE-1400: add rat-sources target to build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698495 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 09:52:59 +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
Chris M. Hostetter 4ca262ce38 LUCENE-1393: new svnversion.exe ant property thta can be used when svnversion isn't in your working PATH (ie: Hudson)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698035 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 23:31:07 +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 c206a378b7 LUCENE-1335: adding missing entry to CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697277 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 23:23:10 +00:00
Michael McCandless b866828bab add graph to package.html for contrib/instantiated showing queries per sec vs number of docs indexed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697126 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 15:15:36 +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 98cc66e40b LUCENE-1394: include all CHANGES.txt in release artifacts
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697114 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 14:48:33 +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
Michael McCandless 28bc234edc fix 2.4 -> 2.4.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696718 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 17:09:52 +00:00
Michael McCandless 11074a2c4e switch to 2.9-dev on trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696715 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 17:06:24 +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
Karl-Johan Wettin c6e5618674 Added a bunch of <p> in the Javadocs to make the rendered html view look better.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694396 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 18:26:46 +00:00
Karl-Johan Wettin 71f2d8199b LUCENE-1320
ShingleMatrixFilter JDK downgrade 1.5 -> 1.4 
Grant Ingersoll via Karl Wettin

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694393 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 18:23:18 +00:00
Michael McCandless d31fb4556c fix wordnet's Syns2Index to not fiddle with mergeFactor & maxBuffereDocs (the latter was hitting an exception)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694222 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 12:11:03 +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
Grant Ingersoll dadaebc290 LUCENE-1243: Added new benchmark tasks
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@693495 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 15:56:41 +00:00
Mark Robert Miller 5147f0563f LUCENE-1357: SpanScorer does not respect ConstantScoreRangeQuery setting
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@693432 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 10:52:50 +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
Michael McCandless e398f4e930 LUCENE-1376: catch BG merge exceptions even if all merges finish before FG thread (running optimize) advances to while loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691964 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 11:14:04 +00:00
Michael McCandless e6dcf14620 LUCENE-1375: added IndexCommit.getTimestamp method
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691952 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 09:40:29 +00:00
Doron Cohen 80aed8ddae LUCENE-1356: Allow easy extensions of TopDocCollector.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691824 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 23:18:51 +00:00
Michael McCandless 626fa7664f LUCENE-1374: fix test case to close reader/writer in try/finally; add assert b!=null in RAMOutputStream.writeBytes (matches FSIndexOutput which hits NPE)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691694 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 17:34:29 +00:00
Michael McCandless 3f65c64d9e LUCENE-1374: fixed NPE case when merging compressed fields with heterogeneous segments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691617 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 13:59:31 +00:00
Michael McCandless 01fada8d1d LUCENE-1371: added entry in CHANGES for API change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691559 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 10:08:56 +00:00
Michael McCandless 4ae5fcbf53 LUCENE-1371: add convenience method TopDocs Searcher.search(Query query, int n)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691549 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 09:06:13 +00:00