Commit Graph

544 Commits

Author SHA1 Message Date
Michael McCandless 91204f8d54 LUCENE-767: derive maxDoc from SegmentInfo.docCount instead of file length of fieldsReader's index file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494871 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 16:06:33 +00:00
Bernhard Messer ca55ebad18 document deletion of unused extension "tvp"
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494524 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 19:03:29 +00:00
Michael McCandless 853c03ac43 LUCENE-768: make sure IndexReader.close releases write lock even after hitting an exception in one of the methods that acquire the write lock
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494492 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 17:13:57 +00:00
Chris M. Hostetter ceaa0c3091 LUCENE-732 - DateTools support for QueryParser, Resolution can be set on a per field basis
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494184 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 20:02:51 +00:00
Michael McCandless dc20634a97 LUCENE-140: Add bounds checking to BitVector's get, set, clear methods
to prevent index corruption on calling IndexReader.deleteDocument(int
docNum) on a "slightly" out of bounds docNum.  Other changes:

  * In IndexReader.deleteDocument, set hasChanges to true before
    calling doDelete in case an Exception is hit in doDelete.

  * Changed the "docs out of order" check to be tighter (<= instead of
    <) to catch boundary case that was missed.

  * Fixed small unrelated javadoc typo.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494136 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 18:11:08 +00:00
