Package org.springframework.data.solr.core.QueryParserBase

Examples of org.springframework.data.solr.core.QueryParserBase.WildcardProcessor


  }

  @SuppressWarnings("rawtypes")
  @Test
  public void testWildcardProcessorCanProcess() {
    WildcardProcessor processor = this.parser.new WildcardProcessor();
    Assert.assertTrue(processor.canProcess(new Predicate(OperationKey.STARTS_WITH, SOME_VALUE)));
    Assert.assertTrue(processor.canProcess(new Predicate(OperationKey.ENDS_WITH, SOME_VALUE)));
    Assert.assertTrue(processor.canProcess(new Predicate(OperationKey.CONTAINS, SOME_VALUE)));
    assertProcessorCannotProcessInvalidOrNullOperationKey(processor);
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.solr.core.QueryParserBase.WildcardProcessor

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.