public class LuceneDocumentMatchers extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LuceneDocumentMatchers.DocumentFieldMatcher |
static class |
LuceneDocumentMatchers.FieldHasBytesRefValue |
static class |
LuceneDocumentMatchers.FieldHasLongValue |
static class |
LuceneDocumentMatchers.FieldHasStringValue |
Constructor and Description |
---|
LuceneDocumentMatchers() |
Modifier and Type | Method and Description |
---|---|
static LuceneDocumentMatchers.FieldHasBytesRefValue |
fieldHasBytesRefValue(org.hamcrest.Matcher<? super org.apache.lucene.util.BytesRef> bytesRefValueMatcher) |
static LuceneDocumentMatchers.FieldHasLongValue |
fieldHasLongValue(org.hamcrest.Matcher<? super Long> numberValueMatcher) |
static LuceneDocumentMatchers.FieldHasStringValue |
fieldHasStringValue(org.hamcrest.Matcher<? super String> stringValueMatcher) |
static LuceneDocumentMatchers.DocumentFieldMatcher |
hasFieldThat(String fieldName,
org.hamcrest.Matcher<org.apache.lucene.index.IndexableField> expectedValue) |
static LuceneDocumentMatchers.DocumentFieldMatcher |
hasStringField(String fieldName,
String expectedValue) |
public static LuceneDocumentMatchers.FieldHasStringValue fieldHasStringValue(org.hamcrest.Matcher<? super String> stringValueMatcher)
public static LuceneDocumentMatchers.FieldHasBytesRefValue fieldHasBytesRefValue(org.hamcrest.Matcher<? super org.apache.lucene.util.BytesRef> bytesRefValueMatcher)
public static LuceneDocumentMatchers.FieldHasLongValue fieldHasLongValue(org.hamcrest.Matcher<? super Long> numberValueMatcher)
public static LuceneDocumentMatchers.DocumentFieldMatcher hasFieldThat(String fieldName, org.hamcrest.Matcher<org.apache.lucene.index.IndexableField> expectedValue)
public static LuceneDocumentMatchers.DocumentFieldMatcher hasStringField(String fieldName, String expectedValue)
Copyright © 2002-2020 Atlassian. All Rights Reserved.