Changes between Initial Version and Version 1 of GnowsisSearch


Ignore:
Timestamp:
06/01/06 11:23:50 (18 years ago)
Author:
sauermann
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GnowsisSearch

    v1 v1  
     1= GnowsisSearch = 
     2 
     3Search the resource-storage and the pimo-storage united. 
     4 
     5Use this to find resources and things, based on Lucene-style text queries. 
     6 
     7Usage: 
     8{{{  
     9GnowsisSearch s = Gnowsis.getGnowsisSearch(); 
     10SearchResult result = s.doFulltextSearchQuery("hello"); 
     11// iterate through uri/label/type returned inside the tags. 
     12Iterator<SearchHit> it = result.getResults(); 
     13while (it.hasNext()) 
     14{ 
     15  SearchHit hit = it.next(); 
     16  System.out.println("found resource or thing: " + hit.getUri() + " of type: "+ hig.getClassUri()); 
     17} 
     18}}}