Commit Graph

1487 Commits

Author SHA1 Message Date
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
Daniel Naber 257adde8c7 trying to make the testcase timezone independent
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150594 13f79535-47bb-0310-9956-ffa450edef68
2004-10-11 20:32:44 +00:00
Doug Cutting b6d184b28f Restore an import required by GCJ's compiler.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150593 13f79535-47bb-0310-9956-ffa450edef68
2004-10-11 17:07:39 +00:00
Daniel Naber 2950ecc4f7 remove useless placeholder comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150591 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 18:58:48 +00:00
Daniel Naber cc7490d251 some javadoc comment improvements
PR: 31350
Submitted by: Paul Elschot


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150590 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 18:43:18 +00:00
Daniel Naber 38fb6ab76d fix for a typo in a javadoc comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150589 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 18:37:47 +00:00
Daniel Naber 31fdebb91c remove code that was commented out, fix whitespace, no functional change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150588 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 16:07:19 +00:00
Daniel Naber 1bb4a0a252 use the non-deprecated API, no functional change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150587 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 16:05:36 +00:00
Daniel Naber d644998f55 use the non-deprecated API, no functional change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150586 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 15:58:32 +00:00
Daniel Naber 8bf11bc856 cleanup: don't declare exceptions that can never be thrown
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150585 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 15:44:45 +00:00