Commit Graph

279 Commits

Author SHA1 Message Date
cmarschner aaffb3ed75 changed to hostmanager-aware taskQueue
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150838 13f79535-47bb-0310-9956-ffa450edef68
2002-10-22 15:03:31 +00:00
cmarschner b6243a3cbe better handling of status codes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150837 13f79535-47bb-0310-9956-ffa450edef68
2002-10-22 15:02:43 +00:00
Kelvin Tan 5cf76aa76a Removed or otherwise commented out dependency on appex/Indyo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150836 13f79535-47bb-0310-9956-ffa450edef68
2002-09-23 08:13:34 +00:00
Kelvin Tan 155bd6618e Fixed broken link to Jakarta CVS page.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150835 13f79535-47bb-0310-9956-ffa450edef68
2002-09-23 06:43:00 +00:00
Kelvin Tan d8caa687ee Fixed formatting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150834 13f79535-47bb-0310-9956-ffa450edef68
2002-09-23 06:42:32 +00:00
Kelvin Tan 03974c1029 Forgot to escape < and > characters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150833 13f79535-47bb-0310-9956-ffa450edef68
2002-09-17 04:00:11 +00:00
Otis Gospodnetic 25926e6866 - Added FIXME.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150832 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 20:21:18 +00:00
Otis Gospodnetic 9aadfdbc15 - Moved constructor up, made attributes private, added a FIXME and a TODO.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150831 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 19:30:40 +00:00
Otis Gospodnetic 0279b5b1fc - Files to ignore.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150830 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 18:18:10 +00:00
Otis Gospodnetic 3e4a19fed7 - Fixed vague class reference that caused compilation errors with Jikes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150829 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 18:15:46 +00:00
Otis Gospodnetic 04e68db1cd - Made queue attribute private; cosmetics.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150828 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 17:54:29 +00:00
Otis Gospodnetic d1e9be8015 - Split target build into targets compile and dist. Made compile target the
default one.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150827 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 00:58:07 +00:00
Otis Gospodnetic 69397847cd - Made constructor private, added a few FIXMEs, etc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150826 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 00:38:14 +00:00
Otis Gospodnetic c3a69fd77d - Made this singleton thread-safe.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150825 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 00:26:21 +00:00
Otis Gospodnetic e8dfbf2ace - Added APL.
- Moved all attributes up.
- Fixed weird class javadoc.
- Made a few small mods and added FIXMEs.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150824 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 00:22:05 +00:00
Otis Gospodnetic 3252c4925a - Added 2 FIXMEs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150823 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 00:13:12 +00:00
Otis Gospodnetic 475a837eaf - Added APL, made an attrib private.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150822 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 00:10:17 +00:00
Otis Gospodnetic 302f6949ab - Added javadoc skeletons for a few methods.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150821 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 00:09:23 +00:00
Otis Gospodnetic 3e11600e4e - Made attributes private.
- Added FIXME.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150820 13f79535-47bb-0310-9956-ffa450edef68
2002-09-15 00:01:13 +00:00
Otis Gospodnetic 8ba01b18ad - Made attributes private, formatter final.
- Added FIXME, added some Javadocs.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150819 13f79535-47bb-0310-9956-ffa450edef68
2002-09-14 23:55:41 +00:00
Otis Gospodnetic 21ec179316 - Added a comment about a small bug with the messageQueue's status.
- A few minor cosmetic changes.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150818 13f79535-47bb-0310-9956-ffa450edef68
2002-09-14 20:58:12 +00:00
Otis Gospodnetic bc40fa1994 - Modified to clean dirs/files created by run.sh.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150817 13f79535-47bb-0310-9956-ffa450edef68
2002-09-14 19:22:45 +00:00
Otis Gospodnetic b248127c1f - Default build properties for LARM. Initial checkin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150816 13f79535-47bb-0310-9956-ffa450edef68
2002-09-14 19:19:47 +00:00
Otis Gospodnetic 9438e5ab02 - Moved properties to a properties file.
- Commented out checksyntax and run targets, since LARM can be started from
run.sh now.
- Added target clean that just cleans the build files and changed cleanall
target to use it.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150815 13f79535-47bb-0310-9956-ffa450edef68
2002-09-14 19:16:28 +00:00
Otis Gospodnetic d6cc4d7342 - Modified to make it usable. This way we don't have to use Ant to run LARM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150814 13f79535-47bb-0310-9956-ffa450edef68
2002-09-14 18:51:49 +00:00
Peter Carlson cc71858047 I added the Unit Test to include a test on an unoptimized index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150813 13f79535-47bb-0310-9956-ffa450edef68
2002-09-07 01:01:01 +00:00
Peter Carlson 3940b6ff1c I have modified the SortedField to not access deleted documents. This caused an exception when filling the initial arrays.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150812 13f79535-47bb-0310-9956-ffa450edef68
2002-09-07 01:00:57 +00:00
Peter Carlson a75302f000 I added a static field for the default search Field.
I have added a SearchBean.close() to people can close the searcher.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150811 13f79535-47bb-0310-9956-ffa450edef68
2002-09-07 01:00:52 +00:00
Peter Carlson 18d1f6e5df Now if there are no hits, I return a HitsIterator that will return 0 for all appropriate fields instead of returning null
I put the string "relevance" into a static variable.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150810 13f79535-47bb-0310-9956-ffa450edef68
2002-09-07 01:00:47 +00:00
Kelvin Tan 0a7e5168e5 Although HitsIterator doesn't implement Iterator, it follows the Iterator idiom so this is just a simple adapter
(really more of a wrapper) which does implement Iterator.

