Commit Graph

1738 Commits

Author SHA1 Message Date
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
Erik Hatcher 6e9c0b6f45 remove unused file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@209184 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 02:29:34 +00:00
Erik Hatcher 9d70229506 #34331 - Add Paul Elschot's Surround query language parser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@209183 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 02:29:03 +00:00
Erik Hatcher a8ea081a4d build adjustments to allow contrib sub-projects to use JavaCC
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@209182 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 02:22:45 +00:00
Daniel Naber 5433a9d324 import statement cleanup; fix javadoc comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208905 13f79535-47bb-0310-9956-ffa450edef68
2005-07-03 10:40:01 +00:00
Daniel Naber 899c7a2bfb simplify usage of the main method: directory doesn't need to be specified explicitly anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208904 13f79535-47bb-0310-9956-ffa450edef68
2005-07-03 10:33:33 +00:00
Daniel Naber d9c75bfad0 more test cases to increase code coverage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208851 13f79535-47bb-0310-9956-ffa450edef68
2005-07-02 17:39:57 +00:00
Daniel Naber f2ac110482 clean up exception handling: there's no need to manually catch exceptions in test
cases (unless you expect the exception to be thrown)

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208846 13f79535-47bb-0310-9956-ffa450edef68
2005-07-02 16:40:44 +00:00
Daniel Naber e41ced8f49 clean up exception handling: there's no need to manually catch exceptions in test
cases (unless you expect the exception to be thrown)

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208807 13f79535-47bb-0310-9956-ffa450edef68
2005-07-01 22:13:53 +00:00
Daniel Naber 9c520544f9 new small test case to increase code coverage of the tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208806 13f79535-47bb-0310-9956-ffa450edef68
2005-07-01 22:07:14 +00:00
Mark Harwood 0062898ada Updated version of MemoryIndex - reliant on new Term.createTerm() method in Trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208688 13f79535-47bb-0310-9956-ffa450edef68
2005-06-30 21:40:05 +00:00
Mark Harwood fa211e79d6 added createTerm method to create Terms without incurring fieldName.intern() overhead
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208682 13f79535-47bb-0310-9956-ffa450edef68
2005-06-30 20:57:18 +00:00
Mark Harwood 7894a0c0c0 Added (simple) SpanQuery support - matches any terms declared in Spans - proper impl should check for distances
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208673 13f79535-47bb-0310-9956-ffa450edef68
2005-06-30 20:09:58 +00:00
Daniel Naber c223db7a29 small update, adding links
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208666 13f79535-47bb-0310-9956-ffa450edef68
2005-06-30 19:26:13 +00:00
Daniel Naber 5bf11bffaf remove unused code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@202435 13f79535-47bb-0310-9956-ffa450edef68
2005-06-29 21:39:03 +00:00
Daniel Naber 096a69aec4 small cleanup, no functional change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@202432 13f79535-47bb-0310-9956-ffa450edef68
2005-06-29 21:31:22 +00:00
Daniel Naber 7d60bb8214 don't print to stdout in test cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@202414 13f79535-47bb-0310-9956-ffa450edef68
2005-06-29 19:12:55 +00:00
Daniel Naber 04b155a227 avoid NullPointerException when an analyzer returns null for some term
(bug #33848), patch inspired by John Wang

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@202284 13f79535-47bb-0310-9956-ffa450edef68
2005-06-28 21:43:47 +00:00
Daniel Naber efc2367ac6 small code simplification suggested by John Wang; added deprecated tag to javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@202282 13f79535-47bb-0310-9956-ffa450edef68
2005-06-28 21:18:51 +00:00
Daniel Naber 52cda0c4ef Most of Wolf Siberski's patch to fix #35241/#31841: MulitSearcher failed on WildcardQuery etc.
-this has not been committed: removal of mergeBooleanQueries(); change to BooleanQuery.equals()
-added: a test case that is commented out which shows strange queries like "multi* multi* foo" don't work properly


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@201453 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 20:43:47 +00:00
Daniel Naber 00b3e9d8a4 new method to get stop words from reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@192991 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:05:13 +00:00
Daniel Naber ca5b0a3ca0 small javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@192989 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 19:59:03 +00:00
Otis Gospodnetic 94d7f6e9f5 - Applied patch from src/java/org/apache/lucene/analysis/WordlistLoader.java
(reading word list from a Reader)


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@191754 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 02:31:33 +00:00
Daniel Naber 416190e29d small typo fix in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@191358 13f79535-47bb-0310-9956-ffa450edef68
2005-06-19 18:25:22 +00:00