Package org.olat.modules.webFeed.search.document

Examples of org.olat.modules.webFeed.search.document.FeedNodeDocument


      SearchResourceContext nodeSearchContext = new SearchResourceContext(searchResourceContext);
      nodeSearchContext.setBusinessControlFor(node);
      nodeSearchContext.setDocumentType(getDocumentType());

      // Create the olatDocument for the feed course node itself
      OlatDocument feedNodeDoc = new FeedNodeDocument(feed, nodeSearchContext);
      indexer.addDocument(feedNodeDoc.getLuceneDocument());
     
      // Make sure images are displayed properly
      String mapperBaseURL = Path.getFeedBaseUri(feed, null, course.getResourceableId(), node.getIdent());
      Filter mediaUrlFilter = FilterFactory.getBaseURLToMediaRelativeURLFilter(mapperBaseURL);
View Full Code Here

TOP

Related Classes of org.olat.modules.webFeed.search.document.FeedNodeDocument

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.