smartprocure / contexture-imdb Goto Github PK
View Code? Open in Web Editor NEWExample application using contexture
Home Page: https://smartprocure.github.io/contexture-imdb/
Example application using contexture
Home Page: https://smartprocure.github.io/contexture-imdb/
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:
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}
Adding a Query
filter for the title
field with value monkey
has no affect on the existing entries that contain the value rabbit
.
searchFacet
does not initially populate facets. If I click "Add Filter" then the list of genres is shown.Creating a range
filter with runtimeMinutes
set from 0
to 10
did not limit the search results appropriately.
Text
filter is missing an input to specify the search text.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.