Version 1 (modified by sauermann, 18 years ago) (diff) |
---|
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()); }