Example usage for org.springframework.data.solr.core.query Criteria setPartIsOr

List of usage examples for org.springframework.data.solr.core.query Criteria setPartIsOr

Introduction

In this page you can find the example usage for org.springframework.data.solr.core.query Criteria setPartIsOr.

Prototype

public void setPartIsOr(boolean isOr) 

Source Link

Document

Define or nature of Node

Usage

From source file:org.springframework.data.solr.core.query.Criteria.java

@SuppressWarnings("unchecked")
public Crotch or(String fieldname) {
    Criteria node = new Criteria(fieldname);
    node.setPartIsOr(true);
    return or(node);
}