Package org.jzkit.search

Examples of org.jzkit.search.SearchSessionFactory


    // has to be called first. Other methods
    //checkMandatoryParams(params, mandatoryEXPL);


    SearchSessionFactory search_session_factory = getSearchSession(context);
    ExplainInformationDTO explain = search_session_factory.explain();


    Hashtable<String, Boolean> seenContextSets = new Hashtable<String, Boolean>();

    Element response = new Element(Jeeves.Elem.RESPONSE);
View Full Code Here


      DefaultContextSetCQLString model =  new DefaultContextSetCQLString(query, "geo", "cql", "geo");
      // we assume that all incoming queries are from the geo (attributes,structure) and cql (relation) context sets
      // if we set this to false we have to write a crosswalk for bib-1,dc....
      //model.setForceContextSet(true);

      SearchSessionFactory search_session_factory = getSearchSession(context);


            if(Log.isDebugEnabled(Geonet.SRU))
                Log.debug(Geonet.SRU,"Calling search_session_factory.getResultsPageFor");
      StatelessSearchResultsPageDTO result = search_session_factory.getResultsPageFor(null,
          model,
          landscape,
          first_record,
          num_hits_per_page,
          request_spec,
View Full Code Here

TOP

Related Classes of org.jzkit.search.SearchSessionFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.