Commit Graph

1670 Commits

Author SHA1 Message Date
Kelvin Tan aa7e95dae2 Implemented tests for checkAllowedCharacters and checkANDORNOT.
Imported a whole bunch of tests from TestQueryParser.java.
Except for the term1 !term2 queries (which are commented out for now), all tests go green!!
Woohoo!!


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150978 13f79535-47bb-0310-9956-ffa450edef68
2004-05-17 11:56:17 +00:00
Kelvin Tan adb3ef0db2 Added backslash to list of allowed characters.
Implemented checkANDORNOT, with thanks to Michel Valade (m_valade at hotmail.com)
for suggested change to the regex.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150977 13f79535-47bb-0310-9956-ffa450edef68
2004-05-17 11:53:59 +00:00
Mark Harwood ea277f9b94 Javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150976 13f79535-47bb-0310-9956-ffa450edef68
2004-05-09 16:03:57 +00:00
Erik Hatcher ac0f42f29a patch from Mark, while his account creation is pending
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150975 13f79535-47bb-0310-9956-ffa450edef68
2004-05-05 19:43:00 +00:00
Erik Hatcher d9684c7065 javadoc fixups
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150974 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 01:12:04 +00:00
Erik Hatcher 527503916a move test case to test directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150973 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 01:06:04 +00:00
Erik Hatcher 33345f7af9 Initial commit of Mark Harwood's Highlighter package
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150972 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 00:34:31 +00:00
Erik Hatcher 45898ec436 renaming - sorry, wasn't paying attention
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150971 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 00:33:40 +00:00
Erik Hatcher 268aa9e55f Initial addition of hit hilighting code contributed by Mark Harwood
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150970 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 00:16:16 +00:00
Otis Gospodnetic 7d7e290d34 - Applied a patch from bug entry: src/java/org/apache/lucenesandbox/xmlindexingdemo/XMLDocumentHandlerSAX.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150969 13f79535-47bb-0310-9956-ffa450edef68
2004-04-06 09:51:41 +00:00
Kelvin Tan b89cb9ac38 Fixed silly typo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150968 13f79535-47bb-0310-9956-ffa450edef68
2004-03-26 07:43:22 +00:00
Kelvin Tan 8afe28b9f7 Added 2 asterisk test cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150967 13f79535-47bb-0310-9956-ffa450edef68
2004-03-26 07:43:10 +00:00
Kelvin Tan 7865adc2dd Extracted validation methods so they can be tested via jsunit.
Handles query escaping via a workaround. Yay!
Checks for empty quotes.
Simplified many REs.
Allows the '=' sign.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150966 13f79535-47bb-0310-9956-ffa450edef68
2004-03-16 03:17:17 +00:00
Erik Hatcher f065932ff6 clean-up based on core changes to StopFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150965 13f79535-47bb-0310-9956-ffa450edef68
2004-03-12 15:52:59 +00:00
Erik Hatcher c4dd210b0f bringing sandbox analyzers up to date with changes to the core StopFilter and migrating away from using Hashtable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150964 13f79535-47bb-0310-9956-ffa450edef68
2004-03-11 03:05:36 +00:00
Otis Gospodnetic badeb8cd5a - Initial commit
Contribution: http://issues.apache.org/bugzilla/show_bug.cgi?id=27168
  (with removed ^Ms, trailing spaces, and with ASL 2.0 instead of ASL 1.1)


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150963 13f79535-47bb-0310-9956-ffa450edef68
2004-03-09 14:55:08 +00:00
Kelvin Tan 0e30c11124 Added doANDTerms method to construct Google-like queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150962 13f79535-47bb-0310-9956-ffa450edef68
2004-03-06 08:22:05 +00:00
Otis Gospodnetic def91f5c44 ASL 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150961 13f79535-47bb-0310-9956-ffa450edef68
2004-03-03 12:18:08 +00:00
Otis Gospodnetic a016dcef1b - Added documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150960 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 13:56:03 +00:00
Otis Gospodnetic 4a46c8b05f - Initial commit.
Contribution from David Spencer.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150959 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 12:52:16 +00:00
Erik Hatcher 1c5145048b example of antlib usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150958 13f79535-47bb-0310-9956-ffa450edef68
2004-02-25 01:11:24 +00:00
Doug Cutting 0bc129625f Added support for javadoc, releases, etc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150957 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 19:08:06 +00:00
Doug Cutting 22c2c5b909 Added recently released stemmers, updated license & build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150956 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 19:07:36 +00:00
Erik Hatcher 1052786c75 making target an optional attribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150955 13f79535-47bb-0310-9956-ffa450edef68
2004-02-23 15:25:48 +00:00
Erik Hatcher 1d81627f0e upgrading deprecated API call
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150954 13f79535-47bb-0310-9956-ffa450edef68
2004-02-23 15:24:13 +00:00
Erik Hatcher 94f1d399dc change name of JAR built, add descriptions for other targets
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150953 13f79535-47bb-0310-9956-ffa450edef68
2004-02-23 15:23:25 +00:00
Erik Hatcher 48fa83e2ac add support for compound index format when creating new index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150952 13f79535-47bb-0310-9956-ffa450edef68
2004-02-22 14:50:04 +00:00
Erik Hatcher 3283c40205 adding Russian analyzer to index task built-ins now that it has a friendly ctor
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150951 13f79535-47bb-0310-9956-ffa450edef68
2004-02-22 10:33:38 +00:00
Kelvin Tan 854c344317 Initial commit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150950 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 06:20:15 +00:00
Erik Hatcher ed38b4fab0 gettin jiggy with ant 1.6
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150949 13f79535-47bb-0310-9956-ffa450edef68
2004-02-15 19:19:55 +00:00
Erik Hatcher 79313c8f43 add synonym lookup utility
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150948 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 17:29:35 +00:00
Erik Hatcher bd07d7acc4 modify to build syn index in compound format
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150947 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 17:29:09 +00:00
Erik Hatcher bd0af19e91 add building of index and looking up a synonym to the build file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150946 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 17:26:38 +00:00
Erik Hatcher 2ee994898d lucli code cleanup and a couple of minor enhancements/fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150945 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 01:36:15 +00:00
Erik Hatcher 93fcac0a9b apparently the license is not ASF compatible, so removing from CVS - but it is needed for building!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150944 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 01:10:56 +00:00
Erik Hatcher 4ec1cdc036 friendlier exception handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150943 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 19:42:21 +00:00
Erik Hatcher 895c99e801 no need to have lucene JAR in lib directory to build sandbox pieces
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150942 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 19:41:52 +00:00
Erik Hatcher 507626829b #26396 - HighFreqTerms fixup from Jean-Fran��ois Halleux
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150941 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 13:16:00 +00:00
Erik Hatcher 8fa85d5cdb more ant touchups
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150940 13f79535-47bb-0310-9956-ffa450edef68
2004-01-23 17:40:13 +00:00
Erik Hatcher dcd5d64785 copy non-java files so they get bundled into the JAR
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150939 13f79535-47bb-0310-9956-ffa450edef68
2004-01-23 17:38:35 +00:00
Erik Hatcher 8c1b134a7a enhanced sample, but validator is acting up it seems. kelvin - am i doing something wrong?
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150938 13f79535-47bb-0310-9956-ffa450edef68
2004-01-23 16:59:38 +00:00
Erik Hatcher 5320408426 code cleanup. tests pass
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150937 13f79535-47bb-0310-9956-ffa450edef68
2004-01-23 16:51:56 +00:00
Erik Hatcher 48798905d1 another attempt to get tests passing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150936 13f79535-47bb-0310-9956-ffa450edef68
2004-01-23 12:49:34 +00:00
Erik Hatcher 0d43020b12 snowball touchups
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150935 13f79535-47bb-0310-9956-ffa450edef68
2004-01-23 12:05:03 +00:00
Erik Hatcher b3c97c801e add ASL to source code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150934 13f79535-47bb-0310-9956-ffa450edef68
2004-01-22 20:54:47 +00:00
Erik Hatcher e7aef512db #26360 from Jean-Fran����ois Halleux - add test case for FrendAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150933 13f79535-47bb-0310-9956-ffa450edef68
2004-01-22 20:49:16 +00:00
Erik Hatcher 595559dedb #26268 - Add FrenchAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150932 13f79535-47bb-0310-9956-ffa450edef68
2004-01-20 10:07:01 +00:00
Erik Hatcher d4aebf1703 removing redundant casts
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150931 13f79535-47bb-0310-9956-ffa450edef68
2004-01-19 21:23:28 +00:00
Erik Hatcher 09b18b0b17 javadoc fixup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150930 13f79535-47bb-0310-9956-ffa450edef68
2004-01-19 21:22:36 +00:00
Erik Hatcher d2d0581932 This shows why test cases are a good thing, oh and an IDE that flags silly assignments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150929 13f79535-47bb-0310-9956-ffa450edef68
2004-01-19 21:21:38 +00:00