We're moving the community discussions to github.com/appbaseio/reactivesearch/discussions.
mohdashraf010897 on data-search-multiselect
fix(web): add removeComponent m… (compare)
mohdashraf010897 on data-search-multiselect
fix(web): update snapshots and … (compare)
mohdashraf010897 on data-search-multiselect
refactor(web): SearchBox compon… (compare)
Hello there
How can I customize the single list component without changing its behaviour?
I set my query to return nested aggregations and I want to use those aggregations as labels without changing the key.
I;m working with Vue. I tried doing the "slot" thing but it messes up some of the default behaviour of the component.
Hello everyone,
I hope you are all doing well.
We are having a critical issue which prevents us from using the ReactiveList object.
We are trying to render an object res.demandes which contains an array of objects.
When using {res.demandes[0].ccam}, this works and the object is correctly rendered.
However, we would like to print the entire list (res.demandes[0].ccam, res.demandes[1].ccam, res.demandes[2].ccam etc....), but as the length of the list differs depending on each item, we are not able to print the dynamic lis.
When using {res.demandes}, the computer crashes :(
Example working:
<ReactiveList
componentId="SearchResult"
size={100}
react={{
and: ['NUMDOS', 'SearchResult', 'RechercheApp']
}}
renderItem={(res) =>
<div>
Patient :{res.numdos}
<br></br>Sexe : {res.sexe}
<br></br>Liste: {res.demandes.ccam)
<br></br>
<ButtonGroup aria-label="Basic example">
<Button variant="success" onClick={this.Ajouter_tout_au_panier.bind(res)} >Ajouter la sélection à la liste</Button>
</ButtonGroup>
<br></br>
</div>
}
/>
Example crashing:
<ReactiveList
componentId="SearchResult"
size={100}
react={{
and: ['NUMDOS', 'SearchResult', 'RechercheApp']
}}
renderItem={(res) =>
<div>
Patient :{res.numdos}
<br></br>Sexe : {res.sexe}
<br></br>Liste: {res.demandes)
<br></br>
<ButtonGroup aria-label="Basic example">
<Button variant="success" onClick={this.Ajouter_tout_au_panier.bind(res)} >Ajouter la sélection à la liste</Button>
</ButtonGroup>
<br></br>
</div>
}
/>
Could you please let us know if there is any workaround and how we could move forward?
Thank you very much,
Benoit
MultiLists
where we want to use queryFormat="or”
. We think this would make most sense to the user if all items were initially selected (rather than having “no categories selected” meaning “select all categories”). Is there a way to facilitate this?
and
conjunction of several MultiList
s with queryFormat="or”
:Hello Everyone,
we are having problem in using GeoDistanceSlider(https://docs.appbase.io/docs/reactivesearch/v3/map/geodistanceslider/) in my react application.
Actually we have the requirement to implement the geo distance search. Please consider this scenerio:
Can anyone help me on this, like how we can achieve it..
Thanks
Important Note: We are using the react as the framework and using reactivesearch component to build search interface like ReactiveList, Multilist etc
Hello Everyone,
we are having problem in using GeoDistanceSlider(https://docs.appbase.io/docs/reactivesearch/v3/map/geodistanceslider/) in my react application.
Actually we have the requirement to implement the geo distance search. Please consider this scenerio:
- We have a list of jobs in multiple locations "Montréal" etc.
- We have Multilist available for Locations on the UI.
- Then if we select any location let's say "Montréal".
- Then we also want to filter jobs in 25Km radius from "Montréal".
Can anyone help me on this, like how we can achieve it..
Thanks
Important Note: We are using the react as the framework and using reactivesearch component to build search interface like ReactiveList, Multilist etc
Any update here guys ?
suffix
https://github.com/appbaseio/searchbox/blob/2a8fce54ef90892bddfd2ba8945e3f2f0d5cb505/packages/searchbase/src/SearchComponent.js#L949
xpack.security.enabled
(which is free since may 2019) in your Elasticsearch configuration file. Set a password with bin/elasticsearch-setup-passwords interactive
and configure those credentials in the Kibana config and create a user with a read only privilege. Use the credentials of the read only user in the url you set in the reactive base.
react
prop on the list, see: https://docs.appbase.io/docs/reactivesearch/v3/advanced/reactprop/
Hi there. I'm looking to create a filterable list, essentially a "SingleDropdownList" but I am looking to allow the user to type to filter the list...
I have started implementing this but thought perhaps it's worth asking here before I get too deep in. It feels like something that someone else would have already solved...
Is anyone aware of any examples that do this already?
Due to limitations with the gitter's interface (lack of search/threading), we're moving the discussions to https://github.com/appbaseio/reactivesearch/discussions. This should help us with:
Hope to see y'all over there 👋
{"preference":"searchbox"}{"query":{"bool":{"must":[{"bool":{"must":{"bool":{"should":[{"multi_match":{"query":"asa","fields":["original_title","authors"],"type":"best_fields","operator":"or","fuzziness":0}},{"multi_match":{"query":"asa","fields":["original_title","authors"],"type":"phrase_prefix","operator":"or"}}],"minimum_should_match":"1"}}}}]}},"size":20}
Were you able to solve this? I can't find a way to remove the preference key, or move into the query. It appears my backend does not accept multiple top level objects.
GET CollectionV1/_search
{"preference":"searchbox"} {"query":{"bool":{"must":[{"bool":{"must":{"bool":{"should":[{"multi_match":{"query":"t","fields":["IndiceName^1"],"type":"best_fields","operator":"or","fuzziness":0}},{"multi_match":{"query":"t","fields":["IndiceName^1"],"type":"phrase","operator":"or"}},{"multi_match":{"query":"t","fields":["IndiceName^1"],"type":"phrase_prefix","operator":"or"}}],"minimum_should_match":"1"}}}}]}},"size":10,"_source":{"includes":["*"],"excludes":[]}}
"error" : {
"root_cause" : [
{
"type" : "parsing_exception",
"reason" : "Unknown key for a VALUE_STRING in [preference].",
"line" : 1,
"col" : 15
}
],
"type" : "parsing_exception",
"reason" : "Unknown key for a VALUE_STRING in [preference].",
"line" : 1,
"col" : 15
},
"status" : 400
}
I have an issue with your mappings here
Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [option_text_color] in order to load field data by uninverting the inverted index. Note that this can use significant memory.