Package org.jzkit.search.util

Examples of org.jzkit.search.util.QueryModel


    log.debug("getResultsPageFor (Landscape Str):"+landscape_str+" mt:"+model_type+" qs:"+query_string+" ds:"+display_spec+" rfs:"+rfs);

    StatelessSearchResultsPageDTO result = null;
    CachedSearchSession cached_search_session = null;
    QueryModel model = null;
    String qryid = landscape_str+":"+query_string;

     // If we have been given a result set ID
    if ( result_set_id != null ) {
      log.debug("got result set id "+result_set_id);
View Full Code Here


    // Here we need to get an instance of CQLQuery.. So if thats not what we have been passed,
    // this is the place to create one.
    log.fine("Class of IRQuery: "+q.getQueryModel().getClass().getName());

    CQLString cql_string = null;
    QueryModel qm = q.getQueryModel();

    if ( qm instanceof CQLString )
      cql_string = (CQLString)qm;
    else
      cql_string = CQLBuilder.buildFrom(qm, ctx);
View Full Code Here

              // Is there a profile to try and apply for this repository?
              if ( subq == null ) {
                String profile_name = service_id.substring(service_id.lastIndexOf(':')+1,service_id.length());

                QueryModel adapted_query_model = null;

                if ( ( profile_name != null ) && ( !profile_name.equals("null") ) && ( profile_name.length() > 0 ) ) {
                  log.debug("Processing profile "+profile_name);
 
                  // This is where we call the query rewrite service to make a query conformant to the profile needed
View Full Code Here

TOP

Related Classes of org.jzkit.search.util.QueryModel

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.