147 Commits

Author SHA1 Message Date
Doug Cutting
6772e7567d Added a public, extensible scoring API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149885 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 17:31:27 +00:00
Otis Gospodnetic
98330b5030 - Removed compiler warnings (jikes 1.17). Style stuff only.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149884 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 05:55:40 +00:00
Otis Gospodnetic
d0a577e1bd - This is not a unit test class, so it should not be here.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149883 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 05:54:56 +00:00
Otis Gospodnetic
748fdb1b96 - BitVector unit tests.
Submitted by:	Peter Mularien <pmularien@deploy.com>


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149882 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 05:17:16 +00:00
Otis Gospodnetic
7cfc8520ac - Fixed javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149881 13f79535-47bb-0310-9956-ffa450edef68
2002-11-06 19:55:02 +00:00
Otis Gospodnetic
9f8e2c5e26 - Changed javadoc to reflect the purpose of the unit test better.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149868 13f79535-47bb-0310-9956-ffa450edef68
2002-10-19 17:02:43 +00:00
Otis Gospodnetic
d63506547f - Removed, since nobody was using this manifest file.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149867 13f79535-47bb-0310-9956-ffa450edef68
2002-10-19 16:09:33 +00:00
Doug Cutting
933bac2435 Patched to fix a bug when empty indexes or segments exist.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149859 13f79535-47bb-0310-9956-ffa450edef68
2002-09-20 17:25:13 +00:00
Otis Gospodnetic
474d9de985 - Reverted back to the previous revision (1.1).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149858 13f79535-47bb-0310-9956-ffa450edef68
2002-09-20 02:21:31 +00:00
Otis Gospodnetic
6618518998 - Fixed last night's mistakes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149856 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 12:35:43 +00:00
Otis Gospodnetic
618882b4d4 - Minor stuff.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149854 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 06:10:23 +00:00
Otis Gospodnetic
0b2bd2cd3d - Compilation error fix.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149853 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 05:51:04 +00:00
Otis Gospodnetic
4840a8422b - Added javadoc skeleton, nuked trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149852 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 05:31:05 +00:00
Otis Gospodnetic
65b2aab4f0 - MultiSearcher unit tests. Initial checkin.
The test is failing, exposing a potential bug.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149851 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 05:14:44 +00:00
Otis Gospodnetic
7e8ab54e09 - Fixed the @author tag.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149849 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 04:17:14 +00:00
Otis Gospodnetic
846da57000 - Added FIXME/TODO tags about things to document.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149848 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 02:11:42 +00:00
Otis Gospodnetic
ca982c77db - Removed the main method, which was causing compilation errors with JUnit 3.8.1.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149846 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 20:05:52 +00:00
Otis Gospodnetic
fce9b6fe3a - Russian Analyzer unit tests and unit test data.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149841 13f79535-47bb-0310-9956-ffa450edef68
2002-09-16 03:19:19 +00:00
Otis Gospodnetic
e63750554f - Russian Analyzer, by Boris Okner. Initial checkin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149840 13f79535-47bb-0310-9956-ffa450edef68
2002-09-16 02:51:58 +00:00
Doug Cutting
f65bc68dfc Fixed bug 12273
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149836 13f79535-47bb-0310-9956-ffa450edef68
2002-09-03 21:13:32 +00:00
Otis Gospodnetic
63f7272924 - Fixed some funky indentation that I found while testing the contributed
Portuguese stemmer.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149835 13f79535-47bb-0310-9956-ffa450edef68
2002-08-18 17:33:16 +00:00
Doug Cutting
bbbc192097 Fixed a bug serializing BooleanQuery and added test code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149834 13f79535-47bb-0310-9956-ffa450edef68
2002-08-15 23:44:00 +00:00
Doug Cutting
689293d13b Fixed a bug in IndexReader.lastModified().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149833 13f79535-47bb-0310-9956-ffa450edef68
2002-08-08 17:56:19 +00:00
Doug Cutting
5dbea95485 Added getAnalyzer() accessor method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149832 13f79535-47bb-0310-9956-ffa450edef68
2002-08-07 16:28:08 +00:00
Doug Cutting
06d359828b Added QueryFilter class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149831 13f79535-47bb-0310-9956-ffa450edef68
2002-08-05 18:05:56 +00:00
Doug Cutting
91512d5dde Improved documentation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149830 13f79535-47bb-0310-9956-ffa450edef68
2002-08-05 17:39:03 +00:00
Doug Cutting
efb2e12705 Added support for Token.setPositionIncrement(int).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149829 13f79535-47bb-0310-9956-ffa450edef68
2002-08-05 17:15:00 +00:00
Doug Cutting
5fbe9f8179 Improved javadoc comments.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149828 13f79535-47bb-0310-9956-ffa450edef68
2002-07-31 17:47:14 +00:00
Doug Cutting
6e202b2be1 msg.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149827 13f79535-47bb-0310-9956-ffa450edef68
2002-07-29 19:11:15 +00:00
gschwarz
419359a057 Changed the stemming algorithm to ignore case while stripping. The algorithm is faster and produces more equal stems from nouns and verbs derived from the same word. That fixes the problem finding substantives when the searchterm is provided in lowercase. Now the stemming results are almost case insensitive. Changed the checking of legal terms to only reject terms that contain non letters, which solves problems with terms that contain irregular cased letters. Removal of pertical denotion now produces less overstemming errors. Code is rearranged a bit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149824 13f79535-47bb-0310-9956-ffa450edef68
2002-07-21 23:16:09 +00:00
gschwarz
aedf9e1ccf The class itself and tokenStream() are not longer final. tokenStream() now works without LowerCaseFilter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149823 13f79535-47bb-0310-9956-ffa450edef68
2002-07-21 23:00:37 +00:00
Otis Gospodnetic
6b58d41083 - Minor modification, no functionality changes.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149822 13f79535-47bb-0310-9956-ffa450edef68
2002-07-18 14:41:39 +00:00
Otis Gospodnetic
15bbd8def8 - Classes that provide support for queries such as "microsoft app*".
PR:
Obtained from:
Submitted by:	Anders Nielsen
Reviewed by:	otis


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149820 13f79535-47bb-0310-9956-ffa450edef68
2002-07-18 14:39:58 +00:00
Otis Gospodnetic
d06a16f630 - Fixed the typo in the setOperator argument name which was causing unit
tests to fail.  Peter spotted it, thanks Peter.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149819 13f79535-47bb-0310-9956-ffa450edef68
2002-07-18 14:18:42 +00:00
Otis Gospodnetic
0221ec480b - Added tests for QueryParser's setOperator functionality.
All tests pass at this point.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149818 13f79535-47bb-0310-9956-ffa450edef68
2002-07-18 14:17:41 +00:00
Doug Cutting
22f068248d Renamed a new class and updated some javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149815 13f79535-47bb-0310-9956-ffa450edef68
2002-07-17 22:11:34 +00:00
Doug Cutting
28eb95821f Added support for remote searching via RMI.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149814 13f79535-47bb-0310-9956-ffa450edef68
2002-07-17 21:54:38 +00:00
Doug Cutting
53f0f3b4fb Made many methods and classes non-final, per requests. This includes
IndexWriter and IndexSearcher, among others.

