Commit Graph

13064 Commits

Author SHA1 Message Date
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
Doug Cutting cfc5237e20 Removed broken build scripts and their libs. Build requires separate ant installation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149606 13f79535-47bb-0310-9956-ffa450edef68
2001-10-10 16:36:12 +00:00
Doug Cutting 0722fd1407 JDK 1.1 compatibility fix: disabled lock files for JDK 1.1, since they rely on a feature added in JDK 1.2.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149605 13f79535-47bb-0310-9956-ffa450edef68
2001-10-10 16:13:41 +00:00
Doug Cutting 97efb88883 Removing another obsolete file.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149604 13f79535-47bb-0310-9956-ffa450edef68
2001-10-03 15:39:41 +00:00
Doug Cutting 3b000a069a Removing obsolete file.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149603 13f79535-47bb-0310-9956-ffa450edef68
2001-10-03 15:35:46 +00:00
Doug Cutting d3c9282362 Added demo files to distribution. Fixed calls to demo in overview.html.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149601 13f79535-47bb-0310-9956-ffa450edef68
2001-10-02 18:31:22 +00:00
Doug Cutting c5e43fb7b1 Changed version to 1.2-rc1
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149600 13f79535-47bb-0310-9956-ffa450edef68
2001-10-02 17:48:34 +00:00
Doug Cutting 80509b4eb0 moved api.html into javadoc as overview; fixed links to javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149599 13f79535-47bb-0310-9956-ffa450edef68
2001-10-02 15:54:16 +00:00
Doug Cutting 7797f49757 Streamlined web site:
- removed ego-boosting 'backgrond' section
 - replaced with short bio on 'who we are' page
 - removed 'features' and 'applications' pages -- better covered in the FAQ
 - added branding suggestion to 'Powered by Lucene' page
 - re-arranged links on menu


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149598 13f79535-47bb-0310-9956-ffa450edef68
2001-09-28 20:47:31 +00:00
Doug Cutting 830d1e0af9 Updated website with new logo gif
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149597 13f79535-47bb-0310-9956-ffa450edef68
2001-09-27 20:44:08 +00:00
Doug Cutting c3866b0e9e minor documentation updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149596 13f79535-47bb-0310-9956-ffa450edef68
2001-09-27 18:22:10 +00:00
Doug Cutting 58bcd780a9 Added index lock files. Indexing and search are now not just thread
safe, but also "process safe": multiple processes may may now search
an index while it is being updated from another process.

Two lock files are used in an index.  One is "commit.lock".  This is
used to synchronize commits [IndexWriter.close()] with opens
[IndexReader.open()].  Since these actions are short-lived, attempts
to obtain this lock will block for up to ten seconds, which should be
plenty of time, before an exception is thrown.

The second lock file is "write.lock".  This is used to enforce the
restriction that only one process should be adding documents to an
index at a time.  This is created when an IndexWriter is constructed
and removed when it is closed.  If index writing is aborted then this
file must be manually removed.  Attempts to index from another process
will immediately throw an exception.

It should be impossible to corrupt an index through the Lucene API.
However if a Lucene process exits unexpectedly it can leave the index
locked.  The remedy is simply to, at a time when it is certain that no
processes are accessing the index, remove all lock files.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149595 13f79535-47bb-0310-9956-ffa450edef68
2001-09-27 16:27:02 +00:00
Scott Ganyo 9bd3152b06 Fix compile error: Was referring to old com.lucene.* packages.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149594 13f79535-47bb-0310-9956-ffa450edef68
2001-09-26 14:38:34 +00:00
Scott Ganyo 891209bfd3 Added support for RangeQuery. The syntax is expressed as follows:
inclusive range = field:[lowerTerm-upperTerm]
exclusive range = field:{lowerTerm-upperTerm}


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149593 13f79535-47bb-0310-9956-ffa450edef68
2001-09-25 21:54:18 +00:00
Scott Ganyo 7a28132692 Added ability to search for documents containing an ordered range of terms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149592 13f79535-47bb-0310-9956-ffa450edef68
2001-09-25 21:53:20 +00:00
Doug Cutting 6c282c6a4e Removed makefiles. Ant has replaced 'make' as the primary build system.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149591 13f79535-47bb-0310-9956-ffa450edef68
2001-09-25 21:03:18 +00:00
Doug Cutting a2ac9a68f1 Changed javadoc to not include private classes, to include links to JDK docs, and to have correct copyright.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149590 13f79535-47bb-0310-9956-ffa450edef68
2001-09-25 19:07:06 +00:00
Doug Cutting adbb6adcec added package-level javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149589 13f79535-47bb-0310-9956-ffa450edef68
2001-09-25 19:05:33 +00:00
Doug Cutting cf3414a123 Incorporated Joanne Sproston's changes to extend lower-level HitCollector-based search API to MultiSearcher. I have not yet tested this.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149588 13f79535-47bb-0310-9956-ffa450edef68
2001-09-25 19:03:35 +00:00
Doug Cutting 4b0fe4cfa2 Fixed broken javadoc links.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149587 13f79535-47bb-0310-9956-ffa450edef68
2001-09-25 18:38:50 +00:00
Doug Cutting 53b8f808b4 Adding German analysis code contributed by Gerhard Schwarz
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149586 13f79535-47bb-0310-9956-ffa450edef68
2001-09-25 17:29:05 +00:00
Doug Cutting b08e28c383 fixed javadoc target
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149585 13f79535-47bb-0310-9956-ffa450edef68
2001-09-24 22:33:21 +00:00
Jason van Zyl 1e4142469c - don't need the basedir def, forgot about the implicit ${basedir}.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149584 13f79535-47bb-0310-9956-ffa450edef68
2001-09-19 01:12:59 +00:00