Commit Graph

1861 Commits

Author SHA1 Message Date
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
Daniel Naber 4e5151110b catch security exception so this class can be used from an applet;
tiny improvement to the exception output (no toString())

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@231078 13f79535-47bb-0310-9956-ffa450edef68
2005-08-09 18:41:47 +00:00
Daniel Naber 2b9294887f avoid code duplication, patch by Stephane Bailliez (#36078)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@231075 13f79535-47bb-0310-9956-ffa450edef68
2005-08-09 18:15:30 +00:00
Erik Hatcher c95a5c5390 Fix issue with lock file when org.apache.lucene.lockDir and java.io.tmpdir are not set
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@230939 13f79535-47bb-0310-9956-ffa450edef68
2005-08-09 00:58:01 +00:00
Daniel Naber 65cbe799af re-indent, no functional change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@224373 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 17:41:46 +00:00
Erik Hatcher 7dd3e02a1a #35823 - Paul Elschots fix for BooleanScorer2 causing ArrayIndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@220228 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 01:48:32 +00:00
Daniel Naber 3227a9dfb8 whitespace cleanup only (re-indent) + adding myself as author
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@220171 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 19:12:35 +00:00
Daniel Naber c9e584847b stop using the deprecated parse() method
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@220165 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 18:44:19 +00:00
Daniel Naber eaa580b853 fix parsing of sloppy phrase queries and wildcard queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219965 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 19:11:43 +00:00
Daniel Naber 025022251d adding toString() implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219555 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 19:28:57 +00:00
Erik Hatcher f50db81cd1 correct build file to reflect move of PrecedenceQueryParser to contrib/miscellaneous
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219547 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 18:20:30 +00:00
Daniel Naber 615f2c4db3 document fix for #35626
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219389 13f79535-47bb-0310-9956-ffa450edef68
2005-07-17 10:57:57 +00:00
Daniel Naber f242e1b564 Fix for NPE (bug #35626). Fix by Hans Hjelm, test case by Scotty Allen.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219387 13f79535-47bb-0310-9956-ffa450edef68
2005-07-17 10:47:14 +00:00
Daniel Naber d6ee6c0845 maxClauseCount: deprecate public field, no more setting via system property
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219250 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 21:03:33 +00:00
Daniel Naber 71067fa4ff don't close the input stream as HTMLParser spawns a thread internally
and closing the stream leads to errors (this reverts one of my previous
changes)


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219245 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 20:45:14 +00:00
Daniel Naber d51c0dee07 higher resolution is required here so changes to files are detected
even if file dates differ by less than a minute


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219241 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 20:22:35 +00:00
Daniel Naber 28e1679191 adding a constructor that takes stopwords as a Set
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@219090 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 20:36:28 +00:00
Daniel Naber 2b9e6b6252 update for Lucene 1.9
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@216241 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 21:08:05 +00:00
Daniel Naber 9ea49db638 don't allow setting of defaut values via system properties anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@216236 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 20:55:53 +00:00
Daniel Naber 685b655822 make QueryParser.Operator public
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@216230 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 20:34:02 +00:00
Daniel Naber e3cf2c61b9 toString() implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@216011 13f79535-47bb-0310-9956-ffa450edef68
2005-07-12 19:49:26 +00:00
Erik Hatcher 77290bc286 Deprecate static parse method, to be removed in 2.0. It causes more trouble than it is worth
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@209185 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 02:31:08 +00:00