Package org.jzkit.search.landscape

Examples of org.jzkit.search.landscape.SimpleLandscapeSpecification


      // TODO: would be nice to move this to init method but I dont know where to get the context from there..

      // not supported by Geonetwork modules URL layout schema
      // TODO: collections could also be mapped to GeoNetwork categories?
      LandscapeSpecification landscape = new SimpleLandscapeSpecification("geonetwork");

      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);
View Full Code Here


    QueryModel qm = new PrefixString(query);

    // get hold of JZKit SearchSession
    StatelessQueryService sqs = getQueryService(srvContext);

    LandscapeSpecification landscape = new SimpleLandscapeSpecification( collection_ids );
    ExplicitRecordFormatSpecification exp = null;

        if(Log.isDebugEnabled(Geonet.SEARCH_ENGINE))
            Log.debug(Geonet.SEARCH_ENGINE, "Starting remote search");
View Full Code Here

    QueryModel qm = new org.jzkit.z3950.QueryModel.Type1QueryModel((RPNQuery_type)(bsr.query.o));

    try {
      StatelessQueryService sqs = (StatelessQueryService) ctx.getBean("StatelessQueryService");
      String query_id = null;
      LandscapeSpecification landscape = new SimpleLandscapeSpecification(bsr.database_names);
      ExplicitRecordFormatSpecification exp = null;

      StatelessSearchResultsPageDTO res = sqs.getResultsPageFor(query_id,
                                                                qm,
                                                                landscape,
View Full Code Here

TOP

Related Classes of org.jzkit.search.landscape.SimpleLandscapeSpecification

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.