Commit Graph

1370 Commits

Author SHA1 Message Date
Yonik Seeley f1467191f1 replace Vector with ArrayList, add clauses() to return that List of clauses: LUCENE-745
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487931 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 02:40:37 +00:00
Yonik Seeley 487fd6657c fix confusing indentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487929 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 02:24:49 +00:00
Otis Gospodnetic d0f24d87da - Typo and tabs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487922 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 00:10:40 +00:00
Grant Ingersoll 9b2405c0cc Uses JUnit Task defined tempDir instead of system temp.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487878 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 20:38:44 +00:00
Grant Ingersoll a4e0edd530 LUCENE-713. Updated fileformats.xml to include how position and offset info is stored in the TVF file.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487874 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 20:23:30 +00:00
Grant Ingersoll 16a578c21a Hooked in link to Clover test code coverage reports, which will be generated by the nightly build once it goes live. Currently the webserver holds a snapshot of the reports as generated on 12-16-06. See issue 708.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487860 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 19:22:10 +00:00
Otis Gospodnetic 5b21cee1b0 - Fixed typo and unused import
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487514 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 10:49:21 +00:00
Yonik Seeley 86442612f3 SpanOrQuery simplification and test: LUCENE-742
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486295 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 19:52:03 +00:00
Grant Ingersoll 15df97db57 LUCENE 744 - Appended user.name property onto the directory that gets created in temp so that there aren't naming clashes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485988 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 02:44:42 +00:00
Yonik Seeley 10460b5e87 Performance improvement for SegmentMerger.mergeNorms: LUCENE-739
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485469 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 02:38:29 +00:00
Yonik Seeley 0d109d1485 read/write .del as d-gaps when the deleted bit vector is sufficiently sparse: LUCENE-738
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485463 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 02:03:38 +00:00
Grant Ingersoll 6ccabb7c8f http://issues.apache.org/jira/browse/LUCENE-721 -- Added in Clover code coverage, thanks to Michael Busch.
Updated the xdocs with a new file named systemrequirements that details the system requirements for using Lucene.  Linked to them via the developer-resources and the releases page.  Regenerated the site.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485001 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 16:32:22 +00:00
Grant Ingersoll e3f84c2a19 Fixed the trail (thanks Marvin) in skinconf and put in a temporary feather logo for the left image.
Added in developer-resources.xml that contains info on contributing, downloading nightly builds and getting code from SVN and added it under the resources section.
Fixed the news release item on the main page to be Nov. 26
Added in links to previous versions of site under the Site Versions so that we have links.  These sites have been downloaded and are available on the website, just not linked to until now

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@481549 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 12:11:45 +00:00
Michael McCandless 2b39422870 LUCENE-669: don't double-close RandomAccessFile in finalize
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480785 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 00:07:46 +00:00
Daniel Naber 16d9dc0f49 fix a typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480706 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 20:22:11 +00:00
Grant Ingersoll ae1b4dba98 Readded the lock-less commits documentation that was accidentally lost.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480702 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 20:10:44 +00:00
Michael McCandless 3ec7fb833f LUCENE-727: adding unit test for MMapDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480163 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 19:27:58 +00:00
Yonik Seeley 5b7b831122 map *:* to MatchAllDocsQuery: LUCENE-723
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480150 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 18:29:28 +00:00
Yonik Seeley 42e2191b93 non-recursive MultiTermDocs.next,skipTo: LUCENE-729
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480147 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 18:17:56 +00:00
Grant Ingersoll fa2be4c0d2 Updated the website to new Forrest based site, see Issue 707, part one of commits
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479465 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 00:00:46 +00:00
Otis Gospodnetic fe47121a67 - LUCENE-726: removed the use of a deprecated method
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479458 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 23:40:18 +00:00
Otis Gospodnetic 694dceaa33 - Added the ASF License header
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479096 13f79535-47bb-0310-9956-ffa450edef68
2006-11-25 07:30:23 +00:00
Michael McCandless a01711b245 LUCENE-720: added a few missing close's
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478241 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 17:07:00 +00:00
Michael McCandless 19f90a38ee LUCENE-720: fix two new unit tests (with lockless) to dynamically compute field number since this number can vary depending on JRE
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478239 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 17:01:31 +00:00
Yonik Seeley 9ba7a8e612 RAMDirectory.sizeInBytes, public flushRamSegments: LUCENE-709
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478014 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 02:47:49 +00:00
Michael McCandless e6f5697499 LUCENE-701: temporarily disable 2 unit tests until I can fix to pass cross-platform/JRE
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477637 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 11:49:44 +00:00
Erik Hatcher c44be0c446 LUCENE-543: WildcardQuery without wildcarded term rewrites to a TermQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477424 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 00:09:50 +00:00
Otis Gospodnetic 0568a30552 LUCENE-651: Fixed a race condition in initialization of FieldCache.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477084 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 07:10:04 +00:00
Yonik Seeley a37adee24c remove Java5 method call
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477008 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 02:29:59 +00:00
Chris M. Hostetter 5569c9f610 minor change: clean up some tmp test index directories (only on successful completion of test method)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476972 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 23:14:31 +00:00
Yonik Seeley f5661f7c58 unicode escapes for QueryParser: LUCENE-716
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476679 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 01:34:10 +00:00
Yonik Seeley fd42f16265 backslash escapes within quotes: LUCENE-573
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476590 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 19:32:10 +00:00
Michael McCandless 4b9f177128 Lockless commits: LUCENE-701
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 02:55:14 +00:00
Michael McCandless f09b8d311e Lockless commits: LUCENE-701
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476383 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 00:11:59 +00:00
Michael McCandless 79bf43b2a4 Lockless commits: LUCENE-701
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476371 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 23:43:47 +00:00
Michael McCandless 9b7d1209ac Lockless commits
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476363 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 23:23:40 +00:00
Michael McCandless d634ccf4e9 Lockless commits
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476359 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 23:18:47 +00:00
Michael McCandless bd6f012511 make sure to release write lock in IndexWriter if we hit IOException during construction
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476345 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 22:34:17 +00:00
Michael McCandless 7e3c1bfb0d Optimization: call System.arraycopy instead of manual for loop copying
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476110 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 11:18:11 +00:00
Mark Harwood bb00247904 QueryParser changed to default to use of ConstantScoreRangeQuery for range queries.
Added useOldRangeQuery property to QueryParser to allow selection of old RangeQuery class if required.
Updated Junit tests. 
Updated javadocs for RangeQuery to reflect the new default behaviour in QueryParser

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@475435 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 21:26:09 +00:00
Yonik Seeley 7ca20ee19f new ASF licenses header
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@472959 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 16:21:50 +00:00
Yonik Seeley 4a5ace9a4e remove incorrect javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@470109 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 21:35:32 +00:00
Yonik Seeley c0d330c041 Lazy skipping on proximity file: LUCENE-687
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469289 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 22:00:31 +00:00
Yonik Seeley eea8ea91b4 new test: LUCENE-695
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469271 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 20:53:11 +00:00
Yonik Seeley a20830e78f new test: LUCENE-528
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469269 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 20:52:24 +00:00
Chris M. Hostetter 1a5ac808c8 LUCENE-569: Fixed bug in ordered SpanNearQueries
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468554 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 22:03:53 +00:00
Otis Gospodnetic 7abe11514a - LUCENE-489: Add support for leading wildcard characters to QueryParser.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468291 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 06:17:24 +00:00
Yonik Seeley 4dfdd6a0af new IndexWriter.addIndexesNoOptimize(): LUCENE-528
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468177 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 22:47:15 +00:00
Yonik Seeley 19bf841c27 Improve BufferedIndexInput.readBytes() performance: LUCENE-695
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468172 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 22:25:44 +00:00
Otis Gospodnetic 1eb10aba44 - LUCENE-657: Made FuzzyQuery non-final and the inner ScoreTerm class, protected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467853 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 03:49:58 +00:00
Yonik Seeley e1b804ff9a added nested conjunction tests: LUCENE-693
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467843 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 02:51:25 +00:00
Yonik Seeley 7eca52679f factor boost into hashCode and equals to pass generic tests: LUCENE-698
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467559 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 04:24:10 +00:00
Yonik Seeley 71c3f0332d ensure Scorer.skipTo() is interchangeable with next(): LUCENE-696
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467558 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 04:20:34 +00:00
Yonik Seeley bc23956ebb ConjunctionScorer tests: LUCENE-693
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467539 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 01:46:15 +00:00
Otis Gospodnetic 59d5576068 - Removed tabs and extra spaces
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@466016 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 07:09:06 +00:00
Yonik Seeley d969f3ce2e help TestThreadSafe fail faster
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465996 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 05:13:32 +00:00
Yonik Seeley c270fa8a2f test demonstrating problem cloning active IndexInput in LazyField: LUCENE-690
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465995 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 05:10:49 +00:00
Yonik Seeley 247a4e2f4c unsafe use of IndexInput.clone(): LUCENE-690
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465958 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 03:08:02 +00:00
Yonik Seeley 936b7ba82a fix sharing of native locks by diff dirs: LUCENE-678
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465882 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 21:03:22 +00:00
Yonik Seeley 901c8c379c DisjunctionSumScorer performance improvement: LUCENE-365
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465114 13f79535-47bb-0310-9956-ffa450edef68
2006-10-18 00:56:08 +00:00
Otis Gospodnetic b75358ebc9 - LUCENE-544 - allow per-field boosts to be specified.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465081 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 22:26:57 +00:00
Yonik Seeley 3c35b82cb0 ConjunctionScorer performance increase: LUCENE-443
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465043 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 20:50:52 +00:00
Yonik Seeley 70472ad2cd NativeFSLockFactory: LUCENE-678
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464611 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 18:28:02 +00:00
Yonik Seeley cb4f27f25f data corruption reading lazy loaded fields: LUCENE-683
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464313 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 22:37:52 +00:00
Daniel Naber 32b1946cc1 LUCENE-684: improve javadoc of deleDocuments(Term), thanks to Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464201 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 14:22:51 +00:00
Grant Ingersoll 1fad6b0052 Added javadocs for FieldSelectorResult.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454769 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 15:02:29 +00:00
Grant Ingersoll 75f561901e Updated scoring information to only have one copy of the Scoring Formula. Implemented Doron Cohen's new scoring formula description in the javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454767 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 14:57:25 +00:00
Yonik Seeley 0d4e1b171d remove LazyField.chars to reduce memory consumption
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454434 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 17:26:49 +00:00
Yonik Seeley efab233ed8 new PrefixFilter from Solr: LUCENE-676
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@453381 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 21:10:30 +00:00
Otis Gospodnetic 7456fdc365 - Small wording changes to make javadoc a bit easier to understand
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@448454 13f79535-47bb-0310-9956-ffa450edef68
2006-09-21 04:07:41 +00:00
Yonik Seeley b1322d5acd retain zero size segments resulting from a merge: LUCENE-672
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@447570 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 21:26:02 +00:00
Yonik Seeley 4465baafa5 new segment merging policy: LUCENE-672
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@443434 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 18:31:21 +00:00
Grant Ingersoll d0b971a021 Updated scoring.xml per suggestions by Doug and Chris on issue 664. Moved the Query information and Similarity info to the o.a.l.s package.html in the Javadocs and provided links to the javadocs from the scoring file.
Added scoring.html into the project.xml so that it will now be live on the Lucene java site.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@442406 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 01:05:20 +00:00
Yonik Seeley d0f5077d27 remove accidentally added file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@438135 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 18:01:27 +00:00
Yonik Seeley 82d2306b41 remove accidentally added files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437905 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:39:08 +00:00
Yonik Seeley f0375e3f82 remove accidentally added files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437904 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:38:20 +00:00
Yonik Seeley 254945aa32 Decouple locking from Directory: LUCENE-635
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437897 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:13:10 +00:00
Grant Ingersoll 8456ba93f8 Changed explain method to use TermDocs.skipTo instead of looping.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433081 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 23:11:00 +00:00
Chris M. Hostetter 9763d03f48 LUCENE-650: Fixed NPE in Locale specific String Sort when Document has no value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433049 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 21:17:59 +00:00
Grant Ingersoll d4cc53d466 Initial check in of TestTermScorer. All test methods should pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432734 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 21:32:37 +00:00
Yonik Seeley abb1bfc290 move singleDocSegmentsCount maintinence to mergeSegments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432580 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 13:33:16 +00:00
Yonik Seeley fa293670a1 fix getPositionIncrement: LUCENE-659
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432443 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 00:16:42 +00:00
Yonik Seeley 8e3608845d keep track of number of buffered documents: LUCENE-388
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432125 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 02:52:21 +00:00
Daniel Naber 7a90732466 don't use deprecated method (thanks to Simon Willnauer)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431976 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 18:31:36 +00:00
Otis Gospodnetic f7849f1469 - Undid LUCENE-388, as it turned out it caused problems
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431303 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 06:58:42 +00:00
Otis Gospodnetic c5d950da35 - LUCENE-388: optimize maybeMergeSegments() to speed up indexing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431153 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 08:20:13 +00:00
Otis Gospodnetic a9691a40e8 - Modified some CJK Unicode code point ranges in StandardTokenizer.jj,
and added a few more of them to increase CJK character coverage.
  Also documented some of the ranges.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431152 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 07:47:34 +00:00