Yonik Seeley c9795dd56b Maintain norms in a single file .nrm: LUCENE-756
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@493641 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 04:19:21 +00:00
Michael McCandless c82b1703e3 LUCENE-764: add details to javadocs about temporary disk usage of IndexWriter optimize, addIndexes, addDocument methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@492300 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 20:59:01 +00:00
Michael McCandless 411575b600 LUCENE-758: fix javadocs to clarify that RAMDirectory(Directory) makes a full copy of the original Directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@491574 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 14:06:26 +00:00
Grant Ingersoll 9814a94714 Added some info on what is in a release
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@491026 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 15:19:14 +00:00
Otis Gospodnetic 8b7f6e4ef6 - LUCENE-759: New n-gram-capable tokenizers and their unit tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489802 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 23:43:17 +00:00
Grant Ingersoll d9ebc50096 Lucene 757 - Added init-dist target and had package and package-*-src call it to ensure the dist dir is created.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489254 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 03:14:02 +00:00
Otis Gospodnetic 17315a9be7 - LUCENE-741: command-line utility for modifying or removing field norms
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489213 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 22:32:13 +00:00
Otis Gospodnetic 42592aeb49 - LUCENE-436: removed finalize() methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489183 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 19:45:40 +00:00
Otis Gospodnetic fa71e29bd4 - self.add() to LUCENE-728
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489182 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 19:42:21 +00:00
Yonik Seeley f4b3239092 fix FieldCache holding hard ref to readers: LUCENE-754
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488908 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 03:47:09 +00:00
Yonik Seeley 30c8ce4f10 remove FSIndexOutput finalizer, move FSIndexInput finalizer to it's Descriptor: LUCENE-750
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488722 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 16:31:06 +00:00
Michael McCandless 7c4b667f71 LUCENE-748: add javadoc around semantics of Exception during IndexWriter.close()
LUCENE-129: fix finalizers to always call super.finalize
LUCENE-301: add new constructors IndexWriter({String,File,Directory}, Analyzer) that create index if it's not already there, else append
LUCENE-701: found two cases of "open IndexWriter for create while reader is open, on Windows" that I didn't properly fix; added new test cases
LUCENE-702: corrected some small javadoc issues


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488640 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 11:31:27 +00:00
Michael McCandless d6823ef374 LUCENE-702: make sure addIndexes(*) does not corrupt index on disk full; change to transactional semantics; fix IndexWriter.mergeSegments and IndexReader.commit to clean up (and leave instance consistent) on exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488330 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 16:45:29 +00:00
Grant Ingersoll 0d8f7b704a Mapped java.io.tmpdir to the same value as tempDir.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488004 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 16:45:53 +00:00
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
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 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
Michael McCandless f4d9f44828 LUCENE-669: I forgot attribution to Michael Busch for this (thanks Michael!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485686 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 15:01:07 +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
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
Michael McCandless 989b1cb981 LUCENE-672: added description of the 'under-merging' bug that was also fixed with this change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480238 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 22:20:24 +00:00
Otis Gospodnetic 57ce49d49a - LUCENE-728: Removed duplicate/old MoreLikeThis and SimilarityQueries classes,
as their new home is under contrib/queries.
  This means contrib/similarity is not completely empty.  I am leaving it in SVN
  for now, as it seems like it could be a nice warm home for custom Similarity
  implementations.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480200 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 20:46:42 +00:00
Otis Gospodnetic 338991bd51 - LUCENE-717: Avoid build failure when (unused) lib directory does not exist
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480191 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 20:33:00 +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
Otis Gospodnetic bd76b754b0 - Fixed Mark's surname, thanks Eric ;)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479480 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 00:51:25 +00:00
Grant Ingersoll 0f6aa1309a git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479474 13f79535-47bb-0310-9956-ffa450edef68 2006-11-27 00:18:36 +00:00
Otis Gospodnetic 61f2c83fd9 - Gave Mark credits for hit LUCENE-703 changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479459 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 23:41:20 +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
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
Daniel Naber 5cf957527f LUCENE-722: DEFAULT spelled DEFALT in MoreLikeThis.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477932 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 22:26:45 +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
Yonik Seeley cd39647656 expanded description of LUCENE-651
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477207 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 14:51: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 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 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 ca0804ca4f Updated docs - Added entry to changes.txt for the new QueryParser use of ConstantScoreRangeQuery, added entry to whoweare docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@475629 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 08:18:20 +00:00
Grant Ingersoll 6a36e71604 http://issues.apache.org/jira/browse/LUCENE-706
Changed 22 to 8

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@471614 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 02:20:39 +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
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
Otis Gospodnetic 38d2797fa3 - Some Emacs meta-Q action
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468289 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 06:11:56 +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 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 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 323328ca97 clarify change entry a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464200 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 14:18:56 +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
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 885e92add1 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@442407 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 01:06:29 +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 9f374d9202 Applied patch from:
http://issues.apache.org/jira/browse/LUCENE-664

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@434091 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 17:28:04 +00:00
Grant Ingersoll 4ba69db562 Initial check in of scoring.xml documentation. I have also added lucene.css stylesheet and included it in the Anakia Site VSL, although I am open to other ways of including style information on a per document basis (I just don't know Velocity to make the changes).
I have not linked in scoring.xml to the main documentation yet, as I wanted others to proofread/edit before making it official.  Once it is official, I will hook it in via the projects.xml

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433627 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 13:38:16 +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
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
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
Otis Gospodnetic 395115d8d7 - Typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431147 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 06:06:23 +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 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
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
Otis Gospodnetic ddae8f0c57 - LUCENE-593, inner Iterator fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@418368 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 20:14:48 +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
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 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 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
Chris M. Hostetter 00ff3cbdc5 damn, i forgot to be explicit about the issue number
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@411875 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 17:59:50 +00:00
Chris M. Hostetter 2123b476df LUCENE-503: New ThaiAnalyzer and ThaiWordFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@411863 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 17:29:01 +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 62df9360f1 SpellChecker min score is incorrectly changed by suggestSimilar: LUCENE-575
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410973 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:37:14 +00:00
Yonik Seeley 3afc9192b9 SpellChecker min score is incorrectly changed by suggestSimilar: LUCENE-575
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410971 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:36:13 +00:00
Yonik Seeley 847df551dc ISOLatin1AccentFilter fails to preserve positionIncrement: LUCENE-583
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410970 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:32:51 +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 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
Doug Cutting b9ec9b71e4 Add boilerplate for post 2.0.0 changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409704 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 17:40:18 +00:00
Doug Cutting 1915582612 Preparing for 2.0.0 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409697 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 16:50:37 +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
Chris M. Hostetter d2b63d328b LUCENE-577: initial checkin of SweetSpotSimilarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409472 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 21:21:29 +00:00
Chris M. Hostetter dd3d979905 LUCENE-496 - Command line tool for modifying the field norms of an existing index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409428 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 18:49:04 +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
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
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
Daniel Naber c095297fdb let's not forget to document the most obvious change: remove all deprecated methods and fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391795 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 20:37:46 +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
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
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
Daniel Naber ec8db2aae0 forgot to add my name
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@383110 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 13:22:45 +00:00
Doug Cutting dd4ee7dd0d Added attribution to the fix for LUCENE-511.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@383020 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 04:07:50 +00:00
Doug Cutting b501850698 Updating to reflect 1.9.1 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382905 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 18:20:51 +00:00
Doug Cutting 508dc68477 Merge changes from 1.9 branch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381700 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 16:49:44 +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
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
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 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
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
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
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
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
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
Erik Hatcher 7a3103fac0 Applied patched for LUCENE-324, correcting token offsets returned by ChineseTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@353930 13f79535-47bb-0310-9956-ffa450edef68
2005-12-04 23:07:42 +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
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 4424265faf added getPositionIncrementGap(String fieldName) to Analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348061 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 01:46:46 +00:00
Daniel Naber e4c82ad613 document LengthFilter, ISOLatin1AccentFilter, and KeywordAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348001 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 22:03:20 +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 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
Erik Hatcher bc428b86a8 note that (Span)RegexQuery not supported by QueryParser.... yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332861 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 00:11:23 +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 a176028a7e cleanup formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332746 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 08:39:00 +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
Erik Hatcher 1687a79648 Add NullFragmenter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332696 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 01:08:01 +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
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
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
Otis Gospodnetic 6aee0c4892 - Corrected the description of the most recent change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332103 13f79535-47bb-0310-9956-ffa450edef68
2005-11-09 18:50:21 +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 2f2f78e731 warn about compatibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331910 13f79535-47bb-0310-9956-ffa450edef68
2005-11-08 22:23:12 +00:00
Bernhard Messer 5a76aaa06f document bugfixes for LUCENE-455 and LUCENE-306
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329862 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 17:08:45 +00:00
Yonik Seeley ae11eb845b make field norms optional : LUCENE-448
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329366 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 03:52:48 +00:00
Yonik Seeley a7ef75f3e8 speedup by deferring docMap and postings until needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329069 13f79535-47bb-0310-9956-ffa450edef68
2005-10-28 03:45:35 +00:00
Daniel Naber e488faf407 document fix for Korean tokenization; document URL for old bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@327782 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 11:41:00 +00:00
Erik Hatcher 32fb624ebc LUCENE-437 - Add position increment pass through on SnowballFilter tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@290943 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 13:38:58 +00:00
Erik Hatcher 1f5925c639 adjust site to point to JIRA
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@290677 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 10:41:16 +00:00
Erik Hatcher f32d7e7786 Added rewrite methods to all SpanQuery subclasses that nest SpanQuerys
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@289556 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 14:17:32 +00:00
Daniel Naber 3b9f3cf427 adding MatchAllDocsQuery by John Wang, bug #34946
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@234190 13f79535-47bb-0310-9956-ffa450edef68
2005-08-21 12:23:00 +00:00
Daniel Naber 1e5c36f315 use of Lucene in applets
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@231100 13f79535-47bb-0310-9956-ffa450edef68
2005-08-09 20:17:30 +00:00
Daniel Naber f770e5fbe2 use setter/getter instead of system property; catch security
exception so Lucene can be used inside an applet

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@231098 13f79535-47bb-0310-9956-ffa450edef68
2005-08-09 20:12:50 +00:00
Daniel Naber 615f2c4db3 document fix for #35626
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219389 13f79535-47bb-0310-9956-ffa450edef68
2005-07-17 10:57:57 +00:00
Daniel Naber d6ee6c0845 maxClauseCount: deprecate public field, no more setting via system property
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219250 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 21:03:33 +00:00
Daniel Naber 9ea49db638 don't allow setting of defaut values via system properties anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@216236 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 20:55:53 +00:00
Bernhard Messer d0324fb44e remove duplicate entry in change log.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189914 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 07:30:15 +00:00
Bernhard Messer f1a81edf7d document new index create behavior, that files will not be deleted when a new index is created in the same directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189798 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 19:17:23 +00:00
Daniel Naber 6455d1a106 document the change in semantics for IndexReader.getCurrentVersion()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189459 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 22:13:44 +00:00
Daniel Naber e2a79a145f new IndexModifier class that simplifies access to IndexReader and IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@185069 13f79535-47bb-0310-9956-ffa450edef68
2005-06-06 22:29:30 +00:00
Erik Hatcher e45c04c7ff #35157 - Fix for SpanTermQuerys in a BooleanQuery. Patch from Reece Wilton.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179679 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 00:22:47 +00:00
Doug Cutting 098a0e95b8 Optimize IndexWriter.addIndexes(Directory[]).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179611 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 17:05:58 +00:00
Doug Cutting eea1c63a62 Fix FSDirectory.createOutput() to always create new files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179609 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 16:57:10 +00:00
Doug Cutting 4ade1d4606 Add IntParser and FloatParser interfaces to FieldCache.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179605 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 16:48:40 +00:00
Daniel Naber 5edb98e537 obtain(long) never really waited for the lock to go away (#33799)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179414 13f79535-47bb-0310-9956-ffa450edef68
2005-06-01 20:10:58 +00:00
Doug Cutting b68ae2ef26 Add ParallelReader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@169859 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 17:59:41 +00:00
Daniel Naber 4b00637662 only delete our own files when re-creating an index (#34695)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168213 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 23:34:52 +00:00
Daniel Naber 77f94fb60c mention the new Java 1.4 requirement that we already agreed on in January
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168212 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 23:26:00 +00:00
Erik Hatcher 6ec9385b89 Adjust old reference to sandbox to contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164968 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 10:26:22 +00:00
Erik Hatcher ab83a46657 Add Hits.iterator and corresponding HitIterator and Hit classes. Contributed by Jeremy Rayner
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164695 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 00:21:53 +00:00
Daniel Naber 1f53ece799 mention bug number of Otis' latest bugfix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@162065 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 20:39:18 +00:00
Otis Gospodnetic e4bd715106 - Applied Chuck's and Wolf's patch for bug 31841
http://issues.apache.org/bugzilla/show_bug.cgi?id=31841


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@162008 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 03:28:32 +00:00
Daniel Naber c8d143d487 typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@157242 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 10:38:51 +00:00
Otis Gospodnetic 0d8a41342e - Let callers get the Lucene version number, as specified in the Manifest
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@157223 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 03:23:13 +00:00
Doug Cutting 85cc5c9fc3 Added IndexWriter.setTermIndexInterval().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156669 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 18:58:26 +00:00
Doug Cutting be8ae58254 Read term index lazily at first random-access to terms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156444 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 20:28:04 +00:00
Doug Cutting 4d1970ebab Patch #33472. Disable coord() in automatically generated queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156438 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 19:26:27 +00:00
Doug Cutting bfffc32a3d Fix for bug #32847. Use uncached access to norms when merging to
minimize RAM usage.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151390 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 19:09:53 +00:00
Bernhard Messer f19e0f7bcc document main method move from CompoundFileReader to IndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151383 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 17:46:21 +00:00
Erik Hatcher ab72513214 note converstion to svn and test commit capabilities
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151044 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 20:29:56 +00:00
Christoph Goller 3c7247e2bc *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150737 13f79535-47bb-0310-9956-ffa450edef68
2005-01-24 20:31:56 +00:00
Daniel Naber aea8b8ce36 small typo fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150735 13f79535-47bb-0310-9956-ffa450edef68
2005-01-21 18:28:35 +00:00
Daniel Naber b19f7942f7 mention fix for bug #33161
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150734 13f79535-47bb-0310-9956-ffa450edef68
2005-01-20 21:20:55 +00:00
Bernhard Messer 475551e17b document the new CompoundFileReader.main method
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150724 13f79535-47bb-0310-9956-ffa450edef68
2004-12-30 13:04:13 +00:00
Bernhard Messer 35a6a1cbfc document the FieldInfos change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150716 13f79535-47bb-0310-9956-ffa450edef68
2004-12-19 15:23:32 +00:00
Daniel Naber 2a66a4427f document that Fuzzy/RangeQuery terms are now lowercased by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150710 13f79535-47bb-0310-9956-ffa450edef68
2004-12-14 23:13:34 +00:00
Daniel Naber 10927a535c adding a new category for changes that people need to know about when they update
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150703 13f79535-47bb-0310-9956-ffa450edef68
2004-12-12 11:46:02 +00:00
Daniel Naber 3a7635568e whitespace and typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150697 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 22:18:31 +00:00
Daniel Naber 26235ca92d list the changes for 1.4.3 here, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150696 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 20:04:01 +00:00
Bernhard Messer 37d3337937 reflect change for system property "org.apache.lucene.lockDir"
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150692 13f79535-47bb-0310-9956-ffa450edef68
2004-12-02 17:46:00 +00:00
Daniel Naber 2cc6c7f64a clarify that DateField will not be removed soon, despite being deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150682 13f79535-47bb-0310-9956-ffa450edef68
2004-11-28 15:42:17 +00:00
Christoph Goller cedcddf4c6 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150676 13f79535-47bb-0310-9956-ffa450edef68
2004-11-25 19:14:26 +00:00
Christoph Goller 4d1eb290c5 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150674 13f79535-47bb-0310-9956-ffa450edef68
2004-11-25 16:57:11 +00:00
Erik Hatcher d0623a8e13 Add first pass for NumberUtils, adapted from code contributed by Matt Quail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150666 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 21:07:49 +00:00
Erik Hatcher b01416fcb3 Added RangeFilter and tests contributed by Chris M Hostetter.
Deprecated DateFilter and DateField.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150658 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 14:17:18 +00:00
Daniel Naber bb6c0124d8 document the fact that IndexSearcher in the JSP demo is now closed (not sure how relevant this is)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150654 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 21:04:17 +00:00
Daniel Naber 0d3df6128f include the changes from 1.4.2 (this makes sense from the user's point of view I think) but try not to list an item twice
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150652 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 20:53:24 +00:00
Daniel Naber 5a7c2e8e1c put the change items into categories, making the file easier to read
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150651 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 20:39:02 +00:00
Daniel Naber f8d0d0b140 make QueryParser work with analyzers that return more than one token per position
PR: 23307
Submitted by: Pierrick Brihaye


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150639 13f79535-47bb-0310-9956-ffa450edef68
2004-11-13 15:11:26 +00:00
Daniel Naber 6f3bf4837d document the fuzzy query optimization
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150629 13f79535-47bb-0310-9956-ffa450edef68
2004-11-07 23:31:16 +00:00
Daniel Naber 3b15d36d38 document the HTML escape fix for the JSP example
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150617 13f79535-47bb-0310-9956-ffa450edef68
2004-10-18 22:30:15 +00:00
Doug Cutting e56faa3097 Optimize term dictionary lookup to allocate fewer terms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150581 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 15:58:49 +00:00
Christoph Goller 435e471111 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150571 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 12:15:05 +00:00
Doug Cutting 36fab121e3 Remove mention of limitation that no longer exists.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150564 13f79535-47bb-0310-9956-ffa450edef68
2004-10-04 19:45:27 +00:00
Christoph Goller 75c4b52722 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150547 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 12:44:05 +00:00
Christoph Goller 168a155a8b Bug# 31240
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150545 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 09:19:43 +00:00
Doug Cutting e2c1b9b313 Describe some recent changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150543 13f79535-47bb-0310-9956-ffa450edef68
2004-09-29 16:54:44 +00:00
Doug Cutting 79892c1f40 Replace OutputStream with IndexOutput and BufferedIndexOutput to permit unbuffered Directory implementations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150536 13f79535-47bb-0310-9956-ffa450edef68
2004-09-28 18:15:52 +00:00
Doug Cutting ae6229c8cb Add native GCJ Directory implementation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150525 13f79535-47bb-0310-9956-ffa450edef68
2004-09-20 18:14:25 +00:00
Daniel Naber 49d0e47491 document fix for bug #31241
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150524 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 18:27:21 +00:00
Doug Cutting 99fdf6af1f Permit unbuffered index input.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150517 13f79535-47bb-0310-9956-ffa450edef68
2004-09-16 21:13:37 +00:00
Christoph Goller 74cadb2dcf *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150512 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 16:41:26 +00:00
Daniel Naber 61e338ae88 document Christoph's improvements to FuzzyQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150508 13f79535-47bb-0310-9956-ffa450edef68
2004-09-14 22:19:53 +00:00
Daniel Naber 891a32f0b1 document the addition of the DateTools class
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150486 13f79535-47bb-0310-9956-ffa450edef68
2004-09-05 22:09:26 +00:00
Daniel Naber 3e831bfa21 document that methods have been deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150459 13f79535-47bb-0310-9956-ffa450edef68
2004-08-27 20:17:49 +00:00
Daniel Naber ccfc4ec8e1 whitespace changes only
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150458 13f79535-47bb-0310-9956-ffa450edef68
2004-08-27 20:11:00 +00:00
Erik Hatcher b6978c9213 corrected target name
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150444 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:53:34 +00:00
Otis Gospodnetic bcaf26108e - Applied patch from http://issues.apache.org/bugzilla/show_bug.cgi?id=30360
PR: 30360
Submitted by:	Paul Elschot
Reviewed by:	Otis Gospodnetic


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150442 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:38:46 +00:00
Erik Hatcher d0333a5634 fixed misspellings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150440 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 13:36:53 +00:00
Christoph Goller 99b1b2260d disk usage changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150439 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 13:01:49 +00:00
Daniel Naber a34be5b16e document the analyzer move to sandbox
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150437 13f79535-47bb-0310-9956-ffa450edef68
2004-08-16 21:17:20 +00:00
Daniel Naber cf7e09486d mention the new FuzzyQuery parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150424 13f79535-47bb-0310-9956-ffa450edef68
2004-08-13 19:33:25 +00:00
Daniel Naber 1268d0deed Document my "throws IOException" cleanup. It won't affect many people I think.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150406 13f79535-47bb-0310-9956-ffa450edef68
2004-08-07 11:36:39 +00:00
Doug Cutting 8bd9b14464 Preparing for 1.4.1 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150382 13f79535-47bb-0310-9956-ffa450edef68
2004-08-02 20:53:14 +00:00
Doug Cutting 4c96baa13a Fixed a performance bug in hit sorting code, #30240.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150375 13f79535-47bb-0310-9956-ffa450edef68
2004-07-21 19:05:46 +00:00