Commit Graph

625 Commits

Author SHA1 Message Date
Otis Gospodnetic e08f35fc06 - Reverting to revision 1.34 after a bad commit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150100 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:37:51 +00:00
Otis Gospodnetic 6fe013aa7d - Added a comment and cleaned up.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150099 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:31:38 +00:00
Otis Gospodnetic 6600da8d84 - Indentation cleanup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150098 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:29:47 +00:00
Otis Gospodnetic b84e20281e - Made String COMPOUND_EXTENSIONS[] static and moved the definition higher
in the code.
- Cleaned up a bit.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150097 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:27:28 +00:00
Otis Gospodnetic 485e3c336f - Changed code to use IndexWriter.WRITE_LOCK_NAME.
- Cleaned up indentation a bit.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150096 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:25:54 +00:00
Otis Gospodnetic 9e968c9127 - Added WRITE_LOCK_NAME and COMMIT_LOCK_NAME, so that their names are not
hard-coded in half a dozen places in the code.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150095 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:22:27 +00:00
Otis Gospodnetic 59779c7455 - Added ASL and removed trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150094 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:18:04 +00:00
Otis Gospodnetic 34df355b2d - Added target descriptions, so ant -projecthelp lists them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150093 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:15:14 +00:00
Otis Gospodnetic 5db329f7dc - Fixed: there is no index.lock, but there is write.lock.
- Fixed spellings
- Fixed mentions of .f[0-9]* files - there are no .n[0-9]* files.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150092 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 13:53:53 +00:00
Otis Gospodnetic ff43a5a498 - Added a link to Jeff Linwood's Builder.com article about Lucene.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150091 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 13:22:32 +00:00
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