Otis Gospodnetic 5705f8dfd2 - LUCENE-478: Updated Unicode code point ranges for CJK
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431151 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 07:02:26 +00:00
Otis Gospodnetic 1a933665d6 - LUCENE-629: indexing and optimizing performance improvements when working with compressed fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431148 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 06:12:07 +00:00
Daniel Naber 1d65537c75 remove "s" and "t" as stopwords because they make searching less precise, e.g. "t-online" gives the same results as "online" with "t" being a stopword
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428998 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 13:11:09 +00:00
Daniel Naber a9a325a4df LUCENE-646: fix various small issues with the "getting started" demo pages (patch by Michael McCandless)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428554 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 22:24:42 +00:00
Yonik Seeley 10517a310c performance test for TermDoc iteration speed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428488 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 19:26:48 +00:00
Daniel Naber 93ab8fd2cc fix the code example (still used the old API); fix a few spelling mistakes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428479 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 19:07:32 +00:00
Daniel Naber 8cd09aae46 trivial whitespace fix only
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428475 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 19:00:41 +00:00
Daniel Naber 52e9e3dac3 LUCENE-641: fix off-by-one bug for maximum field length
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@426883 13f79535-47bb-0310-9956-ffa450edef68
2006-07-30 11:56:57 +00:00
Daniel Naber 8c0d234ffa fix LUCENE-638: ignore files unrelated to Lucene in FSDirectory.list(); also make rename more robust by using try/finally
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@426774 13f79535-47bb-0310-9956-ffa450edef68
2006-07-29 09:54:48 +00:00
Daniel Naber a0288da46d slightly more verbose output for TooManyClauses exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@425524 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 21:03:17 +00:00
Daniel Naber 53888844c0 add the original query to the parse exception message for easier debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@424708 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 11:08:36 +00:00
Daniel Naber f72c1e579f Don't re-create SimpleDateFormat objects, use static ones instead. Gives about a 2x performance increase in a micro benchmark.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@424449 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 20:38:23 +00:00
Chris M. Hostetter b747b5c81d LUCENE-623: RAMDirectory.close() now nulls out it's 'file' references
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@419723 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 22:14:07 +00:00
Chris M. Hostetter 13bb6026a7 LUCENE-621 - new static methods for modifing default lock timeouts
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@418386 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 21:46:29 +00:00
Chris M. Hostetter 2f24fda616 fixed bug LUCENE-451 by adding new functionality in LUCENE-605 -- new ComplexExplanation class can model matching independent of having a positive value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@417275 13f79535-47bb-0310-9956-ffa450edef68
2006-06-26 18:38:47 +00:00
Yonik Seeley 6e86efb527 BooleanClause javadoc update: LUCENE-615
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416951 13f79535-47bb-0310-9956-ffa450edef68
2006-06-24 20:42:37 +00:00
Daniel Naber daee07ee37 use the new non-deprecated getFields() method, clean up some imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416475 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 21:12:07 +00:00
Daniel Naber 8ebdf9fc86 LUCENE-608: deprecate Document.fields(), add getFields()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416440 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 18:37:32 +00:00
Yonik Seeley 79ae648af5 syntax change for ecj compilation: LUCENE-611
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416431 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 17:48:25 +00:00
Yonik Seeley a7dda11801 revert LUCENE-415, it's not needed for lucene 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416424 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 17:22:06 +00:00
Yonik Seeley 9c011b1b33 disambiguate inner class call to doc() for ecj compilation: LUCENE-610
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416111 13f79535-47bb-0310-9956-ffa450edef68
2006-06-21 21:11:53 +00:00
Yonik Seeley e2c8931219 revert Document.getFields for back compatibility: LUCENE-609
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416090 13f79535-47bb-0310-9956-ffa450edef68
2006-06-21 19:49:27 +00:00
Yonik Seeley 66a23a8786 truncate new segment files before use: LUCENE-415
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415808 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 21:28:42 +00:00
Yonik Seeley c81983524f ParallelTermEnum.next() fails to advance properly to new fields: LUCENE-607
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415793 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 20:40:06 +00:00
Chris M. Hostetter 20240390e3 New Span query tests for LUCENE-557
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415481 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 01:28:30 +00:00
Chris M. Hostetter c5cd491839 LUCENE-557: Lots of new Explanation test cases (and utilities for writing future test cases) as well as fixes for blatent bugs in the Explanation methods of BooleanQuery and FilteredQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415476 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 01:13:13 +00:00
Otis Gospodnetic af594700a0 - LUCENE-601: RAMDirectory and RAMFile made Seriazable. Thanks Karl.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@414739 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 05:20:49 +00:00
Yonik Seeley 025936b4ae remove searcher reference from MatchAllDocsQuery so it's Serializable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413965 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 19:45:55 +00:00
Grant Ingersoll 545088a082 Fixed license issues from Issue 545.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413282 13f79535-47bb-0310-9956-ffa450edef68
2006-06-10 10:57:59 +00:00
Grant Ingersoll d4cc19d03e Implementation of Issue 545. Introduction of new Fieldable interface (extracted from Field) which is now used where Field used to be used. Field now implements Fieldable.
Added new method to IndexReader and derived classes for working with the new FieldSelector interface.  The FieldSelector interface defines a mechanism for doing lazy loading, amongst other things.  Implemented Lazy loading of fields in the FieldsReader class.  Added test case to TestFieldsReader.java

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413201 13f79535-47bb-0310-9956-ffa450edef68
2006-06-10 01:23:22 +00:00
Daniel Naber 2b9effb894 deprecate the analysis.nl.WordlistLoader class because it's not robust (fails silently) and use analysis.WordlistLoader instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413180 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 22:15:47 +00:00
Daniel Naber 8fa9ff435d remove private method that was not used at all
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413152 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 20:31:07 +00:00
Otis Gospodnetic 8956949a38 - Added javadoc about when Reader fields are actually read
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@412909 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 03:15:10 +00:00
Chris M. Hostetter ffd73d8d62 LUCENE-587 fix Explanation.toHtml to produce valid HTML
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@411343 13f79535-47bb-0310-9956-ffa450edef68
2006-06-03 00:06:28 +00:00
Yonik Seeley 2fd8f54e79 ISOLatin1AccentFilter fails to preserve positionIncrement: LUCENE-583
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410960 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:22:29 +00:00
Yonik Seeley 1d6371df43 remove final, implement Cloneable, setTermText(): LUCENE-438
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410954 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:15:37 +00:00
Yonik Seeley 4944720897 make MultiTermDocs.skipTo use sub TermDocs.skipTo: LUCENE-586
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410941 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 20:33:18 +00:00
Daniel Naber 2008f5c535 simple HTML syntax fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410683 13f79535-47bb-0310-9956-ffa450edef68
2006-05-31 22:02:37 +00:00
Daniel Naber 94cc256054 make web application demo work again: don't use a QueryParser method that doesn't exist anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410678 13f79535-47bb-0310-9956-ffa450edef68
2006-05-31 21:46:46 +00:00
Daniel Naber 9760a3ee54 fix javadoc comment (copy+paste error)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410160 13f79535-47bb-0310-9956-ffa450edef68
2006-05-29 22:26:38 +00:00
Doug Cutting 777ab03972 LUCENE-485. Don't hold commit lock while removing obsolete index files. Contributed by Luc Vanlerberghe.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409690 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 16:14:12 +00:00
Yonik Seeley f68744c32b remove 2GB file limitation from RAMIndexInput and RAMIndexOutput: LUCENE-546
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@408916 13f79535-47bb-0310-9956-ffa450edef68
2006-05-23 15:01:11 +00:00
Yonik Seeley 45712c518f fix RAMDirectory(Directory) 2GB size limitation: LUCENE-546
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@408114 13f79535-47bb-0310-9956-ffa450edef68
2006-05-21 01:01:42 +00:00
Yonik Seeley 2c5bc593b8 add empty extractTerms(): LUCENE-556
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407903 13f79535-47bb-0310-9956-ffa450edef68
2006-05-19 20:29:09 +00:00
Yonik Seeley 1e700534cc fix NPE and deletion bugs in ParallelReader: LUCENE-561
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407851 13f79535-47bb-0310-9956-ffa450edef68
2006-05-19 16:39:42 +00:00
Chris M. Hostetter 0c9ec9edf7 fix for LUCENE-572
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407492 13f79535-47bb-0310-9956-ffa450edef68
2006-05-18 07:56:37 +00:00
Chris M. Hostetter a1460c87b8 fix for LUCENE-352
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407485 13f79535-47bb-0310-9956-ffa450edef68
2006-05-18 07:39:23 +00:00
Daniel Naber 55237c881f throw IllegalArgumentException if both field name and value are empty (to avoid a confusing "term out of order" exception later)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406168 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 23:50:35 +00:00
Daniel Naber 2531a82606 init the cause of exceptions so no information is lost when this exception occurs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406096 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 13:29:22 +00:00
Daniel Naber af791e009b import cleanup to avoid warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406093 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 13:22:57 +00:00
Daniel Naber d03ca8f858 fix "throws" declaration in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406088 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 12:57:02 +00:00
Daniel Naber 07587e8d15 improve some exception messages and init the cause of exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@405870 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 21:04:00 +00:00
Daniel Naber cb5f472525 improve the exception messages and init the cause
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@405852 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 20:12:59 +00:00
Otis Gospodnetic 67f3d7f262 - Made class non-public. http://issues.apache.org/jira/browse/LUCENE-564
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@405824 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 18:29:51 +00:00
Daniel Naber d8d159da77 fix links in javadoc (LUCENE-563); clean up import statements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@400187 13f79535-47bb-0310-9956-ffa450edef68
2006-05-05 21:47:58 +00:00
Otis Gospodnetic 5deeaa3f10 - Added testQueryStringEscaping() to test QueryParser.escape(String) method
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@399452 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 22:02:15 +00:00
Daniel Naber 0e71a40936 trivial javadoc typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@396146 13f79535-47bb-0310-9956-ffa450edef68
2006-04-22 18:39:42 +00:00
Daniel Naber 2ef9c7e5fc trivial javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@396011 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 21:42:56 +00:00
Daniel Naber 0065df6858 fix typo in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@393166 13f79535-47bb-0310-9956-ffa450edef68
2006-04-11 09:40:58 +00:00
Daniel Naber 891b25d92c slightly improve javadoc of toString(String)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@392961 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 14:39:40 +00:00
Yonik Seeley d214dd8cd1 LUCENE-512: Fixed ClassCastException in ParallelReader.getTermFreqVectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@392017 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 17:25:02 +00:00
Yonik Seeley fc0d666c81 added getTermArrays() and extractTerms() to MultiPhraseQuery: LUCENE-514
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@392016 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 17:12:44 +00:00
Yonik Seeley 901d7ca635 added missing extractTerms() to DisjunctionMaxQuery: LUCENE-541
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391897 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 04:16:36 +00:00
Yonik Seeley 6c32f48074 FieldSortedHitQueue - subsequent String sorts with different locales sort identically: LUCENE-526
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391895 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 04:02:09 +00:00
Yonik Seeley 825bc9bdac fixed IndexWriter.mergeSegments(minSeg,end) when end was not the last segment... only affected addIndexes(Directory[]) LUCENE-540
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391874 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 01:40:42 +00:00
Yonik Seeley a2c7eb1afe Implemented FilterIndexReader.getVersion() and isCurrent()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391358 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 16:18:51 +00:00
Yonik Seeley 040e9c6c9a Fix SpanScorer next()/skipTo() incompatability: LUCENE-413
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391337 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 15:25:58 +00:00
Mark Harwood 4696ac421e Deprecated superfluous abstract getTerms method introduced in SpanQuery.java, added implementations of Query's existing extractTerms method and switched SpanWeight to use extractTerms instead.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@389886 13f79535-47bb-0310-9956-ffa450edef68
2006-03-29 20:50:47 +00:00
Yonik Seeley 49de97e3b0 remove deprecations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387889 13f79535-47bb-0310-9956-ffa450edef68
2006-03-22 16:52:24 +00:00
Yonik Seeley 926e90c78f remove zero length files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387624 13f79535-47bb-0310-9956-ffa450edef68
2006-03-21 21:18:42 +00:00
Yonik Seeley 3666a166a1 remove deprecations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387550 13f79535-47bb-0310-9956-ffa450edef68
2006-03-21 15:36:32 +00:00
Daniel Naber 4630f11663 re-add a way to set write and commit lock timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@386749 13f79535-47bb-0310-9956-ffa450edef68
2006-03-17 22:51:32 +00:00
Daniel Naber 9d98185ecf trivial typo fix in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@386735 13f79535-47bb-0310-9956-ffa450edef68
2006-03-17 21:55:13 +00:00
Otis Gospodnetic 58d982aa34 - Minor Javadoc fix: LUCENE-513
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@386485 13f79535-47bb-0310-9956-ffa450edef68
2006-03-16 23:49:33 +00:00
Yonik Seeley 38c6fbed8b removed failing/invalid test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@384835 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 16:11:29 +00:00
Yonik Seeley 020ab2dbdf make ConstantWeight serializable: LUCENE-515
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@384407 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 02:42:13 +00:00
Erik Hatcher d07f7eea12 Part of LUCENE-330: fixing FilteredQuery when nested within BooleanQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@384072 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 00:59:28 +00:00
Erik Hatcher 9ad7f217ce Fix misspelling in javadoc comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@383355 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 17:05:18 +00:00
Erik Hatcher 0e28bac0d8 test for FilteredQuery within BooleanQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@383343 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 15:44:44 +00:00
Doug Cutting 4b6426ac56 Patch for LUCENE-511.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382499 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 20:16:49 +00:00
Daniel Naber 738103d83d trivial cleanup to avoid compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382158 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 21:05:21 +00:00
Doug Cutting b1fef86a4a Add basic javadoc to demo classes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381422 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 20:04:22 +00:00
Daniel Naber 7bc0ead011 Undo the change that made setMaxBufferedDocs(1) work because it had negative effects on indexing performance. Instead throw an exception if setMaxBufferedDocs(1) is called.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381096 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 14:40:05 +00:00
Daniel Naber c73de87a8f improve exception message
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@380207 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 19:53:26 +00:00
Daniel Naber 02033e26bb renaming Jakarta Lucene to Apache Lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@379599 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 21:48:07 +00:00
Doug Cutting 7c09d17565 Fix for LUCENE-435: Optimize BufferedIndexOutput.writeBytes(). Contributed by Lukas Zapletal.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@379532 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 17:00:40 +00:00
Doug Cutting f9f3161f57 Minor javadoc improvements.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@379189 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 18:11:02 +00:00
Yonik Seeley ca10021bca TestMultiAnalyzer - test subclassing and default phrase slop: LUCENE-483
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@378052 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 18:36:00 +00:00
Yonik Seeley 8a3cae2dd8 Removed constrait that a sort field must have some terms indexed: LUCENE-374
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@377502 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 21:46:13 +00:00
Daniel Naber 646d9646cb DateTools needs to use UTC for correct collation (LUCENE-491), patch by John Haxby
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@375070 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:17:02 +00:00
Yonik Seeley 3118a1cdb9 make FIeldSortedHitQueue public: LUCENE-432
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@374436 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 16:55:26 +00:00
Daniel Naber 0f19da3c90 fix parsing of dates in range queries that use local date format: include the last day if query is inclusive
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@373355 13f79535-47bb-0310-9956-ffa450edef68
2006-01-29 20:51:43 +00:00
Erik Hatcher abed4e6990 LUCENE-490: Fix to allow QueryParser.jj to work with JavaCC 4.0 submitted by Steven Rowe
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@372383 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 00:43:01 +00:00
Daniel Naber e37a04646a make setMaxBufferedDocs(1) behave correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@372350 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 22:49:45 +00:00
Daniel Naber f2d4c33dc3 document thrown exception in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@371271 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 11:55:21 +00:00
Daniel Naber 5a8e468d3c document the slightly confusing situation of parsing dates in range queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@369559 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 20:09:48 +00:00
Yonik Seeley bc4581f6d9 set default phraseSlop on MultiPhraseQuery in getFieldQuery: LUCENE-483
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@367110 13f79535-47bb-0310-9956-ffa450edef68
2006-01-08 22:35:52 +00:00
Yonik Seeley 2d85b34db8 add boost to hashCode: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@365976 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 20:22:49 +00:00
Doug Cutting 3a4d2491fa Add TopDocCollector and TopFieldDocCollector. These simplify the implementation of hit collectors that collect top-scoring or -sorting documents.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@365447 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 22:00:07 +00:00
Erik Hatcher 396229f18d Remove (Span)RegexQuery from core. Add completely refactored version to contrib/regex allowing pluggable regex implementations. contrib/regex is still a work in progress, and documentation is forthcoming
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@359526 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 13:57:40 +00:00
Yonik Seeley 10ae54c724 add test for hashCode/equals
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@359080 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 17:22:43 +00:00
Yonik Seeley 3852c6263e fix equals() typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@359079 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 17:20:02 +00:00
Yonik Seeley b374f5ffa2 implement, correct, improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@359078 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 17:12:16 +00:00
Yonik Seeley 9513c471f6 improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358696 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 04:03:06 +00:00
Yonik Seeley 9b4b499548 improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358695 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 03:51:03 +00:00
Yonik Seeley 27f2d29a10 improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358694 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 03:43:38 +00:00
Yonik Seeley 75c81da538 improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358693 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 03:37:50 +00:00
Yonik Seeley 99c9289a89 improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358689 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 03:14:58 +00:00
Yonik Seeley 9a9da2f770 grab commit lock when getting current version: LUCENE-481
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358685 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 02:38:23 +00:00
Otis Gospodnetic 8125927112 - Initial commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358165 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 01:01:46 +00:00
Yonik Seeley c86207379d fix score to include boost and query normalization: LUCENE-450
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358089 13f79535-47bb-0310-9956-ffa450edef68
2005-12-20 20:14:30 +00:00
Yonik Seeley a08af8e73d Change DisjunctionMaxScorer to use heap (Chuck Williams)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@356452 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 02:19:46 +00:00
Daniel Naber f3dcf0683c document that extractTerms() can throw an exception if it's called on a non-rewritten query
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@355997 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 19:18:50 +00:00
Doug Cutting e6400c63f0 Fix LUCENE-479: After MultiReader.undeleteAll(), numDocs was incorrect. Contributed by Robert Kirchgessner.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@355181 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 19:53:06 +00:00
Erik Hatcher cf4c00556c Likewise rename the delete methods for IndexModifier, deprecating the old (though not strictly necessary since IndexModifier was added after 1.4.3)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354934 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 02:14:25 +00:00
Erik Hatcher 331748b8c3 LUCENE-289 - added IndexReader.deleteDocument/.deleteDocuments and deprecated .delete(int)/.delete(Term).
CHANGES.txt already mentions deprecated methods sufficiently, so nothing further to note for this change.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354917 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 00:22:00 +00:00
Yonik Seeley ad9e9bceb4 remove score normalization from expert level search: LUCENE-469
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354819 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 17:48:37 +00:00
Yonik Seeley 3e1787d7db StopFilter ignore case: LUCENE-248
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354253 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 01:36:53 +00:00
Bernhard Messer 6cabdf3726 LUCENE-475 - patch from Volodymyr Bychkoviak to reduce memory usage
when loading an index into RAMDirectory.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351779 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:37:50 +00:00
Bernhard Messer abb213261d add JUnit class to test the different RAMDirectory constructors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351778 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:32:15 +00:00
Bernhard Messer 17100557f1 remove local variable never used to avoid compiler warnings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351777 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:26:23 +00:00
Bernhard Messer 72a781706f delete DocTest which is not a JUnit test and not in use.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351775 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:20:35 +00:00
Bernhard Messer 3c62597540 delete TermInfosTest which is not a JUnit test at all.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351773 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:10:35 +00:00
Erik Hatcher 29aafdf3c5 Renamed test files to match the conventional pattern used, allowing these tests to run from 'ant test'
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351548 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 01:21:20 +00:00
Erik Hatcher 18b9843fad LUCENE-288 - Patch from Andi Vajda applied to work around a GCJ issue (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15411)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351489 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 21:50:45 +00:00
Bernhard Messer 530484379e avoid ArrayIndexOutOfBoundsException when startet without index parameter and print usage instead.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351472 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 21:15:53 +00:00
Yonik Seeley 3ba5a1d9e5 Change Similarity to use SmallFloat for norm encoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@349074 13f79535-47bb-0310-9956-ffa450edef68
2005-11-26 04:17:08 +00:00
Yonik Seeley 208760307f Change Similarity to use SmallFloat for norm encoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@349073 13f79535-47bb-0310-9956-ffa450edef68
2005-11-26 04:14:35 +00:00
Erik Hatcher 729175f73a Modified RegexTermEnum to have more generic logic, Character.isLetterOrDigit(), to determine the prefix for term enumeration.
Also added commented out test demonstrating where prefix logic fails currently.  Perhaps, like FuzzyQuery, we should push the
prefix calculation back to the user of the query for now?



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348692 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 09:09:48 +00:00
Erik Hatcher cf1d106504 LUCENE-470 - Added some more regex tests, contributed by Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348689 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 08:52:02 +00:00
Erik Hatcher 13ea2b0c3f remove mention of non-public DocumentWriter class from Analyzer javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348207 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 18:35:05 +00:00
Erik Hatcher e797a8e965 Fix TestSegmentReader, which broke due to previous changes to DocHelper. getPositionIncrementGap tests no longer use DocHelper, to avoid testing conflicts.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348137 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 09:35:58 +00:00
Erik Hatcher c958e10770 added getPositionIncrementGap(String fieldName) to Analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348060 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 01:46:24 +00:00
Daniel Naber e4d079faa3 test case for LengthFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347996 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:51:46 +00:00
Daniel Naber c78c2c8936 avoid using deprecated QueryParser method
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347995 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:46:26 +00:00
Daniel Naber dea69e3360 tiny whitespace and javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347992 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:41:43 +00:00
Daniel Naber bfde3257dc moving the non-language specific analyzers to core, this is where most users will probably expect them
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347991 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:35:24 +00:00
Yonik Seeley f0b3f57b96 fix deprecated referebces: LUCENE-468
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345920 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 16:00:32 +00:00
Yonik Seeley 6798e96355 SmallFloat: generalized and faster versions of floatToByte/byteToFloat
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345681 13f79535-47bb-0310-9956-ffa450edef68
2005-11-19 20:22:36 +00:00
Erik Hatcher a5cd1e7e1b add getTerm to SpanRegexQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345677 13f79535-47bb-0310-9956-ffa450edef68
2005-11-19 20:01:18 +00:00
Yonik Seeley b7f89acd31 remove Java5 dependency
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345449 13f79535-47bb-0310-9956-ffa450edef68
2005-11-18 05:23:51 +00:00
Yonik Seeley 0c5febcb15 comment out log messages on success path
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345093 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 19:38:31 +00:00
Yonik Seeley 3c10854e00 new DisjunctionMaxQuery/DisjunctionMaxScorer from Chuck Williams: LUCENE-323
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345089 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 18:47:37 +00:00
Yonik Seeley c40c7cd114 BooleanQuery/BooleanScorer minNrShouldMatch implementation: LUCENE-395
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345056 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 16:39:59 +00:00
Yonik Seeley 292c9dfa72 added ASF copyright
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@344415 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 19:29:48 +00:00
Yonik Seeley fd41195ef3 ConstantScoreRangeQuery addition: LUCENE-383
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@344312 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 05:28:52 +00:00
Daniel Naber 7017c1b701 throw IllegalArgumentExeception if value doesn't make sense
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332762 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 11:57:35 +00:00
Erik Hatcher 11866ad09d Correct TestRegexQuery to test RegexQuery rather than SpanRegexQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332748 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 09:09:49 +00:00
Erik Hatcher 6befc45334 Add RegexQuery and SpanRegexQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332747 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 09:03:26 +00:00
Erik Hatcher f00afeee7a LUCENE-461 - Fix for "StandardTokenizer splitting all of Korean words into separate characters", contributed by Cheolgoo Kang
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332745 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 08:33:21 +00:00
Yonik Seeley 34c98cc0bf fix FieldSortedHitQueue.maxscore: LUCENE-462
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332651 13f79535-47bb-0310-9956-ffa450edef68
2005-11-11 21:19:02 +00:00
Daniel Naber d37e5cc906 fixing tiny typo in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332631 13f79535-47bb-0310-9956-ffa450edef68
2005-11-11 18:32:22 +00:00
Yonik Seeley 48b55ab1e0 break sorting ties by index order: LUCENE-456
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332431 13f79535-47bb-0310-9956-ffa450edef68
2005-11-11 03:13:10 +00:00
Daniel Naber 5bba415099 a few more tests, fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332362 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 19:49:52 +00:00
Yonik Seeley e9d4568cf5 added random disableCoord to random boolean query
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332344 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 18:14:10 +00:00
Yonik Seeley 3dbba4dabe fix comparison of null strings in FieldDocSortedHitQueue: LUCENE-453
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332229 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 05:57:32 +00:00
Yonik Seeley 6adbae3dc2 use instanceof instead of catching exception: LUCENE-392
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332214 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 03:24:03 +00:00
Yonik Seeley 7208772e69 test TopDocs score normalization when sorting
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332135 13f79535-47bb-0310-9956-ffa450edef68
2005-11-09 20:28:44 +00:00
Otis Gospodnetic 495e885eee - Applied Yonik's patch from http://issues.apache.org/jira/browse/LUCENE-441
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331964 13f79535-47bb-0310-9956-ffa450edef68
2005-11-09 06:44:10 +00:00
Daniel Naber 2ce046a7a6 Make QueryParser work with analyzers that return tokens with a position
increment > 1. Thanks to Ahmed El-dawy for the fix.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331923 13f79535-47bb-0310-9956-ffa450edef68
2005-11-08 23:05:44 +00:00
Yonik Seeley fd81a02f17 add getFilter(), LUCENE-440
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331113 13f79535-47bb-0310-9956-ffa450edef68
2005-11-06 15:55:45 +00:00
Yonik Seeley 9cee714143 reset useScorer14 in finally in case of test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331111 13f79535-47bb-0310-9956-ffa450edef68
2005-11-06 15:32:28 +00:00
Yonik Seeley bfe4a24053 remove floatToIntBits on slop in hashCode
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@330933 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 22:10:54 +00:00