Package org.wijiscommons.ssaf.schema.search

Examples of org.wijiscommons.ssaf.schema.search.PointerItem


            List<PointerItem> pointerItemList = pointerItems.getPointerItem();
           
            // Get Pointer Items and add to SolrInputDocument
            for (int i = 0; i < pointerItemList.size(); i++)
            {
              PointerItem pointerItem = pointerItemList.get(i);
             
              if (pointerItem != null && (pointerItem.isIndexed()!=null && pointerItem.isIndexed() ))
              {
                if ((pointerItem.getPointerValue() != null) && (pointerItem.getPointerName() != null)) {
                  doc.addField("stash-content", pointerItem.getPointerName().toLowerCase().replace(' ', '_')+"_"+pointerItem.getPointerValue().toLowerCase().replace(' ', '_'));
                } else {
                  if ( (pointerItem.getPointerBase64Value() != null) ||
                      (pointerItem.getPointerHexValue() != null) ||
                          (pointerItem.getPointerUriValue() != null)
                     )
                  {
                    throw new SSAFSolrException();
                  }
                }
View Full Code Here

TOP

Related Classes of org.wijiscommons.ssaf.schema.search.PointerItem

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.