Commit Graph

224 Commits

Author SHA1 Message Date
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
Erik Hatcher 6bf08ccff7 my long promised index task. its in need of refactoring, but it does the job it was intended to do. docs and cleanup will follow.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150801 13f79535-47bb-0310-9956-ffa450edef68
2002-07-10 02:20:40 +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 bcfa0cbc60 Added simple README and GETTING STARTED docs. Hope it will ease the learning curve somewhat,
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150766 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 17:20:29 +00:00
Kelvin Tan bb68f17330 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150765 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 17:19:17 +00:00
Kelvin Tan f2d83b18c9 Updated with entry on javascript contributions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150764 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 09:41:49 +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
Kelvin Tan 01bb49e1a4 Initial commit of a system of retrieving Torque-persisted objects from Document objects.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150760 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 15:53:48 +00:00
Kelvin Tan 57ad807bd9 Renamed to FileContentHandlerFactory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150759 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 15:52:50 +00:00
Kelvin Tan a716edd6d1 Importing the classes seem to have warped the whitespaces. Here's my attempt to get things back to normal.
Introduced new datasource and contenthandler mechanism. It's quite a major alteration for individual changes to be enumerated.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150758 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 15:52:37 +00:00
Kelvin Tan 5b5ea958c9 Not in use. DataSource mechanism altered.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150757 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 15:50:34 +00:00
Kelvin Tan 5ffcb6abe4 Importing the classes seem to have warped the whitespaces. Here's my attempt to get things back to normal.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150756 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 15:50:03 +00:00
Andrew C. Oliver af3d523dbe Initial revision
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150755 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 15:43:03 +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 f7be16812b - Updated with today's activities.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150753 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 14:36:47 +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
Otis Gospodnetic 6b7a6eb234 - Cosmetics.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150748 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 13:29:54 +00:00
Otis Gospodnetic fffd734c3d - Fixed a typo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150747 13f79535-47bb-0310-9956-ffa450edef68
2002-05-03 19:03:20 +00:00
Otis Gospodnetic 4be2fdcacd - Minor changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150746 13f79535-47bb-0310-9956-ffa450edef68
2002-05-03 18:59:35 +00:00
Otis Gospodnetic 389c64bc3f - Removed unneeded list of files.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150745 13f79535-47bb-0310-9956-ffa450edef68
2002-05-03 16:17:46 +00:00
Otis Gospodnetic c5891fe4d6 - Cosmetics.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150744 13f79535-47bb-0310-9956-ffa450edef68
2002-05-03 13:17:23 +00:00
Otis Gospodnetic 61cc2a31af - Fixed a few typos (really just testing commit priviledges).
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150743 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 15:23:59 +00:00
Peter Carlson 88d155d343 Files to create the basic structure of the Lucene Sandbox Repository.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150742 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 14:32:07 +00:00