Commit Graph

241 Commits

Author SHA1 Message Date
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 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 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
Erik Hatcher 165ee0d2c0 correct spelling mistake, removed unused import, fixed two javadoc @param mismatches
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150024 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 23:44:48 +00:00
Erik Hatcher e676d0f3d4 Elements of Java Style #1: Adhere to the style of the original. I wholeheartedly agree. Reverting my previous infraction of this rule
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150023 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 23:40:29 +00:00
Erik Hatcher 0b53524a11 Reformatted. Do we have any style guides special to Lucene different than Jakarta standards?
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150022 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 10:46:25 +00:00
Erik Hatcher 8b2bd68e84 Reformatted and added inclusive notes to contructors/factories
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150021 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 10:44:24 +00:00
Otis Gospodnetic 2e082f2f00 - Added insert(Object) method to PriorityQueue class.
Submitted by: Christoph Goller
Reviewed by: Otis


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150020 13f79535-47bb-0310-9956-ffa450edef68
2003-09-11 12:15:30 +00:00
Otis Gospodnetic 6ecbab80ed - Small distance matrix initialization change.
Submitted by: Christoph Goller
Reviewed by: Otis


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150018 13f79535-47bb-0310-9956-ffa450edef68
2003-09-11 10:02:26 +00:00
Erik Hatcher 2af2d85877 PR 19468, but not exactly as it was done in the provided patches. JavaCC is no longer required to build Lucene, but can be run optionally
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150017 13f79535-47bb-0310-9956-ffa450edef68
2003-09-11 01:51:33 +00:00
Erik Hatcher 798fc0f0ef reformat spacing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150016 13f79535-47bb-0310-9956-ffa450edef68
2003-09-11 01:25:47 +00:00
Otis Gospodnetic 577bfab58f - A patch that eliminates the confusing and slightly different behaviour of
TermEnum when dealing with an enumeration of all terms versus an enumeration
  starting from a specific term.
  This patch also fixes incorrect term document frequences when the same term
  is present in multiple segments.
Submitted by: Christoph Goller
Reviewed by: Otis


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150014 13f79535-47bb-0310-9956-ffa450edef68
2003-09-10 14:27:37 +00:00
Otis Gospodnetic ad3cd36736 - Initial checkin.
Converted to JUnit-based unit test from Christoph Goller's test class.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150013 13f79535-47bb-0310-9956-ffa450edef68
2003-09-10 14:23:58 +00:00
Otis Gospodnetic 3527232b78 - Initial checkin.
Converted to JUnit-based unit test from Christoph Goller's test class.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150012 13f79535-47bb-0310-9956-ffa450edef68
2003-09-10 12:58:37 +00:00
Otis Gospodnetic 8c69111508 - Fixed a bug in case of non-inclusive RangeQuery.
Submitted by Christoph Goller.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150011 13f79535-47bb-0310-9956-ffa450edef68
2003-09-10 12:24:05 +00:00
Otis Gospodnetic 4433f0343a - Initial checkin.
Submitted by Christoph Goller.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150010 13f79535-47bb-0310-9956-ffa450edef68
2003-09-10 12:22:26 +00:00
Otis Gospodnetic d59ac9481e - Minor javadoc improvement, but primarily reindented weird indentation and
replaces tabs with four spaces.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150009 13f79535-47bb-0310-9956-ffa450edef68
2003-09-10 10:04:47 +00:00
Scott Ganyo b22cd77890 added ability to wait on any Lock. changed write.lock wait to 1 sec from none.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150005 13f79535-47bb-0310-9956-ffa450edef68
2003-08-12 15:05:03 +00:00
Erik Hatcher 7eb95be705 Low-level InputStream test w/mock
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150003 13f79535-47bb-0310-9956-ffa450edef68
2003-08-12 10:41:56 +00:00
Erik Hatcher a89de10f25 #22344 - changed enum to enumerator
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150001 13f79535-47bb-0310-9956-ffa450edef68
2003-08-12 09:22:23 +00:00
Doug Cutting 47dfbc2b6a Added method IndexWriter.addDocument(Document, Analyzer).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149999 13f79535-47bb-0310-9956-ffa450edef68
2003-07-11 22:13:13 +00:00
Otis Gospodnetic b2c7697eb2 - Documented HitCollector a bit better.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149995 13f79535-47bb-0310-9956-ffa450edef68
2003-06-05 05:44:41 +00:00
Doug Cutting b39cecc585 Added a limit to the number of clauses which may be added to a
BooleanQuery.  The default limit is 1024 clauses.  This should stop
most OutOfMemoryExceptions by prefix, wildcard and fuzzy queries which
run amok.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149992 13f79535-47bb-0310-9956-ffa450edef68
2003-05-29 21:52:15 +00:00
Doug Cutting 1b36a9ddcc Fix so that lock files created in /tmp are removed when a directory is
re-created.  This way attempts to create a new index after a crashed
indexing run no longer have to manually remove lock files from /tmp.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149991 13f79535-47bb-0310-9956-ffa450edef68
2003-05-29 20:18:18 +00:00
Otis Gospodnetic 956b3c988a - Javadoc improvement.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149990 13f79535-47bb-0310-9956-ffa450edef68
2003-05-24 15:24:26 +00:00
Otis Gospodnetic 3b711ddb22 - Fix that allows people using JDK 1.3 to compile this class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149984 13f79535-47bb-0310-9956-ffa450edef68
2003-05-04 21:13:49 +00:00
Doug Cutting 1c8db6cfd0 Put lock files in /tmp instead of with the index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149983 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 19:50:18 +00:00
Otis Gospodnetic 7d50426c4c - Added tests for getFieldNames(boolean) method in IndexReader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149982 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 01:12:10 +00:00
Otis Gospodnetic 49db32469f - Added method getFieldNames(boolean).
Submitted by:	Julien Nioche
Reviewed by:	Otis


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149981 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 01:09:15 +00:00
Otis Gospodnetic f980ec23e5 - Fixed a bug that allowed queries to retrieve extra matches.
- Fixed indentation that was all messed up, and some spelling mistakes.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149980 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 00:40:41 +00:00
Otis Gospodnetic f2099419e3 - Modified RangeQuery's toString() method to return a String that matches the syntax used in QueryParser.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149979 13f79535-47bb-0310-9956-ffa450edef68
2003-04-29 01:34:00 +00:00
Otis Gospodnetic d40c5493a6 - Cosmetics and Javadocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149974 13f79535-47bb-0310-9956-ffa450edef68
2003-04-16 04:22:38 +00:00
Otis Gospodnetic 0f61096562 - Enhanced Javadocs: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18833
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149971 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 02:27:36 +00:00
Doug Cutting 33c22d2f5a Fix imports so that javadoc runs without complaint.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149967 13f79535-47bb-0310-9956-ffa450edef68
2003-03-20 18:28:13 +00:00