Giter VIP home page Giter VIP logo

contexture-imdb's People

Contributors

daedalus28 avatar sadasant avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

contexture-imdb's Issues

Error while running facet search

Having a contexture search query with the following:

{
  path: 'root->searchRoot->73sbqp',
  type: 'facet',
  key: '73sbqp',
  field: 'title',
  data: {
    fieldMode: 'word'
  },
  context: {
    options: []
  }
}

Produces the following search query:

screen shot 2017-12-11 at 3 34 22 pm

Which causes the following error when it runs against our copy of the IMDB records:

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [title] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"movies","node":"T9hTBufaQF270HDMvdJxDg","reason":{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [title] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."}}]},"status":400}

No results initially

  • searchFacet does not initially populate facets. If I click "Add Filter" then the list of genres is shown.
  • There are no search results until I do the above.

Range not working

Creating a range filter with runtimeMinutes set from 0 to 10 did not limit the search results appropriately.

Viewing Records Incorrect Sometimes

I was able to pretty easily get a result where the it said:

Viewing records 1 - 3 out of 3

but there were actually 8 records shown below.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.