Commit Graph

30715 Commits

Author SHA1 Message Date
Christoph Goller 17af7399fd termDocs.close() moved.
Before that termDocs was used though it had already been closed!


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150090 13f79535-47bb-0310-9956-ffa450edef68
2003-10-11 13:45:51 +00:00
Otis Gospodnetic b6884a0cba - Added Christoph Goller and eluniversal.com, updated from jakarta-site2.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150089 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 14:40:30 +00:00
Erik Hatcher b118a27a86 Fix e-mail tokenization - thanks Christoph!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150088 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 12:24:11 +00:00
Erik Hatcher b67b9df567 #7782 - an ancient. this seems like the right thing to do, all relevant tests still pass
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150087 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 01:22:21 +00:00
Erik Hatcher ded5fcb7ac aesthetics cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150086 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 00:13:24 +00:00
Erik Hatcher 0e60607de8 minor javadoc fixup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150085 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 00:11:54 +00:00
Erik Hatcher 2216c0dee3 minor javadoc fixup and add question comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150084 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 00:08:52 +00:00
Erik Hatcher fcf192b882 Fix UInt64 typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150083 13f79535-47bb-0310-9956-ffa450edef68
2003-10-08 17:09:24 +00:00
Erik Hatcher 9808a54319 geez, try to add docs and screw it up!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150082 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 15:40:40 +00:00
Erik Hatcher 0c585e634a note QueryParser enhancement
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150081 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 15:16:24 +00:00
Erik Hatcher 22575e8942 Change locale handling to be in line with the other tweakable parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150080 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 15:13:57 +00:00
Otis Gospodnetic 640c7632ba - Added a note about Dmitry's file handle reducing changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150079 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 12:37:51 +00:00
Otis Gospodnetic eeb4099cfa - Fixed a bug when dealing with large indices
- Added Javadoc.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150078 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 10:24:46 +00:00
Erik Hatcher c3bae8805b Add locale option to QueryParser, allowing date range to be dealt with a bit more flexibly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150077 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 03:12:42 +00:00
Erik Hatcher 399ec233ff unwrap @links
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150076 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 03:05:28 +00:00
Erik Hatcher c644322f13 Add some javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150075 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 03:03:39 +00:00
Erik Hatcher 764283bf8a minor touchup to QueryParser syntax docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150074 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 03:01:05 +00:00
Erik Hatcher 679aa50919 oops, forgot to check in JavaCC generated files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150073 13f79535-47bb-0310-9956-ffa450edef68
2003-10-01 16:39:26 +00:00
Erik Hatcher 186a1113cc #23466 - StandardTokenzier with CJK support(sigram)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150072 13f79535-47bb-0310-9956-ffa450edef68
2003-09-30 16:31:49 +00:00
Erik Hatcher 13b2aa2136 Add tests for new ParseException capability for subclasses, demonstrating a way to reject fuzzy and wildcard queries; general spacing cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150071 13f79535-47bb-0310-9956-ffa450edef68
2003-09-30 04:41:02 +00:00
Erik Hatcher 15bcd46829 Add throws clause to query factory methods, allowing subclasses to use for rejecting, etc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150070 13f79535-47bb-0310-9956-ffa450edef68
2003-09-30 04:38:36 +00:00
Erik Hatcher 99ffd3cf27 #23505 - Hani's patch to fix RussianAnalyzer test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150069 13f79535-47bb-0310-9956-ffa450edef68
2003-09-30 03:09:15 +00:00
Erik Hatcher dc4e35c080 added PerFieldAnalyzerWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150068 13f79535-47bb-0310-9956-ffa450edef68
2003-09-27 14:21:50 +00:00
Dmitry Serebrennikov e2559e4003 Implementation of compound files. This reduces the number of files
used by Lucene to 1 per index segment (2 when deleted documents exist).
Test cases modified and added to go with this code.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150067 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 22:01:51 +00:00
Dmitry Serebrennikov 4e84ddc3f5 Added a method used in test cases to determine if a file descriptor is
closed. Added troubleshooting code (commented out) to help diagnose
problems around openning and closing files.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150066 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 21:50:11 +00:00
Dmitry Serebrennikov 250f13e99c Make RAMDirectory's touchFile method wait long enough for the system clock
to register a new timestamp. This makes locking logic more robust.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150065 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 21:45:58 +00:00
Dmitry Serebrennikov 28ef35ee3e Submitted by: Christoph Goller via Otis
Test case to go with the IndexReader change.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150064 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 21:42:53 +00:00
Dmitry Serebrennikov 93b5e6c230 Submitted by: Christoph Goller via Dmitry
Slightly modified patch from Christoph to prohibit modifications of an
index by readers that have a stale view of it.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150063 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 21:41:51 +00:00
Dmitry Serebrennikov 71bbc1396f Added demo to junit's classpath. This is needed by some of the new test cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150062 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 21:23:18 +00:00
Erik Hatcher dd29f75e77 Added per-field analysis capabilities
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150061 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 18:54:55 +00:00
Otis Gospodnetic 97e5c5f405 - Moved Lucene Tutorial to a more appropriate place.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150060 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 08:52:03 +00:00
Otis Gospodnetic 83efa1b48c - Added Dmitry, as he is a Lucene committer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150059 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 08:34:27 +00:00
Otis Gospodnetic f5f97e4e1d - Added Luke, Limo, ejIndex
- Replaced the Term Highlighting with the one from Mark Harwood
- Removed JTidy
- Reorganized


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150058 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 08:30:52 +00:00
Erik Hatcher 2350513c89 add basic assertion of position increments test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150057 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 13:45:33 +00:00
Erik Hatcher bbc24bfca5 clarify comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150056 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 13:42:55 +00:00
Erik Hatcher 8958352e85 more phrase query tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150055 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 13:41:59 +00:00
Erik Hatcher be4dd1b301 Add test case for PrefixQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150054 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 22:02:52 +00:00
Erik Hatcher c31601d073 streamlining test case a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150053 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 21:12:41 +00:00
Erik Hatcher 1e5eccf552 test case cleanup - no need to catch unexpected exceptions in test cases, let it fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150052 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 20:29:34 +00:00
Erik Hatcher aad53f0dba major build process cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150051 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 17:45:32 +00:00
Erik Hatcher 8ad878e900 detabify for readability
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150050 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 17:42:40 +00:00
Erik Hatcher 9d46cda9e5 fix javadoc warning. exclamation point caused warning - maybe another fix to this, but this will will work for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150049 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 14:06:47 +00:00
Erik Hatcher 90534ff460 fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150048 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 14:03:54 +00:00
Erik Hatcher e68cad284e fix url to JavaCC
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150047 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 14:02:06 +00:00
Erik Hatcher 9f8e6fcaf1 test failure = build failure.
also, added XML test output capture and a standalone
generate-test-reports target to make HTML test
results reports.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150046 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 18:09:28 +00:00
Erik Hatcher 404a71b517 More build file cleanup - making target names
more sensible in an effort to start splitting the
coupling between the demo, tests, and core.  Test
target is now "test" ("test-unit" alias remains).


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150045 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 17:42:35 +00:00
Erik Hatcher 7965b58fa2 fix manifest generation, which was broken by the previous indentation cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150044 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 17:19:19 +00:00
Erik Hatcher 0b605a3b8f Cosmetic - reformatted. I'm embarking on some
refactorings to accomodate a snazzy new demo app
and wanted to get indentation cleanup committed
in one commit so the later meatier commits won't
have whitespace diffs also.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150043 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 16:56:18 +00:00
Erik Hatcher bfafa1b216 Added CachingWrapperFilter to change list
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150042 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 09:47:06 +00:00
Erik Hatcher 899c3b1ec3 add back javadoc needed import.... darn IDEA!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150041 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 09:26:06 +00:00