org.marketchangers.prayer.lucene
Class LucenePrayerRequestSearcher

java.lang.Object
  extended byorg.marketchangers.prayer.lucene.LucenePrayerRequestSearcher
All Implemented Interfaces:
PrayerRequestSearcher

public class LucenePrayerRequestSearcher
extends java.lang.Object
implements PrayerRequestSearcher

Author:
Jianshuo Niu, Matthew Todd

Field Summary
 
Fields inherited from interface org.marketchangers.prayer.PrayerRequestSearcher
NULL_OBJECT
 
Constructor Summary
LucenePrayerRequestSearcher(IndexProvider provider)
           
 
Method Summary
 void delete(int docId)
           
 void index(java.util.Collection prayerRequests)
           
 void index(PrayerRequest request)
           
 java.util.List search(PrayerRequestQuery q)
          By this point, organizationName has been mapped to a list of users, and the whole list has been filtered to just those the intercessor has permission to view.
 void updateStatus(PrayerRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LucenePrayerRequestSearcher

public LucenePrayerRequestSearcher(IndexProvider provider)
Method Detail

index

public void index(PrayerRequest request)
Specified by:
index in interface PrayerRequestSearcher

index

public void index(java.util.Collection prayerRequests)
Specified by:
index in interface PrayerRequestSearcher

search

public java.util.List search(PrayerRequestQuery q)
Description copied from interface: PrayerRequestSearcher
By this point, organizationName has been mapped to a list of users, and the whole list has been filtered to just those the intercessor has permission to view.

Specified by:
search in interface PrayerRequestSearcher

updateStatus

public void updateStatus(PrayerRequest request)
Specified by:
updateStatus in interface PrayerRequestSearcher

delete

public void delete(int docId)
            throws java.io.IOException
Specified by:
delete in interface PrayerRequestSearcher
Throws:
java.io.IOException


Copyright © 2004 Web Commerce Group, LLC. All Rights Reserved.