Useful when you want to pass the HitsIterator object into Velocity as a collection
and you want to be able to do something like
#foreach($hit in $hitIterator)
  ##display stuff
#end


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150809 13f79535-47bb-0310-9956-ffa450edef68
2002-08-31 01:19:42 +00:00
Kelvin Tan 4474e5fd64 Initial import of source and libs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150808 13f79535-47bb-0310-9956-ffa450edef68
2002-08-30 18:03:53 +00:00
Kelvin Tan 6a2e1270e2 First attempt at a tutorial for Indyo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150807 13f79535-47bb-0310-9956-ffa450edef68
2002-08-30 17:58:04 +00:00
Kelvin Tan 297c09a863 Default configuration file.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150806 13f79535-47bb-0310-9956-ffa450edef68
2002-08-30 17:57:41 +00:00
Kelvin Tan 6cd81f3a4b First attempt at an introduction to Indyo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150805 13f79535-47bb-0310-9956-ffa450edef68
2002-08-30 17:57:30 +00:00
Kelvin Tan c67ef9db70 Initial import of build file and properties.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150804 13f79535-47bb-0310-9956-ffa450edef68
2002-08-30 17:56:01 +00:00
Erik Hatcher 7ef3d9ff37 a build file would be nice too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150803 13f79535-47bb-0310-9956-ffa450edef68
2002-07-11 01:12:56 +00:00
Erik Hatcher 03cb5af2b3 fixed build file to work with pre Ant 1.5. Relocated to contributions area.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150802 13f79535-47bb-0310-9956-ffa450edef68
2002-07-11 01:12:31 +00:00
cmarschner 2bd4df4bcb added with -kb option
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150800 13f79535-47bb-0310-9956-ffa450edef68
2002-06-30 18:05:15 +00:00
cmarschner 407fadc3bb was empty
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150799 13f79535-47bb-0310-9956-ffa450edef68
2002-06-30 15:12:54 +00:00
cmarschner c7e103618b .doc doesn't seem to work. let's try rtf
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150798 13f79535-47bb-0310-9956-ffa450edef68
2002-06-30 15:12:04 +00:00
Otis Gospodnetic 1a0a676354 - Added oro.jar property.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150797 13f79535-47bb-0310-9956-ffa450edef68
2002-06-30 14:58:49 +00:00
Otis Gospodnetic 05d752d877 - Fixed Usage text.
- Added oro.jar property.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150796 13f79535-47bb-0310-9956-ffa450edef68
2002-06-30 14:58:27 +00:00
Kelvin Tan d53f677efd Fixed horrible bug in returning results within a range.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150795 13f79535-47bb-0310-9956-ffa450edef68
2002-06-29 07:58:59 +00:00
Otis Gospodnetic 5b16894b93 - Unpacked the .zip file, for easier access to the source code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150794 13f79535-47bb-0310-9956-ffa450edef68
2002-06-21 15:02:51 +00:00
Otis Gospodnetic 6af8f0a0c2 - Initial checkin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150793 13f79535-47bb-0310-9956-ffa450edef68
2002-06-18 22:30:17 +00:00
Otis Gospodnetic a2ec870f44 - Renamed the assert(boolean) method to affirm(boolean) to avoid warnings
about assert being a reserved word (JDK 1.4).


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150792 13f79535-47bb-0310-9956-ffa450edef68
2002-06-18 21:57:00 +00:00
Otis Gospodnetic e6aeb1c4d8 - This is not needed any more.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150791 13f79535-47bb-0310-9956-ffa450edef68
2002-06-18 21:55:49 +00:00
cmarschner 138b3d3b1f not much changed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150790 13f79535-47bb-0310-9956-ffa450edef68
2002-06-18 11:42:54 +00:00
cmarschner bea35900d5 see file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150789 13f79535-47bb-0310-9956-ffa450edef68
2002-06-18 11:39:51 +00:00
cmarschner 91b3058b38 added LuceneStorage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150788 13f79535-47bb-0310-9956-ffa450edef68
2002-06-18 00:49:57 +00:00
cmarschner be12c931f4 lucene.jar is now necessary for building lucene storage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150787 13f79535-47bb-0310-9956-ffa450edef68
2002-06-18 00:47:39 +00:00
cmarschner 42c33097b3 changed web doc. to field/value pairs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150786 13f79535-47bb-0310-9956-ffa450edef68
2002-06-18 00:46:35 +00:00
cmarschner 8790e328db added experimental version of LuceneStorage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150785 13f79535-47bb-0310-9956-ffa450edef68
2002-06-18 00:45:10 +00:00
cmarschner bdd627d35c added experimental version of a LuceneStorage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150784 13f79535-47bb-0310-9956-ffa450edef68
2002-06-18 00:44:22 +00:00
cmarschner 8ed5fa47fd added URLNormalizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150783 13f79535-47bb-0310-9956-ffa450edef68
2002-06-17 14:16:12 +00:00
cmarschner 8e18fa1cb0 moved HostInfo/HostManager to larm.net package; added URLNormalizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150782 13f79535-47bb-0310-9956-ffa450edef68
2002-06-17 14:00:13 +00:00
cmarschner 5b90c10cb5 added URLNormalizer. Changed filters to use normalized URLs if possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150781 13f79535-47bb-0310-9956-ffa450edef68
2002-06-17 13:59:28 +00:00
cmarschner 14fdfb458f removed bug: doc is saved under new URL if 301/302 error occured
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150780 13f79535-47bb-0310-9956-ffa450edef68
2002-06-17 13:58:33 +00:00
Kelvin Tan 574ec2994b Imported from http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg00795/PdfTextExtractor.java.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150779 13f79535-47bb-0310-9956-ffa450edef68
2002-06-17 01:29:56 +00:00
cmarschner 6fd283db33 added storage pipeline; some fixes on Tokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150778 13f79535-47bb-0310-9956-ffa450edef68
2002-06-01 18:55:16 +00:00
Kelvin Tan e5dfadde8e Method of acquiring and releasing index lock could have resulted in a deadlock (thanks to Otis for pointing it out).
Made the acquire and release lock methods synchronized and centralized the point of access of the lock.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150777 13f79535-47bb-0310-9956-ffa450edef68
2002-05-25 10:19:22 +00:00
Peter Carlson d27d39befb Initial submit of SerachBean and related classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150776 13f79535-47bb-0310-9956-ffa450edef68
2002-05-23 00:45:09 +00:00
cmarschner 7a3b5acf37 added license info; added anchor text extraction
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150775 13f79535-47bb-0310-9956-ffa450edef68
2002-05-22 23:09:22 +00:00
Otis Gospodnetic 296a06ce90 - Syntax fix.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150774 13f79535-47bb-0310-9956-ffa450edef68
2002-05-21 16:14:29 +00:00
Peter Carlson 46e1e54350 First submittal of SearchBean, a bean that wraps many of the Lucene functionality to perform searches.
It supports:
1) Paging
2) Iterating through the search results a HitsIterator
3) Sorting by a field

