graphene-elastic
latest
  • graphene-elastic
    • Prerequisites
    • Main features and highlights
    • Demo
    • Documentation
    • Installation
    • Examples
    • Road-map
    • Testing
    • Debugging
    • Writing documentation
    • License
    • Support
    • Author
    • Project documentation
      • Concepts
      • Quick start
      • Search
      • Filtering
      • Post-filter backend
      • Ordering
      • Highlight
      • Source
      • Score
      • Faceted search
      • Query string backend
      • Simple query string backend
      • Pagination
      • Custom filter backends
      • Settings
      • Running Elasticsearch
      • FAQ
      • Debugging
      • Release history and notes
      • graphene_elastic package
    • Indices and tables
  • Concepts
  • Quick start
  • Search
  • Filtering
  • Post-filter backend
  • Ordering
  • Highlight
  • Source
  • Score
  • Faceted search
  • Query string backend
  • Simple query string backend
  • Pagination
  • Custom filter backends
  • Settings
  • Running Elasticsearch
  • FAQ
  • Debugging
  • Release history and notes
  • graphene_elastic package
graphene-elastic
  • Docs »
  • Search
  • Edit on GitHub

SearchΒΆ

Search in all fields:

query {
  allPostDocuments(
    search:{query:"Release Box"}
  ) {
    edges {
      node {
        category
        title
        content
      }
    }
  }
}

Search in specific fields:

query {
  allPostDocuments(
    search:{
        title:{value:"Release", boost:2},
        content:{value:"Box"}
    }
  ) {
    edges {
      node {
        category
        title
        content
      }
    }
  }
}
Next Previous

© Copyright 2019-2022 Artur Barseghyan Revision 074a4e69.

Built with Sphinx using a theme provided by Read the Docs.