org.hibernate.search.query.dsl

## Interface MoreLikeThisMatchingContext

- All Known Subinterfaces:
    MoreLikeThisOpenedMatchingContext, MoreLikeThisTerminalMatchingContext
  All Known Implementing Classes:
    ConnectedMoreLikeThisMatchingContext

      public interface MoreLikeThisMatchingContext

  Super interface offering the way to provide the matching content as well as customize the preceding field. Sub interfaces are expected to clarify whether additional fields can be set.
  Author:
    Emmanuel Bernard <emmanuel@hibernate.org>

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `MoreLikeThisToEntityContentAndTermination` | `toEntity(Object entity)`
    `MoreLikeThisTermination` | `toEntityWithId(Object id)` Find other entities looking like the entity with the given id.

- - ### Method Detail

    - #### toEntityWithId

          MoreLikeThisTermination toEntityWithId(Object id)

      Find other entities looking like the entity with the given id. Only the selected fields will be used for comparison.
      Parameters:
        `id` - the identifier of the entity
      Returns:
        `this` for method chaining

    - #### toEntity

          MoreLikeThisToEntityContentAndTermination toEntity(Object entity)

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved