Java Doc for SearchService.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » search » api » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.search.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.search.api.SearchService

All known Subclasses:   org.sakaiproject.search.component.service.impl.SearchServiceImpl,
SearchService
public interface SearchService extends Diagnosable(Code)
Provides a search interface
author:
   ieb


Field Summary
final public static  StringDATE_STAMP
    
final public static  StringEVENT_SEARCH
    
final public static  StringEVENT_SEARCH_REF
    
final public static  StringEVENT_TRIGGER_INDEX_RELOAD
    
final public static  StringEVENT_TRIGGER_SEARCH
    
final public static  StringFIELD_CONTAINER
    
final public static  StringFIELD_CONTENTS
    
final public static  StringFIELD_CONTEXT
    
final public static  StringFIELD_ID
    
final public static  StringFIELD_REFERENCE
    
final public static  StringFIELD_SITEID
    
final public static  StringFIELD_SUBTYPE
    
final public static  StringFIELD_TITLE
    
final public static  StringFIELD_TOOL
    
final public static  StringFIELD_TYPE
    
final public static  StringFIELD_URL
    
final public static  StringREST_CHECKSUM
    
final public static  StringREST_CONTEXTS
    
final public static  StringREST_END
    
final public static  StringREST_START
    
final public static  StringREST_TERMS
    
final public static  StringREST_USERID
    


Method Summary
 voidforceReload()
    
 ListgetAllSearchItems()
    
 ListgetGlobalMasterSearchItems()
    
 intgetNDocs()
    
 intgetPendingDocs()
    
 SearchStatusgetSearchStatus()
    
 ListgetSegmentInfo()
    
 ListgetSiteMasterSearchItems()
    
 StringgetStatus()
    
 TermFrequencygetTerms(int documentId)
    
 voidrebuildInstance()
    
 voidrebuildSite(String currentSiteId)
    
 voidrefreshInstance()
    
 voidrefreshSite(String currentSiteId)
    
 voidregisterFunction(String function)
     Adds a function for the SearchService to respond to and route to the index builder.
 voidreload()
    
 booleanremoveWorkerLock()
    
 SearchListsearch(String searchTerms, List contexts, int searchStart, int searchEnd)
     Perform a search, return results in a list.
public  SearchListsearch(String searchTerms, List contexts, int start, int end, String filterName, String sorterName)
    
 StringsearchXML(Map parameterMap)
    

Field Detail
DATE_STAMP
final public static String DATE_STAMP(Code)



EVENT_SEARCH
final public static String EVENT_SEARCH(Code)



EVENT_SEARCH_REF
final public static String EVENT_SEARCH_REF(Code)



EVENT_TRIGGER_INDEX_RELOAD
final public static String EVENT_TRIGGER_INDEX_RELOAD(Code)
event to trigger a reload of the search index by query nodes



EVENT_TRIGGER_SEARCH
final public static String EVENT_TRIGGER_SEARCH(Code)
event to trigger an update of the index sent from Search Service to index builders



FIELD_CONTAINER
final public static String FIELD_CONTAINER(Code)
Search Field the container of the entity



FIELD_CONTENTS
final public static String FIELD_CONTENTS(Code)
Searhc Field (term vector, not full contents) The contents of the Entity



FIELD_CONTEXT
final public static String FIELD_CONTEXT(Code)
Search Field The context of the Entity



FIELD_ID
final public static String FIELD_ID(Code)
Search Field The Sakai id of the entity



FIELD_REFERENCE
final public static String FIELD_REFERENCE(Code)
Search field The reference of the entity



FIELD_SITEID
final public static String FIELD_SITEID(Code)
Search Index Field the site id of the entity ( where is was produced)



FIELD_SUBTYPE
final public static String FIELD_SUBTYPE(Code)
Search Field The tool subtype of the entity



FIELD_TITLE
final public static String FIELD_TITLE(Code)
Seadch Field The title of the entity



FIELD_TOOL
final public static String FIELD_TOOL(Code)
Search Field The Name of the Tool that owns the entity



FIELD_TYPE
final public static String FIELD_TYPE(Code)
Search Field The tool type of the entity



FIELD_URL
final public static String FIELD_URL(Code)
Search Index Field the url to the entity



REST_CHECKSUM
final public static String REST_CHECKSUM(Code)



REST_CONTEXTS
final public static String REST_CONTEXTS(Code)



REST_END
final public static String REST_END(Code)



REST_START
final public static String REST_START(Code)



REST_TERMS
final public static String REST_TERMS(Code)



REST_USERID
final public static String REST_USERID(Code)





Method Detail
forceReload
void forceReload()(Code)
Force a reload regardless of if the index has changed



getAllSearchItems
List getAllSearchItems()(Code)
get all the search items in the index (must be a lazy load list)



getGlobalMasterSearchItems
List getGlobalMasterSearchItems()(Code)
get the global master items



getNDocs
int getNDocs()(Code)
get the number of documents in the search index



getPendingDocs
int getPendingDocs()(Code)
get the number of pending documents in the search index



getSearchStatus
SearchStatus getSearchStatus()(Code)
Get the status of the search engine



getSegmentInfo
List getSegmentInfo()(Code)



getSiteMasterSearchItems
List getSiteMasterSearchItems()(Code)
get the master itemf to sthe site



getStatus
String getStatus()(Code)
get the status of the search service



getTerms
TermFrequency getTerms(int documentId) throws IOException(Code)
get the term vector for this document, where document is the
Parameters:
  doc -
throws:
  IOException -



rebuildInstance
void rebuildInstance()(Code)
trigger a rebuild of the whole index



rebuildSite
void rebuildSite(String currentSiteId)(Code)
rebuild the current site only
Parameters:
  currentSiteId -



refreshInstance
void refreshInstance()(Code)
Trigger an refresh of the whole index



refreshSite
void refreshSite(String currentSiteId)(Code)
Refresh the current site only
Parameters:
  currentSiteId -



registerFunction
void registerFunction(String function)(Code)
Adds a function for the SearchService to respond to and route to the index builder. EntityProducers that want their content to be searched, should register the events that indicate new data to this
Parameters:
  function -



reload
void reload()(Code)
When reload is called, the index should be reloaded



removeWorkerLock
boolean removeWorkerLock()(Code)
force the removal of the worker lock



search
SearchList search(String searchTerms, List contexts, int searchStart, int searchEnd)(Code)
Perform a search, return results in a list.
Parameters:
  searchTerms - the search terms
Parameters:
  contexts - a list of contexts in which to perform the search
Parameters:
  searchEnd -
Parameters:
  searchStart -



search
public SearchList search(String searchTerms, List contexts, int start, int end, String filterName, String sorterName)(Code)
This is the same as standard search, but the caller can specify, by name, the index Filter and the index Sorter by name The Sorter and the Filter will be consulted during the search, and hence should not make massive demands on the framework, otherwise they will cripple the search performance
Parameters:
  searchTerms - A search string
Parameters:
  contexts - A list of contexts
Parameters:
  start - starting from
Parameters:
  end - ending at
Parameters:
  filterName - a lucene filter
Parameters:
  sorterName - a lucene sorter



searchXML
String searchXML(Map parameterMap)(Code)
generates a block of XML representign the search results
Parameters:
  parameterMap -



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.