1481 Commits

Author SHA1 Message Date
Kelvin Tan
cd10939321 AND-ed query was being appended to the original one.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150989 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 11:05:23 +00:00
Erik Hatcher
a2871ae443 aesthetic/javadoc fixups
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150988 13f79535-47bb-0310-9956-ffa450edef68
2004-06-03 03:04:10 +00:00
Erik Hatcher
281ccaa902 applied latest patch from Andi Vajda
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150987 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 09:27:03 +00:00
Erik Hatcher
04c866d63a JUnit: expected, actual
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150986 13f79535-47bb-0310-9956-ffa450edef68
2004-05-31 13:58:49 +00:00
Erik Hatcher
c44c040207 rudimentary test case for ChainedFilter, used initially to learn how it works
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150985 13f79535-47bb-0310-9956-ffa450edef68
2004-05-24 16:20:46 +00:00
Mark Harwood
39e1b775dd Clarification of Javadocs - code was missing Formatter implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150984 13f79535-47bb-0310-9956-ffa450edef68
2004-05-19 20:29:10 +00:00
Kelvin Tan
ed9f594f27 Ack. Left out the type cast.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150983 13f79535-47bb-0310-9956-ffa450edef68
2004-05-17 13:45:05 +00:00
Kelvin Tan
9ca5de00f0 First filter gets modified if operation is an AND (which is terrible if its a
cached filter and not a throw-away one).
Patch by Rick Mann (rmann at keepmedia.com).


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150982 13f79535-47bb-0310-9956-ffa450edef68
2004-05-17 13:41:03 +00:00
Kelvin Tan
3e595abf2d Incorporates Erik's idea of displaying query inline, not as pop-up, and also the query validation feature.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150981 13f79535-47bb-0310-9956-ffa450edef68
2004-05-17 13:29:24 +00:00
Kelvin Tan
0830eaebe8 Didn't actually log what major changes were introduced in previous version:
Distinction between term modifiers and group modifiers.
Support for non-field specific searching.
Fixed bug in trim (word boundaries don't apply to characters like + and -).
Added feature of disabling grouping via NO_MODIFIER.
Refactorings here and there.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150980 13f79535-47bb-0310-9956-ffa450edef68
2004-05-17 13:28:11 +00:00
Kelvin Tan
bc26b64269 Complete revamp of luceneQueryConstructor.
Added demo and introduction HTML page.
Added jsUnit tests.

WARNING: this version should be considered incompatible with previous versions.
Migration effort is minimal and I'm happy to answer questions about migration posted to lucene-user, but
I'm under the impression the previous versions weren't widely used (if at all) anyways.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150979 13f79535-47bb-0310-9956-ffa450edef68
2004-05-17 13:04:42 +00:00
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