Commit Graph

1217 Commits

Author SHA1 Message Date
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
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