Bernhard Messer
8f5e0f6406
new method: public abstract Collection getFieldNames(FieldOption fldOption) added to IndexReader. This is a replacement for all existing IndexReader.getFieldName methods. All the other methods are marked deprecated and should be removed with 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150719 13f79535-47bb-0310-9956-ffa450edef68
2004-12-29 21:35:45 +00:00
Bernhard Messer
ad114c6e7d
use the new non-deprecated IndexWriter.getMergeFactor() method instead of the static variable IndexWriter.mergeFactor.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150718 13f79535-47bb-0310-9956-ffa450edef68
2004-12-22 19:43:05 +00:00
Daniel Naber
11f9a45a03
fixing typo in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150717 13f79535-47bb-0310-9956-ffa450edef68
2004-12-19 16:25:40 +00:00
Bernhard Messer
35a6a1cbfc
document the FieldInfos change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150716 13f79535-47bb-0310-9956-ffa450edef68
2004-12-19 15:23:32 +00:00
Bernhard Messer
2779fa5edc
make deprecated test work again with bug fix in Reader getFieldNames
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150715 13f79535-47bb-0310-9956-ffa450edef68
2004-12-19 14:59:33 +00:00
Bernhard Messer
785e50ba82
make tests work again with bug fix in Reader getFieldNames
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150714 13f79535-47bb-0310-9956-ffa450edef68
2004-12-19 14:58:49 +00:00
Bernhard Messer
7b008b210d
do not longer return an extra blank field in Reader getFieldNames
...
PR:19085
Obtained from: Mark Harwood
Submitted by: Bernhard
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150713 13f79535-47bb-0310-9956-ffa450edef68
2004-12-19 14:55:48 +00:00
Otis Gospodnetic
dc1ad4d18c
- System properties are already on the Wiki
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150712 13f79535-47bb-0310-9956-ffa450edef68
2004-12-18 06:15:20 +00:00
Otis Gospodnetic
6f8faa8a92
- Removed LARM references
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150711 13f79535-47bb-0310-9956-ffa450edef68
2004-12-18 06:00:37 +00:00
Daniel Naber
2a66a4427f
document that Fuzzy/RangeQuery terms are now lowercased by default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150710 13f79535-47bb-0310-9956-ffa450edef68
2004-12-14 23:13:34 +00:00
Daniel Naber
cdd85a75ea
The terms of fuzzy and range queries are lowercased by default now. setLowercaseWildcardTerms deprecated, introducing setLowercaseExpandedTerms instead.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150709 13f79535-47bb-0310-9956-ffa450edef68
2004-12-14 23:02:53 +00:00
Daniel Naber
b74370baec
slightly improve the TooManyClauses exception documentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150708 13f79535-47bb-0310-9956-ffa450edef68
2004-12-14 19:28:44 +00:00
Daniel Naber
db9e4e97db
document that TooManyClauses is thrown by several methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150707 13f79535-47bb-0310-9956-ffa450edef68
2004-12-14 19:00:01 +00:00
Daniel Naber
857624d038
print a message to infoStream if the number of maximum tokens per document (maxFieldLength) is reached
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150706 13f79535-47bb-0310-9956-ffa450edef68
2004-12-12 20:26:27 +00:00
Daniel Naber
a7495a6df8
upgrade hints in the deprecated tag
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150705 13f79535-47bb-0310-9956-ffa450edef68
2004-12-12 15:36:33 +00:00
Daniel Naber
4f3aad23f2
Deprecate the old constructors and the main parse(...) method. The new one now generates a query that works
...
as expected for both AND and OR mode. Also do better argument checking in the static methods and throw
IllegalArgumentException if something is wrong.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150704 13f79535-47bb-0310-9956-ffa450edef68
2004-12-12 15:27:49 +00:00
Daniel Naber
10927a535c
adding a new category for changes that people need to know about when they update
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150703 13f79535-47bb-0310-9956-ffa450edef68
2004-12-12 11:46:02 +00:00
Daniel Naber
c62435297b
adding a simple indexing and searching example to the API documentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150702 13f79535-47bb-0310-9956-ffa450edef68
2004-12-11 11:15:51 +00:00
Daniel Naber
68d8f3c27e
trivial typo fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150701 13f79535-47bb-0310-9956-ffa450edef68
2004-12-10 22:18:35 +00:00
Christoph Goller
84a908d84c
Test case and fix for bug #32467
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150700 13f79535-47bb-0310-9956-ffa450edef68
2004-12-10 19:36:40 +00:00
Daniel Naber
ac5e84d8f6
update to Apache License 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150699 13f79535-47bb-0310-9956-ffa450edef68
2004-12-08 18:49:00 +00:00
Daniel Naber
3a7635568e
whitespace and typo fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150697 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 22:18:31 +00:00
Daniel Naber
26235ca92d
list the changes for 1.4.3 here, too
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150696 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 20:04:01 +00:00
Bernhard Messer
a48937b2c5
add task "test-deprecated" to run deprecated test cases.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150695 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 18:24:35 +00:00
Bernhard Messer
c0b059bf97
add test-cases from lucene 1.4.3 so that we can test all deprecated and outdated methods and also. There will be no need to change this test cases. They can be deleted step by step when moving from 1.9 to 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150694 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 18:21:58 +00:00
Bernhard Messer
268f647d6e
document missing system properties.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150693 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 13:18:39 +00:00
Bernhard Messer
37d3337937
reflect change for system property "org.apache.lucene.lockDir"
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150692 13f79535-47bb-0310-9956-ffa450edef68
2004-12-02 17:46:00 +00:00
Bernhard Messer
a77b4ffb42
change lockdir to lockDir so that it follows the existing casing
...
pattern.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150691 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 22:51:21 +00:00
Bernhard Messer
e791e88b67
change lockdir to lockDir so that it follows the existing casing
...
pattern.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150690 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 22:38:48 +00:00
Bernhard Messer
85849a7a12
change visibility of class members from public to package private.
...
PR:31746
Submitted by: Bernhard Messer
Reviewed by: Bernhard Messer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150689 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 21:42:02 +00:00
Daniel Naber
1ba2fb65c5
update to Apache License 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150688 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 21:36:28 +00:00
Bernhard Messer
c8ccdf94ca
small typo fix
...
PR:32432
Reviewed by: Bernhard Messer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150687 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 21:09:41 +00:00
Bernhard Messer
adb32ee179
avoid NullpointerException if close() method is called twice. See Bugzilla: #32403
...
Submitted by: Wolf Siberski
Reviewed by: Bernhard Messer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150686 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 20:41:01 +00:00
Christoph Goller
2b6b9f83d3
Update download links to Apache mirrors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150684 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 13:34:57 +00:00
Christoph Goller
61f9910d14
updating info for release 1.4.3
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150683 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 11:18:34 +00:00
Daniel Naber
2cc6c7f64a
clarify that DateField will not be removed soon, despite being deprecated
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150682 13f79535-47bb-0310-9956-ffa450edef68
2004-11-28 15:42:17 +00:00
Bernhard Messer
1803bd7939
catch IOException rather than all Exceptions in testBadParams(). Add another "bad document number" test without a field value. Remove unnecessary cast.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150681 13f79535-47bb-0310-9956-ffa450edef68
2004-11-28 13:40:47 +00:00
Bernhard Messer
16552ede59
avoid ArrayIndexOutOfBoundsException in method refill() when bufferLength gets a negativ value. It happens when TermVectorsReader.get(int docID) is used with a docID larger than number of documents stored in the index.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150680 13f79535-47bb-0310-9956-ffa450edef68
2004-11-28 13:33:55 +00:00
Christoph Goller
cedcddf4c6
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150676 13f79535-47bb-0310-9956-ffa450edef68
2004-11-25 19:14:26 +00:00
Christoph Goller
4d1eb290c5
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150674 13f79535-47bb-0310-9956-ffa450edef68
2004-11-25 16:57:11 +00:00
Daniel Naber
918572be86
improve javadoc by mentioning Filter
...
PR: 32365
Submitted by: Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150673 13f79535-47bb-0310-9956-ffa450edef68
2004-11-24 22:06:12 +00:00
Daniel Naber
1bc761f26a
don't append "*" to the term, it doesn't make sense and is confusing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150672 13f79535-47bb-0310-9956-ffa450edef68
2004-11-24 19:41:16 +00:00
Daniel Naber
31335c60ae
small javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150671 13f79535-47bb-0310-9956-ffa450edef68
2004-11-24 19:34:11 +00:00
Christoph Goller
74f6ac4615
Old class name replaced with new class name in Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150670 13f79535-47bb-0310-9956-ffa450edef68
2004-11-24 17:40:48 +00:00
Daniel Naber
d040882872
adapt to new typesafe API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150669 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 23:14:31 +00:00
Daniel Naber
197ad763d1
get/setOperator becomes get/setDefaultOperator and its parameter is now typsafe
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150668 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 23:13:34 +00:00
Daniel Naber
742417162a
throw NullPointerException instead of IllegalArgumentException; small typo fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150667 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 22:36:10 +00:00
Erik Hatcher
d0623a8e13
Add first pass for NumberUtils, adapted from code contributed by Matt Quail.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150666 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 21:07:49 +00:00
Daniel Naber
6bf1504200
some small javadoc improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150665 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 20:56:06 +00:00
Daniel Naber
552c9465c8
remove javadoc for rewrite(), will be copied from superclass automatically
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150664 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 20:54:47 +00:00