예제 #1
0
 @Test
 public void FuzzyLike_with_Similarity_and_prefix() throws Exception {
   testQuery(LuceneExpressions.fuzzyLike(rating, "Good", 0.6f, 0), "rating:Good~0.6", 1);
 }
예제 #2
0
 @Test
 public void FuzzyLike() throws Exception {
   testQuery(LuceneExpressions.fuzzyLike(rating, "Good"), "rating:Good~0.5", 1);
 }