Commit Graph

1415 Commits

Author SHA1 Message Date
Kelvin Tan 67bcfc69b8 Fixed appending of groupModifier even when it is a NO_MODIFIER.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151023 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 15:37:54 +00:00
Kelvin Tan c6b19891da Fixed display of results in Firefox 1.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151022 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 15:37:23 +00:00
Mark Harwood c5b61e1671 New GradientFormatter, TermVector helper class and IDF-based fragment scoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151021 13f79535-47bb-0310-9956-ffa450edef68
2004-12-31 11:22:27 +00:00
Otis Gospodnetic 3e7d316f21 - Typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151020 13f79535-47bb-0310-9956-ffa450edef68
2004-12-18 05:16:44 +00:00
Otis Gospodnetic 127f15ad6c - LARM cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151019 13f79535-47bb-0310-9956-ffa450edef68
2004-12-18 04:56:56 +00:00
Otis Gospodnetic 98faec8805 - LARM has left the building... and has been living at larm.sf.net for a long time now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151018 13f79535-47bb-0310-9956-ffa450edef68
2004-12-18 04:50:42 +00:00
Daniel Naber 22c837d3be adding comments about file encoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151017 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 22:22:48 +00:00
Daniel Naber 4b4625d35b mention that German and Russian analyzer have been moved here
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151016 13f79535-47bb-0310-9956-ffa450edef68
2004-11-27 12:37:27 +00:00
Erik Hatcher 788f379da3 add ignores
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151015 13f79535-47bb-0310-9956-ffa450edef68
2004-11-09 15:13:25 +00:00
David Spencer 57cd076565 prelim checking of spellchecker, v1.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151014 13f79535-47bb-0310-9956-ffa450edef68
2004-11-02 23:11:29 +00:00
Daniel Naber a8d98638a0 improve doc for default constructor; make stop word list public but final
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151013 13f79535-47bb-0310-9956-ffa450edef68
2004-10-17 11:41:41 +00:00
Daniel Naber 8fd3b8498b improve doc for default constructor; make stop word list public but final
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151012 13f79535-47bb-0310-9956-ffa450edef68
2004-10-17 11:16:39 +00:00
Mark Harwood 52584cb7e7 Tidied unused import
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151011 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 12:18:19 +00:00
Daniel Naber 11e234de1f remove unused variables
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151010 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 19:09:27 +00:00
Daniel Naber 5ae03e4587 convert to utf-8
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151009 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 14:30:48 +00:00
Erik Hatcher e7ae41ce23 allow @todo. also hack fix for package target by creating docs directory if it does not exist
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151008 13f79535-47bb-0310-9956-ffa450edef68
2004-08-18 10:39:57 +00:00
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