Commit Graph

2282 Commits

Author SHA1 Message Date
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
Daniel Naber ae53f09860 avoid some deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@240403 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 11:20:25 +00:00
Daniel Naber c7c1a6b8c6 mention that QueryParser is not thread-safe; don't refer to deprecated method in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@239737 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 19:31:59 +00:00
Erik Hatcher 718380d17e Add .equals/.hashCode to allow for comparisons of SpanOrQuerys
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@234254 13f79535-47bb-0310-9956-ffa450edef68
2005-08-21 15:45:42 +00:00
Daniel Naber 9b3aa1aec0 remove a class that's not used at all
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@234196 13f79535-47bb-0310-9956-ffa450edef68
2005-08-21 12:52:32 +00:00
Daniel Naber 3b9f3cf427 adding MatchAllDocsQuery by John Wang, bug #34946
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@234190 13f79535-47bb-0310-9956-ffa450edef68
2005-08-21 12:23:00 +00:00
Daniel Naber c294be7007 removing link to ApacheCon Europe
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@233519 13f79535-47bb-0310-9956-ffa450edef68
2005-08-19 17:45:32 +00:00
Daniel Naber dd5c74112f a query parser by Ronnie Kolehmainen that also sends PrefixQuerys etc. through the analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@231523 13f79535-47bb-0310-9956-ffa450edef68
2005-08-11 21:28:58 +00:00
Daniel Naber ff98018b08 a query parser by Ronnie Kolehmainen that also sends PrefixQuerys etc. through the analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@231522 13f79535-47bb-0310-9956-ffa450edef68
2005-08-11 21:28:47 +00:00
Daniel Naber e46b8070a6 -make more methods and the exceptions work, adding test cases for these
-adding a warning to the javadoc that the user is responsible for keeping the indexes in sync


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@231343 13f79535-47bb-0310-9956-ffa450edef68
2005-08-10 22:39:26 +00:00
Daniel Naber 1e5c36f315 use of Lucene in applets
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@231100 13f79535-47bb-0310-9956-ffa450edef68
2005-08-09 20:17:30 +00:00
Daniel Naber f770e5fbe2 use setter/getter instead of system property; catch security
exception so Lucene can be used inside an applet

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@231098 13f79535-47bb-0310-9956-ffa450edef68
2005-08-09 20:12:50 +00:00