Commit Graph

1943 Commits

Author SHA1 Message Date
Daniel Naber 2ce046a7a6 Make QueryParser work with analyzers that return tokens with a position
increment > 1. Thanks to Ahmed El-dawy for the fix.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331923 13f79535-47bb-0310-9956-ffa450edef68
2005-11-08 23:05:44 +00:00
Daniel Naber 2f2f78e731 warn about compatibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331910 13f79535-47bb-0310-9956-ffa450edef68
2005-11-08 22:23:12 +00:00
Yonik Seeley fd81a02f17 add getFilter(), LUCENE-440
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331113 13f79535-47bb-0310-9956-ffa450edef68
2005-11-06 15:55:45 +00:00
Yonik Seeley 9cee714143 reset useScorer14 in finally in case of test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331111 13f79535-47bb-0310-9956-ffa450edef68
2005-11-06 15:32:28 +00:00
Yonik Seeley bfe4a24053 remove floatToIntBits on slop in hashCode
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@330933 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 22:10:54 +00:00
Yonik Seeley 104aa2999e random boolean query testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@330900 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 21:15:02 +00:00
Yonik Seeley 9698aac274 test for presence/absence of physical norms file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@330177 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 03:22:01 +00:00
Bernhard Messer 5a76aaa06f document bugfixes for LUCENE-455 and LUCENE-306
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329862 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 17:08:45 +00:00
Bernhard Messer 3ece4bf4f6 adjust testcase due to bugfix in WildcardQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329860 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 17:06:29 +00:00
Bernhard Messer 34e42624f6 fix to prevent that queries like 'ca??' match a term like 'cat'.
Terms with the correct length should be returned only. See Bug#LUCENE-306

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329859 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 17:05:36 +00:00
Yonik Seeley 741173ade6 document lucene version for FieldBits
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329735 13f79535-47bb-0310-9956-ffa450edef68
2005-10-31 04:37:51 +00:00
Yonik Seeley 965d85f59a omitNorms tests, make some tests more generic
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329526 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 05:42:09 +00:00
Yonik Seeley 25d317acaf remove synchronized from fakeNorms (private & set omitNorms flag on field
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329524 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 05:38:46 +00:00
Yonik Seeley 07d7d0701f remove synchronized from fakeNorms (private & always called within sync context)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329523 13f79535-47bb-0310-9956-ffa450edef68
2005-10-30 05:37:11 +00:00
Erik Hatcher 9713d6c30e additional span tests that have been lingering in my working copy for ages
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329384 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 09:48:22 +00:00
Erik Hatcher c522c62b36 toString for FuzzyQuery puts boost at the end, which looks more sensible
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329383 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 09:46:00 +00:00
Erik Hatcher 4fc1272877 Utilize ToStringUtils.boost() to remove duplication across .toString implementations and added boost comparison in .equals methods where it was missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329381 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 09:26:21 +00:00
Erik Hatcher 9087671cef Utility class to remove duplication in Query.toString implementations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329380 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 09:22:47 +00:00
Yonik Seeley ae11eb845b make field norms optional : LUCENE-448
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329366 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 03:52:48 +00:00
Erik Hatcher 52c12ea335 add Grant's ApacheCon presentation to the site
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329264 13f79535-47bb-0310-9956-ffa450edef68
2005-10-28 18:33:11 +00:00
Yonik Seeley c2065b4a3f document the counter used to generate new segment names in the segments file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329098 13f79535-47bb-0310-9956-ffa450edef68
2005-10-28 05:05:35 +00:00
Yonik Seeley a7ef75f3e8 speedup by deferring docMap and postings until needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329069 13f79535-47bb-0310-9956-ffa450edef68
2005-10-28 03:45:35 +00:00
Yonik Seeley 1bc04d2c65 speedup by deferring docMap and postings until needed - LUCENE-454
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@329068 13f79535-47bb-0310-9956-ffa450edef68
2005-10-28 03:44:00 +00:00
Yonik Seeley 2bdda4c57d adding Yonik Seeley
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@328917 13f79535-47bb-0310-9956-ffa450edef68
2005-10-27 17:49:24 +00:00
Daniel Naber 7fa0cf9587 Improve the expression that's suggested in a comment on how to
use "*" and "?" as first characters on wildcard queries. Thanks to 
Peter Norrhall.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@328754 13f79535-47bb-0310-9956-ffa450edef68
2005-10-26 22:31:55 +00:00
Yonik Seeley 1d0b4a23d5 add hashCode and equals to filters LUCENE-439
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@328729 13f79535-47bb-0310-9956-ffa450edef68
2005-10-26 21:05:35 +00:00
Yonik Seeley d587bd1cc6 adding Yonik Seeley
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@328550 13f79535-47bb-0310-9956-ffa450edef68
2005-10-26 04:09:07 +00:00
Daniel Naber 0c26106b36 fix several threading issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@328151 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 20:54:45 +00:00
Daniel Naber 8559a28c6e use non-deprecated constant
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@328122 13f79535-47bb-0310-9956-ffa450edef68
2005-10-24 18:29:57 +00:00
Daniel Naber e488faf407 document fix for Korean tokenization; document URL for old bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@327782 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 11:41:00 +00:00
Bernhard Messer 99dc3b9ecf extend test to show FieldsReader Bug#LUCENE-455
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@326610 13f79535-47bb-0310-9956-ffa450edef68
2005-10-19 16:56:11 +00:00
Bernhard Messer c3cf0e5875 check for storeOffsetWithTermVector and storePositionWithTermVector. See Bug#LUCENE-455
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@326609 13f79535-47bb-0310-9956-ffa450edef68
2005-10-19 16:54:46 +00:00
Erik Hatcher a53a123525 LUCENE-452 - add .equals/.hashCode
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@314869 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 12:56:04 +00:00
Daniel Naber 2237664f9c better exception if temp directory is not readable, by Jeff Turner (bug LUCENE-449)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@312719 13f79535-47bb-0310-9956-ffa450edef68
2005-10-10 19:33:22 +00:00
Daniel Naber 9d28e26666 Make "ant -projecthelp" show the javadocs and docs targets as well (LUCENE-447),
by Luc Vanlerberghe


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@307284 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 11:01:09 +00:00
Daniel Naber fb0fb2693b deprecate methods that use int flags, adding alternative methods that
use enumeration type instead

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@295117 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 21:01:28 +00:00
Daniel Naber 10fb3c64a5 small javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@295101 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 20:14:56 +00:00
Otis Gospodnetic 0eb4c32432 - Added Unicode range to fix tokenization of Korean - http://issues.apache.org/jira/browse/LUCENE-444
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@294982 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 03:53:19 +00:00
Daniel Naber ae706faf12 don't let MultiFieldQueryParser create empty clauses for stopwords
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@294924 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 21:30:37 +00:00
Otis Gospodnetic 45a706eb30 - Cosmetics (indentation)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@291494 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 23:55:54 +00:00
Erik Hatcher 32fb624ebc LUCENE-437 - Add position increment pass through on SnowballFilter tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@290943 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 13:38:58 +00:00
Erik Hatcher 1f5925c639 adjust site to point to JIRA
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@290677 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 10:41:16 +00:00
Erik Hatcher 2007804589 correct copy-paste typo causing TestBasics to loop infinitely
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@290597 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 01:10:27 +00:00
Erik Hatcher f32d7e7786 Added rewrite methods to all SpanQuery subclasses that nest SpanQuerys
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@289556 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 14:17:32 +00:00
Otis Gospodnetic b32b4b2235 - Moved general@ to the botton, to encourage more specific subscriptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@280256 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 04:50:12 +00:00
Daniel Naber 812ffcb2bc additional link to archive with search feature
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@279289 13f79535-47bb-0310-9956-ffa450edef68
2005-09-07 10:07:23 +00:00
Mark Harwood c00b260ecf Added fix to QueryScorer - if a query has multiple WeightedTerms with different weights for the same term the highest weight is used for scoring that term (previously selected last weight in list)
SimpleHTMLEncoder now encodes characters outside of ASCII range as character entities as per suggestion here: http://issues.apache.org/bugzilla/show_bug.cgi?id=36333


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@279088 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 20:19:50 +00:00
Mark Harwood f6b07dabe8 Changed TokenGroup.isDistinct after problems reported with JapaneseAnalyzer (no gaps between tokens)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@279078 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 19:38:12 +00:00
Daniel Naber fa28524804 "modified utf-8"
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@240464 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 22:10:34 +00:00
Daniel Naber 3960ad82f4 set source and target from java 1.3 to 1.4, not sure if this has any effect at all
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@240463 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 22:05:00 +00:00