Commit Graph

735 Commits

Author SHA1 Message Date
Doug Cutting f0d57d81a3 Changed IndexReader so that it can be subclassed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150110 13f79535-47bb-0310-9956-ffa450edef68
2003-10-21 17:59:17 +00:00
Erik Hatcher ebd6dc86fa unify stop word lists with StopAnalyzer - they were identical, so just reuse and avoid possible mismatch later
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150109 13f79535-47bb-0310-9956-ffa450edef68
2003-10-20 18:20:48 +00:00
Erik Hatcher eda583780c modify to use VM property for base data directory, so IDEs can run tests without Ant
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150108 13f79535-47bb-0310-9956-ffa450edef68
2003-10-20 18:07:57 +00:00
Erik Hatcher f08368a613 add dataDir VM property for test cases to use
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150107 13f79535-47bb-0310-9956-ffa450edef68
2003-10-20 18:07:02 +00:00
Doug Cutting 964c1b7ada Make idf(docFreq,numDocs) public instead of protected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150106 13f79535-47bb-0310-9956-ffa450edef68
2003-10-17 17:15:57 +00:00
Otis Gospodnetic 3fd7ec2679 - Fixed a bug with usage of IndexWriter.*_LOCK_NAME constants.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150105 13f79535-47bb-0310-9956-ffa450edef68
2003-10-17 10:49:42 +00:00
Otis Gospodnetic 5836af2f63 - Added Let's compare it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150104 13f79535-47bb-0310-9956-ffa450edef68
2003-10-15 13:54:32 +00:00
Otis Gospodnetic 2d517b1399 - Fixed indentation and organized better.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150103 13f79535-47bb-0310-9956-ffa450edef68
2003-10-15 13:51:38 +00:00
Otis Gospodnetic ec04efc0f0 - Moved LARM further down, and Snowball and SearchBean further up (I believe
more people viewing this page will be interested in them more than they will
be interested in LARM).  Added a SF.net link to LARM.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150102 13f79535-47bb-0310-9956-ffa450edef68
2003-10-15 13:50:03 +00:00
Otis Gospodnetic a1db392da5 - Removed a copy/paste error in SearchBean section, and fixed a link to
SearchBean in CVS.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150101 13f79535-47bb-0310-9956-ffa450edef68
2003-10-15 13:46:03 +00:00
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