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
Erik Hatcher
6a5940e08b
allow @todo tags without warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150040 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 09:25:35 +00:00
Erik Hatcher
ed585a814d
Fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150039 13f79535-47bb-0310-9956-ffa450edef68
2003-09-17 08:38:04 +00:00
Erik Hatcher
f504aba39b
oops... IDEA lied to me - adding back import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150038 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 21:00:26 +00:00
Erik Hatcher
f4107e810e
butter fingers... renaming test case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150037 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 20:56:12 +00:00
Erik Hatcher
a2f5f1c11d
Implementation of a caching filter wrapper, complete with a test - stil some @todos to consider
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150036 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 20:52:38 +00:00
Erik Hatcher
063c173eba
implements Searchable is redundant, as Searcher implements it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150035 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 20:06:32 +00:00
Erik Hatcher
fecc0d27af
remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150034 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 20:03:41 +00:00
Otis Gospodnetic
2357f0c106
- Fixed bug 20290
...
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20290
- Added @version.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150033 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 12:52:10 +00:00
Otis Gospodnetic
2310d71e07
- Added @version.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150032 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 12:50:31 +00:00
Otis Gospodnetic
355e66eb34
- Added testQueryFilter test for bug 20290
...
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20290
- Made search(Query) private.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150031 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 12:49:30 +00:00
Erik Hatcher
bdcea5f2ed
Test for PhraseQuery to show that order does not matter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150030 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 11:49:58 +00:00
Erik Hatcher
103a6e1334
Added ASL
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150029 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 11:44:18 +00:00
Otis Gospodnetic
e73f0e28c3
- Fixed docCount() with a patch provided by Christoph Goller.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150028 13f79535-47bb-0310-9956-ffa450edef68
2003-09-15 12:40:23 +00:00
Otis Gospodnetic
7466b3b55a
- Added testDeleteReaderWriterConflict() and testDeleteReaderReaderConflict()
...
methods, provided by Christoph Goller.
- Moved the license ahead of imports, to match other sources.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150027 13f79535-47bb-0310-9956-ffa450edef68
2003-09-15 12:37:49 +00:00
Otis Gospodnetic
045c15c808
- Applied a patch from Christoph Goller.
...
- Unified a mix of 2 and 4-space indentations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150026 13f79535-47bb-0310-9956-ffa450edef68
2003-09-15 12:33:07 +00:00