wiki:GnowsisSearch

GnowsisSearch

Search the resource-storage and the pimo-storage united.

Use this to find resources and things, based on Lucene-style text queries.

Usage:

GnowsisSearch s = Gnowsis.getGnowsisSearch();
SearchResult result = s.doFulltextSearchQuery("hello");
// iterate through uri/label/type returned inside the tags.
Iterator<SearchHit> it = result.getResults();
while (it.hasNext())
{
  SearchHit hit = it.next();
  System.out.println("found resource or thing: " + hit.getUri() + " of type: "+ hig.getClassUri());
}
Last modified 11 years ago Last modified on 06/01/06 11:23:50