Package org.jzkit.search

Examples of org.jzkit.search.LandscapeSpecification


      // 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

TOP

Related Classes of org.jzkit.search.LandscapeSpecification

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.