This can easily be used with a JSP page.

This passes the inital Testcase, but sorting has not been tested in this code yet.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150773 13f79535-47bb-0310-9956-ffa450edef68
2002-05-21 06:29:07 +00:00
cmarschner e16a9e73df added documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150772 13f79535-47bb-0310-9956-ffa450edef68
2002-05-13 21:26:09 +00:00
Kelvin Tan 6ba56b4a9d Fixed typo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150771 13f79535-47bb-0310-9956-ffa450edef68
2002-05-13 10:56:54 +00:00
Kelvin Tan 5420a95069 Refactored to use typed arrays instead of generic lists. (thanks to Otis)
However, the array of objects returned are no longer guaranteed to be unique.
Clients should construct a Set out of the objectResults if uniqueness is required.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150770 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 07:01:10 +00:00
Kelvin Tan 06e1cc92d3 An object to encapsulate the results of a search.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150769 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 00:47:25 +00:00
Kelvin Tan 5f191db11b Implementation of SearchService.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150768 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 00:46:59 +00:00
Kelvin Tan 5ab813ac72 Fulcrum-based service declaration of a search service. This is actually quite a Lucene-specific interface declaration.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150767 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 00:46:14 +00:00
Kelvin Tan b84ac2fb26 Merged the various add* methods into a single method. Added constants for AND, NOT and OR prefix modifiers.
Added a default modifier.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150763 13f79535-47bb-0310-9956-ffa450edef68
2002-05-09 02:39:26 +00:00
Kelvin Tan 9b57a1288f Initial commit of a javascript lib as a web-based GUI for boolean query construction.
Based on the file posted at http://marc.theaimsgroup.com/?l=lucene-user&m=101366456309906&w=2.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150762 13f79535-47bb-0310-9956-ffa450edef68
2002-05-09 02:18:00 +00:00
Kelvin Tan f6c9d225a1 Initial commit of javascript lucene query validator.
This is the version from http://marc.theaimsgroup.com/?l=lucene-user&m=101964415222254&w=2.
I'm so glad its finally been rescued from the depths of mailing list archives!


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150761 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 15:56:58 +00:00
Otis Gospodnetic 740ff44d60 - Added contributor's full name.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150754 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 14:39:50 +00:00
Otis Gospodnetic f4e2c2bbbb - A REDME for LARM webcrawler contribution.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150752 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 14:32:24 +00:00
Otis Gospodnetic cf2fa142c8 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150751 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 13:58:45 +00:00
Otis Gospodnetic 95eb8721c6 - Lucene Indexing Demo docs. Minimalistic at present.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150750 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 13:34:05 +00:00
Otis Gospodnetic 61d966bb04 - A contributed, simple XML Indexing Demo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150749 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 13:32:45 +00:00