Moved search implementation methods into a new public interface,
Searchable.  This makes it easier to implement a remote searcher.

Fixed some javadoc comments.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149813 13f79535-47bb-0310-9956-ffa450edef68
2002-07-17 17:38:04 +00:00
Otis Gospodnetic
08c38ffbc4 - Cleaned up the indentation to make it more consistent.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149807 13f79535-47bb-0310-9956-ffa450edef68
2002-07-14 17:51:53 +00:00
Otis Gospodnetic
6f3df5f59f - Added an explicit call to QueryParser to set the boolean operator to OR.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149806 13f79535-47bb-0310-9956-ffa450edef68
2002-07-14 17:22:36 +00:00
Otis Gospodnetic
4f9dc49cfb - Renamed a few recently added variables and methods for consistency.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149805 13f79535-47bb-0310-9956-ffa450edef68
2002-07-14 17:21:57 +00:00
Otis Gospodnetic
ea4c15138e - Added P�ter Hal�csy's changes that allow setting of default boolean
operator.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149804 13f79535-47bb-0310-9956-ffa450edef68
2002-07-14 17:16:21 +00:00
Otis Gospodnetic
50d6da8ab9 - Fixed a link in toString(String) method's javadoc; added links to class
javadoc; reformatted a bit.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149795 13f79535-47bb-0310-9956-ffa450edef68
2002-07-02 15:16:55 +00:00
Otis Gospodnetic
6f4c2690c9 - Improved HTML parser that allows one to get HTML document's meta tags' values.
PR:
Obtained from:
Submitted by:	Mark Harwood
Reviewed by:	otis


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149792 13f79535-47bb-0310-9956-ffa450edef68
2002-06-29 22:08:26 +00:00
Otis Gospodnetic
92ade30794 - Changed the 'disableLocks' system property name to 'disableLuceneLocks'.
- Fixed my own misspelling from the previous commit.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149788 13f79535-47bb-0310-9956-ffa450edef68
2002-06-26 17:30:11 +00:00
Otis Gospodnetic
ad73dd681f - Made a small method javadoc change.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149787 13f79535-47bb-0310-9956-ffa450edef68
2002-06-25 16:18:32 +00:00
Otis Gospodnetic
43f5e32b7e - Reduced the number of condition checks for disabling locks.
- Documented the use of 'disableLocks' system property in class Javadoc.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149786 13f79535-47bb-0310-9956-ffa450edef68
2002-06-25 16:09:15 +00:00
Brian Goetz
8ab0396cfc Support for new range query syntax. The delimiter is " TO ", but is optional
for backward compatibility with previous syntax.  If the range arguments
match the format supported by DateFormat.getDateInstance(DateFormat.SHORT),
then they will be converted into the appropriate date strings a la DateField.

Added Field.Keyword "constructor" for Date-valued arguments.

Optimized DateField.timeToString function.

PR:
Obtained from:
Submitted by:	Brian Goetz
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149785 13f79535-47bb-0310-9956-ffa450edef68
2002-06-25 00:05:31 +00:00
Otis Gospodnetic
4cee88c438 - Added the ability to disable creation of locks on the file system, in order
to allow Lucene to be used on read-only media.
  To disable lock creation set 'disableLocks' system property to 'true'.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149782 13f79535-47bb-0310-9956-ffa450edef68
2002-06-21 14:57:46 +00:00
Peter Carlson
19a3915b3c Added accessor method to get HitDoc global id from Hits.
This id needs to be used in sorting.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149781 13f79535-47bb-0310-9956-ffa450edef68
2002-06-20 14:32:08 +00:00