Daniel Naber
724f27f4bc
use Exception.toString() instead of getMessage() for a slighlty more verbose message
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150648 13f79535-47bb-0310-9956-ffa450edef68
2004-11-18 19:15:28 +00:00
Bernhard Messer
d9f00f1d09
show a useful error message if the directory to index doesn't exist or isn't readable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150647 13f79535-47bb-0310-9956-ffa450edef68
2004-11-18 18:54:13 +00:00
Bernhard Messer
34c106218e
make the error messages more verbose using the exceptions toString() method.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150646 13f79535-47bb-0310-9956-ffa450edef68
2004-11-18 18:37:53 +00:00
Bernhard Messer
fc6694ef9d
change from cal.setTimeInMillis(long l) to cal.setTime(Date d) because cal.setTimeInMillis(...) was protected in JDK's prior to 1.4
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150645 13f79535-47bb-0310-9956-ffa450edef68
2004-11-16 22:27:54 +00:00
Bernhard Messer
1515574bff
change from RuntimeException (Exception e) to RuntimeException (String s) to be backward compatible with jdk 1.3
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150644 13f79535-47bb-0310-9956-ffa450edef68
2004-11-16 21:57:47 +00:00
Daniel Naber
2902fa2562
fixing the links to the mailing list archives
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150643 13f79535-47bb-0310-9956-ffa450edef68
2004-11-16 21:01:02 +00:00
Daniel Naber
06f6a59c0b
make the links to bugzilla work again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150642 13f79535-47bb-0310-9956-ffa450edef68
2004-11-15 19:00:49 +00:00
Daniel Naber
ffc746e3d0
throw IllegalArgumentException for nDocs <= 0 to avoid NullPointerException
...
PR: 32227
Submitted by: Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150641 13f79535-47bb-0310-9956-ffa450edef68
2004-11-14 13:26:28 +00:00
Daniel Naber
bcfcf9eeb7
test QueryParser's ability to be used with Analyzers that return more than one token per position
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150640 13f79535-47bb-0310-9956-ffa450edef68
2004-11-13 15:16:11 +00:00
Daniel Naber
f8d0d0b140
make QueryParser work with analyzers that return more than one token per position
...
PR: 23307
Submitted by: Pierrick Brihaye
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150639 13f79535-47bb-0310-9956-ffa450edef68
2004-11-13 15:11:26 +00:00
Daniel Naber
a637ff56b3
test slop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150638 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 15:18:27 +00:00
Daniel Naber
ac7576a81c
small refactoring
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150637 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 13:59:23 +00:00
Daniel Naber
747a6cce17
fixing typo in variable name and incorrect comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150636 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 13:55:23 +00:00
Daniel Naber
49ab2ff423
test that IllegalArgumentException is thrown if terms belong to different fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150635 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 11:39:25 +00:00
Bernhard Messer
c23bb571c3
adding myself to the "who we are" page, as the committer FAQ suggests and to verify if my commit messages get through
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150634 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 09:46:59 +00:00
Bernhard Messer
71f37eaa5d
adding myself to the "who we are" pages to verify if commit's go thru.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150633 13f79535-47bb-0310-9956-ffa450edef68
2004-11-09 15:54:28 +00:00
Erik Hatcher
b708ac392e
move from FQCN to import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150632 13f79535-47bb-0310-9956-ffa450edef68
2004-11-09 15:12:16 +00:00
Daniel Naber
8d45546b72
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150631 13f79535-47bb-0310-9956-ffa450edef68
2004-11-08 00:10:39 +00:00
Daniel Naber
2c1dc30639
indent the same everywhere, no functional change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150630 13f79535-47bb-0310-9956-ffa450edef68
2004-11-07 23:41:50 +00:00
Daniel Naber
6f3bf4837d
document the fuzzy query optimization
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150629 13f79535-47bb-0310-9956-ffa450edef68
2004-11-07 23:31:16 +00:00
Daniel Naber
898aa6abe6
speed up Fuzzy queries 20%-50%, I only did some small whitespace and comment fixes compared to the original patch
...
PR: 31882
Submitted by: Jonathan Hager
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150628 13f79535-47bb-0310-9956-ffa450edef68
2004-11-07 23:27:24 +00:00
Daniel Naber
c49da536de
use a less misleading download link as long as Lucene is not properly mirrored
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150624 13f79535-47bb-0310-9956-ffa450edef68
2004-10-30 12:17:48 +00:00
Daniel Naber
fc493d9b08
mostly spelling fixes, some small clarifications
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150623 13f79535-47bb-0310-9956-ffa450edef68
2004-10-30 12:16:09 +00:00
Daniel Naber
3c4f929368
typo fixes in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150622 13f79535-47bb-0310-9956-ffa450edef68
2004-10-27 21:59:02 +00:00
Otis Gospodnetic
cfc3a8109b
- Fixed compareTo(Object) javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150621 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 00:50:31 +00:00
Daniel Naber
f174110bb3
change the layout of the "getting started" page a bit so that the links are more visible; fixing typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150620 13f79535-47bb-0310-9956-ffa450edef68
2004-10-19 21:43:41 +00:00
Daniel Naber
5869962cf0
improve javadoc
...
PR:30685
Submitted by: Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150619 13f79535-47bb-0310-9956-ffa450edef68
2004-10-19 19:51:35 +00:00
Daniel Naber
8a37ed97d9
don't use the deprecated API in the documentation example
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150618 13f79535-47bb-0310-9956-ffa450edef68
2004-10-18 22:36:54 +00:00
Daniel Naber
3b15d36d38
document the HTML escape fix for the JSP example
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150617 13f79535-47bb-0310-9956-ffa450edef68
2004-10-18 22:30:15 +00:00
Daniel Naber
1aa4ae4a31
fix comments, no functional change
...
PR: 31748
Submitted by: Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150616 13f79535-47bb-0310-9956-ffa450edef68
2004-10-17 11:47:05 +00:00
Daniel Naber
8aaf570ed6
improve doc for default constructor, no functional change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150615 13f79535-47bb-0310-9956-ffa450edef68
2004-10-17 11:19:39 +00:00
Daniel Naber
3a84008a63
security: the error message was not escaped, this could enable cross site scripting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150614 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 16:21:58 +00:00
Daniel Naber
a819643d58
avoid accessing deprecated field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150613 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 13:03:34 +00:00
Daniel Naber
7618ca9403
don't link the deprecated PhrasePrefixQuery in the documentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150612 13f79535-47bb-0310-9956-ffa450edef68
2004-10-15 19:50:58 +00:00
Daniel Naber
9daff285c9
several small documentation fixes -- no functional change except a "Usage" message in the main() method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150611 13f79535-47bb-0310-9956-ffa450edef68
2004-10-15 19:47:43 +00:00
Daniel Naber
d983ab6215
improving documentation about compression, as suggested by Doug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150610 13f79535-47bb-0310-9956-ffa450edef68
2004-10-14 20:23:03 +00:00
Daniel Naber
f12555cb2a
typo fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150609 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 21:08:59 +00:00
Daniel Naber
d596b8a32b
update to the file format by Bernhard Messer; adding a link to non-Java versions of Lucene
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150608 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 21:01:12 +00:00
Christoph Goller
a5d04f404c
Improved Javadoc: Formula for score computation
...
corrected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150607 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 18:42:20 +00:00
Daniel Naber
5befa0d3ac
make the test case timezone independent
...
Submitted by: Anatol Pomozov
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150606 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 18:08:51 +00:00
Doug Cutting
1a78116cc7
Add a command-line option which permits the norms from a single field
...
to be used for all fields. Norms are read into memory, using a byte
of memory per document per searched field. This can cause search of
large collections with a large number of fields to run out of memory.
If all of the fields contain only a single token, then the norms are
all identical, and a single norm vector may be shared.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150605 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 17:33:14 +00:00
Doug Cutting
b2416b3039
Check the type of the IndexInput rather than the Directory to detect
...
native implementation. This is a simpler and more correct test. It
also permits the Directory to return a mixture of native and
non-native IndexInput implementations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150604 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 17:23:26 +00:00
Doug Cutting
feaea07b3c
Only mmap .frq files, to conserve address space.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150603 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 17:19:58 +00:00
Doug Cutting
55e076372a
Correctly translate errors from mmap() into exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150602 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 17:19:06 +00:00
Doug Cutting
c429a5f1e6
Reverse a mistaken optimization. With a larger collection and set of
...
queries I find that a table size of 2k works best.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150601 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 17:12:04 +00:00
Daniel Naber
46ceb15879
fix HTML (& must be escaped as & in URLs); escape query in the "more results" link; fix typos in comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150600 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 22:14:26 +00:00
Daniel Naber
ce7aaab8af
fix typo in target name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150599 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 17:53:40 +00:00
Christoph Goller
25d89037c6
default prefix length set to 0 instead of 2 until our test
...
suggest a better value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150598 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 09:42:02 +00:00
Christoph Goller
5d4c27b23d
Reinsert old API for getFieldQuery, getRangeQuery, and
...
getFuzzyQuery and deprecate it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150597 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 09:36:12 +00:00
Daniel Naber
e5cd911a29
deprecate the public fields, add get/set methods instead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150595 13f79535-47bb-0310-9956-ffa450edef68
2004-10-11 21:24:39 +00:00