public class LuceneDocumentMatchers extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LuceneDocumentMatchers.DocumentFieldMatcher |
static class |
LuceneDocumentMatchers.FieldHasBytesRefValue |
static class |
LuceneDocumentMatchers.FieldHasDimensions |
static class |
LuceneDocumentMatchers.FieldHasLongValue |
static class |
LuceneDocumentMatchers.FieldHasName |
static class |
LuceneDocumentMatchers.FieldHasStoredValue |
static class |
LuceneDocumentMatchers.FieldHasStringValue |
Constructor and Description |
---|
LuceneDocumentMatchers() |
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)
public static LuceneDocumentMatchers.FieldHasStoredValue fieldHasStoredValue()
public static LuceneDocumentMatchers.FieldHasName fieldHasName(String expectedFieldName)
public static LuceneDocumentMatchers.FieldHasDimensions fieldHasDimensions(int expectedDimensionCount)
Copyright © 2002-2021 Atlassian. All Rights Reserved.