Class SolrRequestConverter

java.lang.Object
org.apache.camel.component.solr.converter.SolrRequestConverter

@Converter(generateLoader=true) public final class SolrRequestConverter extends Object
  • Field Details

  • Method Details

    • createSolrPing

      @Converter public static org.apache.solr.client.solrj.request.SolrPing createSolrPing(Object body, org.apache.camel.Exchange exchange)
    • createQueryRequest

      @Converter public static org.apache.solr.client.solrj.request.QueryRequest createQueryRequest(Object body, org.apache.camel.Exchange exchange)
    • isUseContentStreamUpdateRequest

      public static boolean isUseContentStreamUpdateRequest(SolrProducer.ActionContext ctx)
    • createContentStreamUpdateRequest

      @Converter public static org.apache.solr.client.solrj.request.ContentStreamUpdateRequest createContentStreamUpdateRequest(Object body, org.apache.camel.Exchange exchange) throws org.apache.camel.NoTypeConversionAvailableException
      Throws:
      org.apache.camel.NoTypeConversionAvailableException
    • createUpdateRequest

      @Converter public static org.apache.solr.client.solrj.request.UpdateRequest createUpdateRequest(Object body, org.apache.camel.Exchange exchange) throws org.apache.camel.NoTypeConversionAvailableException
      Throws:
      org.apache.camel.NoTypeConversionAvailableException