Erik Hatcher
6ff6a27ace
quick fixes for javadoc warnings/errors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151007 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 10:38:07 +00:00
Erik Hatcher
4d14829d6c
add encoding switch to javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151006 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 10:22:20 +00:00
Daniel Naber
e06e5f79bd
remove unused variable and comment out unused private methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151005 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 09:56:16 +00:00
Daniel Naber
203cbfce59
remove unused imports and avoid warnings about unused variables
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151004 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 09:54:23 +00:00
Erik Hatcher
4816ac5b76
fixing up test cases that rely on external data and adding build.encoding property
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151003 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 23:44:59 +00:00
Daniel Naber
1b5eb6c40c
convert to utf-8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151002 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 22:03:07 +00:00
Daniel Naber
22a19287ea
convert to utf-8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151001 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 21:56:53 +00:00
Daniel Naber
a88d3719fb
trying to switch the encoding to utf-8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151000 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 21:34:47 +00:00
Daniel Naber
e02f7eb6e5
move the word list loader from analysis.de to analysis, as it is not specific to German at all; update the references to it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150999 13f79535-47bb-0310-9956-ffa450edef68
2004-08-16 20:42:59 +00:00
Daniel Naber
87bcdf6f25
copy the Russian and German analyzers plus their test cases to the sandbox
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150998 13f79535-47bb-0310-9956-ffa450edef68
2004-08-16 20:30:46 +00:00
Mark Harwood
726ddaeb5a
New low-level API exposed (getBestTextFragments) to provide access to fragment scores.
...
ToString() implemented on TextFragment objects to return text
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150997 13f79535-47bb-0310-9956-ffa450edef68
2004-08-12 22:09:37 +00:00
Erik Hatcher
f920cff71a
convert map to set
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150996 13f79535-47bb-0310-9956-ffa450edef68
2004-08-05 14:34:44 +00:00
Erik Hatcher
6dfd88a659
set compound format, regardless of create flag
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150995 13f79535-47bb-0310-9956-ffa450edef68
2004-08-05 14:32:28 +00:00
Erik Hatcher
6cf6840201
removed unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150994 13f79535-47bb-0310-9956-ffa450edef68
2004-08-05 14:30:46 +00:00
Daniel Naber
7bb77967f1
sorry, broke the special character with my last commit, trying to fix it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150993 13f79535-47bb-0310-9956-ffa450edef68
2004-08-04 18:32:22 +00:00
Daniel Naber
07b4dfa01f
add "throws IOException" so that these analyzer compiles against Lucene 1.4 -- please tell me if I broke the encoding
...
of the special characters
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150992 13f79535-47bb-0310-9956-ffa450edef68
2004-08-04 18:12:18 +00:00
Daniel Naber
4006836a60
add "throws IOException" so that these analyzers compile again against Lucene 1.4
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150991 13f79535-47bb-0310-9956-ffa450edef68
2004-08-04 17:57:14 +00:00
Mark Harwood
14f0da2aa2
Added support for analyzers that produce overlapping tokens
...
PR:
Obtained from:
Submitted by: Mark Harwod
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150990 13f79535-47bb-0310-9956-ffa450edef68
2004-07-26 20:39:47 +00:00
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