Package org.jboss.elasticsearch.river.remote.sitemap

Examples of org.jboss.elasticsearch.river.remote.sitemap.AbstractSiteMap


    return new ChangedDocumentsResults(documents, 0, documents.size());
  }

  protected List<Map<String, Object>> processSitemap(HttpResponseContent response, String url) throws Exception {
    AbstractSiteMap asm = sitemapParser.parseSiteMap(response.contentType, response.content, new URL(url));

    if (asm.isIndex()) {
      throw new Exception("Sitemap index format is not supported by this river!");
    }

    SiteMap sm = (SiteMap) asm;
View Full Code Here


    return new ChangedDocumentsResults(documents, 0, documents.size());
  }

  protected List<Map<String, Object>> processSitemap(HttpResponseContent response, String url) throws Exception {
    AbstractSiteMap asm = sitemapParser.parseSiteMap(response.contentType, response.content, new URL(url));

    if (asm.isIndex()) {
      throw new Exception("Sitemap index format is not supported by this river!");
    }

    SiteMap sm = (SiteMap) asm;
View Full Code Here

TOP

Related Classes of org.jboss.elasticsearch.river.remote.sitemap.AbstractSiteMap

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.