Commit Graph

236 Commits

Author SHA1 Message Date
Otis Gospodnetic 7f8618e5de - Minor grammar fix in a javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149658 13f79535-47bb-0310-9956-ffa450edef68
2002-01-28 11:35:56 +00:00
Otis Gospodnetic cf025d06cb - Small javadoc change.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149657 13f79535-47bb-0310-9956-ffa450edef68
2002-01-28 11:34:45 +00:00
Doug Cutting 6c84ee2c62 Updated for new demo package name.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149655 13f79535-47bb-0310-9956-ffa450edef68
2002-01-27 23:20:30 +00:00
Doug Cutting 26f5fbf0c0 Fixed binary package to only include demo & jsp sources.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149654 13f79535-47bb-0310-9956-ffa450edef68
2002-01-27 23:20:04 +00:00
Doug Cutting 74723e3698 Added recent changes. Folks should update this themselves!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149653 13f79535-47bb-0310-9956-ffa450edef68
2002-01-27 22:27:48 +00:00
Peter Carlson ad7a17c911 Contributions Sections.
Add links to useful resources and contributions not part of lucene official release.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149652 13f79535-47bb-0310-9956-ffa450edef68
2002-01-26 16:39:21 +00:00
Peter Carlson c5730b429b Getting Started tutorial added by Andrew C. Oliver.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149651 13f79535-47bb-0310-9956-ffa450edef68
2002-01-26 16:38:28 +00:00
Peter Carlson fe92305c3c Updated site to include links two new areas.
Getting started (by Andrew Oliver) and Contributions - a collection of Lucene community contributions.
Also changed toolbar to contain updated links 
Moved Bugs to resources
Added Lucene bugs to resources
Added Link to JGuru FAQ in resources
Changed name of FAQ to "FAQ Official" in resources
Add Contributions link in Resources
Added Contributions page with currently 4 sections (Overview, Lucene Documents, Analyzers, Misc).


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149650 13f79535-47bb-0310-9956-ffa450edef68
2002-01-26 16:31:56 +00:00
Peter Carlson d2d31a52ee Updated project toolbar.
Now contains many links to other resources and adds a new area
contributions.html
Reviewed by Doug Cutting


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149649 13f79535-47bb-0310-9956-ffa450edef68
2002-01-26 16:15:22 +00:00
Peter Carlson 9d89ff3546 New Lucene Contributions Page
Reviewed By Doug Cutting
This page contains contributions from the Lucene community that are not part of the official release, but are still very useful.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149648 13f79535-47bb-0310-9956-ffa450edef68
2002-01-26 16:10:16 +00:00
Andrew C. Oliver e1ec2e2c6a forgot a file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149647 13f79535-47bb-0310-9956-ffa450edef68
2002-01-26 15:17:22 +00:00
Andrew C. Oliver e120b8bd51 PR:
Obtained from:
Reviewed by:	Doug Cutting / Lucene Community
new demo build target
added getting started guide
modified tests
moved demo to demo subpackage
added war demo


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149646 13f79535-47bb-0310-9956-ffa450edef68
2002-01-26 15:01:32 +00:00
Doug Cutting d0473acefc Renamed NullTokenizer and Analyzer to WhitespaceTokenizer and Analyzer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149645 13f79535-47bb-0310-9956-ffa450edef68
2002-01-24 19:03:52 +00:00
Doug Cutting 2ae22a31e3 Renamed NullTokenizer and Analyzer to WhitespaceTokenizer and Analyzer.
Also re-structured the implementation of several tokenizers so that they
share code, basing them on the new class CharAnalyzer.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149644 13f79535-47bb-0310-9956-ffa450edef68
2002-01-24 19:02:52 +00:00
Doug Cutting b1ab12b556 Removed JavaCC.zip from CVS, in order to conform to its license, which
does not permit redistribution without permission.  Developers must
now separately download JavaCC again.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149643 13f79535-47bb-0310-9956-ffa450edef68
2002-01-22 17:54:21 +00:00
Doug Cutting 65ead57f1c Substantially improved the performance of DateFilter by adding the
ability to reuse TermDocs objects.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149642 13f79535-47bb-0310-9956-ffa450edef68
2002-01-21 17:12:12 +00:00
Brian Goetz 1fa4fa82d1 Fix query parser (finally) to be much more lenient about queries that have funny characters; added new test cases to test new rules; added NullTokenizer/NullAnalyzer which just pass through space-separated tokens unmodified (mostly for testing purposes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149641 13f79535-47bb-0310-9956-ffa450edef68
2002-01-17 02:49:22 +00:00
Brian Goetz ae45d392f8 Migrate setBoost/getBoost into base QUery class; don't wrap queries with BooleanQuery in query parser unless necessary; more test cases for query parser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149640 13f79535-47bb-0310-9956-ffa450edef68
2002-01-17 02:00:09 +00:00
Brian Goetz 9f805c7d1d Enable boosting on range queries, phrpase queries (I think this used to work, but got broken when range queries were added); add tests cases for range queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149639 13f79535-47bb-0310-9956-ffa450edef68
2002-01-14 03:02:39 +00:00
Otis Gospodnetic 021e328676 - Applied a patch submitted by Paul Spencer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149638 13f79535-47bb-0310-9956-ffa450edef68
2002-01-01 00:26:14 +00:00
Jon Scott Stevens 8a84cef92a zapped some strange gremlens
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149637 13f79535-47bb-0310-9956-ffa450edef68
2001-12-31 00:38:09 +00:00
Jon Scott Stevens f51c8af4e8 unix linefeeds
cleaned up formatting
removed tabs


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149636 13f79535-47bb-0310-9956-ffa450edef68
2001-12-30 01:53:55 +00:00
Otis Gospodnetic 77139e26a1 - Modified unlock method to have it delete 'commit.lock' with as well.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149635 13f79535-47bb-0310-9956-ffa450edef68
2001-12-26 17:23:05 +00:00
Otis Gospodnetic 62ce310c9e - Added build.compiler.pedantic=false property, so that we can easily turn on
Jikes' pedantic mode and get any warnings.  I like clean code.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149634 13f79535-47bb-0310-9956-ffa450edef68
2001-12-25 19:34:04 +00:00
Otis Gospodnetic 0c7b18a929 - Applied a patch that silences Jikes' pedantic mode warnings, submitted
by Maik Schreiber.
PR:
Obtained from:
Submitted by:	Maik Schreiber
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149633 13f79535-47bb-0310-9956-ffa450edef68
2001-12-25 19:27:04 +00:00
Otis Gospodnetic d17defd73b - Added methods:
public static boolean indexExists(String directory);
  public static boolean indexExists(File directory);
  public static boolean indexExists(Directory directory);
  public static boolean isLocked(Directory directory);
  public static void unlock(Directory directory);


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149632 13f79535-47bb-0310-9956-ffa450edef68
2001-12-25 19:14:40 +00:00
Peter Carlson 1eea3cc8b4 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149631 13f79535-47bb-0310-9956-ffa450edef68
2001-12-20 07:16:17 +00:00
gschwarz 89a554ffab Fixed Bug 4555. Possible NullPointerException when a short term with
substitutions was being checked for a particle denotion. Length checking
corrected, and sequence of resubstitution and removing particle denotion
changed to prevent denoted term to pass through remove because of the
reduced length.
Corrected and improved documentation.
Fix in WordlistLoader, files are not read correct, loosing a line.
Fix in GermanStemFilter, typo in constructor with custom exclusion table as
parameter, parameter was ignored.
GermanStemFilter has two new Methods for setting stemmer and exclusion
list after creating the filter object.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149630 13f79535-47bb-0310-9956-ffa450edef68
2001-12-10 21:18:24 +00:00
Otis Gospodnetic c05b8e334b - Very minor documentation grammar fix.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149629 13f79535-47bb-0310-9956-ffa450edef68
2001-11-20 05:22:31 +00:00
Otis Gospodnetic 20c937d3c0 - Added a few targets to allow creation of a source-only distribution.
- Excluded *.java files from the binary distribution.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149628 13f79535-47bb-0310-9956-ffa450edef68
2001-11-19 01:19:23 +00:00
Brian Goetz 732dd14cb0 Allow . characters in queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149627 13f79535-47bb-0310-9956-ffa450edef68
2001-11-13 19:00:22 +00:00
Otis Gospodnetic 459a5940ad - Fixed typos reported by Chris Pepper.
PR:
Obtained from:
Submitted by: Chris Pepper
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149626 13f79535-47bb-0310-9956-ffa450edef68
2001-11-12 05:48:33 +00:00
Otis Gospodnetic 521b01730c - Added "jar-src" target to allow creation of a jar file that includes only
the source code.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149625 13f79535-47bb-0310-9956-ffa450edef68
2001-11-04 22:37:25 +00:00
Doug Cutting 2f468cbb3b renamed LICENSE to LICENSE.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149624 13f79535-47bb-0310-9956-ffa450edef68
2001-11-04 17:27:12 +00:00
Doug Cutting 8b3d41f04f added README, CHANGES and BUILD files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149623 13f79535-47bb-0310-9956-ffa450edef68
2001-11-04 17:23:04 +00:00
Doug Cutting 1cd030f2b4 add redirect to docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149622 13f79535-47bb-0310-9956-ffa450edef68
2001-11-04 17:19:24 +00:00
Doug Cutting cd948a10d9 Fixed some typos.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149621 13f79535-47bb-0310-9956-ffa450edef68
2001-11-04 17:11:42 +00:00
Brian Goetz e1561b70fa Add test case for Analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149620 13f79535-47bb-0310-9956-ffa450edef68
2001-11-03 02:33:46 +00:00
Brian Goetz f6f1683dd5 Turn PriorityQueueTest into a JUnit test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149619 13f79535-47bb-0310-9956-ffa450edef68
2001-11-03 02:12:27 +00:00
Doug Cutting 4a8ecc08c0 Changed so that PrefixQuery is used in preference to WildcardQuery
when there's only an asterisk at the end of the term.  Previously
PrefixQuery would never be used.

Also removed some unused token rules.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149618 13f79535-47bb-0310-9956-ffa450edef68
2001-11-01 18:21:02 +00:00
Brian Goetz 49bd4164b8 Fix tests so they compile; fix ant file so it compiles tests properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149617 13f79535-47bb-0310-9956-ffa450edef68
2001-11-01 01:13:00 +00:00
Brian Goetz 584d2b394b Fix query parser so it accepts queries with unicode characters
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149616 13f79535-47bb-0310-9956-ffa450edef68
2001-11-01 01:12:37 +00:00
Doug Cutting 992d1ade00 Fixed a bug where RAMInputStream could not read across more than
across a single buffer boundary.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149615 13f79535-47bb-0310-9956-ffa450edef68
2001-10-31 00:12:30 +00:00
Doug Cutting b91b113e86 Fixed a bug where adding an optimized index to an empty index failed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149614 13f79535-47bb-0310-9956-ffa450edef68
2001-10-20 02:32:59 +00:00
Doug Cutting 1c31f33cce Added source code into distribution.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149612 13f79535-47bb-0310-9956-ffa450edef68
2001-10-19 17:15:19 +00:00
Doug Cutting 2a5c45947d Fixed potential race condition.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149611 13f79535-47bb-0310-9956-ffa450edef68
2001-10-11 22:44:23 +00:00
Doug Cutting 6369c5a884 Fixed so that getDirectory(xxx,true) correctly erases the directory
contents, even when the directory has already been accessed in this
JVM.  This was broken by the thread-safety fix.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149610 13f79535-47bb-0310-9956-ffa450edef68
2001-10-11 17:21:10 +00:00
Scott Ganyo 4c3e4ce685 Fix issue where an inclusive range query would include the nearest term in the index above a non-existant specified upper term.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149609 13f79535-47bb-0310-9956-ffa450edef68
2001-10-11 15:19:37 +00:00
Scott Ganyo e9161ac365 Fix NullPointerException in clone() method when the Term is null.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149608 13f79535-47bb-0310-9956-ffa450edef68
2001-10-11 15:14:14 +00:00
Doug Cutting 4e72b89a90 Removed some redundant code. This is already in BooleanScorer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149607 13f79535-47bb-0310-9956-ffa450edef68
2001-10-10 17:55:04 +00:00