Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 18 17:46
    michaelmior edited #2053
  • Aug 18 17:45
    michaelmior edited #2053
  • Aug 18 17:45
    michaelmior labeled #2053
  • Aug 18 17:45
    michaelmior opened #2053
  • Aug 18 15:17
    siddharthlatest unlabeled #1360
  • Aug 18 15:10
    WGriffing commented #1360
  • Aug 18 15:10
    WGriffing commented #1360
  • Aug 18 15:09
    siddharthlatest reopened #1360
  • Aug 18 15:09
    siddharthlatest assigned #1360
  • Aug 18 15:08
    WGriffing commented #1360
  • Aug 18 05:28
    SavvyShah edited #2052
  • Aug 18 05:24
    SavvyShah edited #2052
  • Aug 18 05:22
    SavvyShah opened #2052
  • Aug 18 04:19
    mohdashraf010897 synchronize #2051
  • Aug 18 04:19

    mohdashraf010897 on data-search-multiselect

    fix(web): add removeComponent m… (compare)

  • Aug 17 17:23
    mohdashraf010897 edited #2051
  • Aug 17 15:31
    mohdashraf010897 synchronize #2051
  • Aug 17 15:31

    mohdashraf010897 on data-search-multiselect

    fix(web): update snapshots and … (compare)

  • Aug 17 15:27
    mohdashraf010897 synchronize #2051
  • Aug 17 15:27

    mohdashraf010897 on data-search-multiselect

    refactor(web): SearchBox compon… (compare)

nsmatharu
@nsmatharu
Hi - point 1 is OK. Still need help with 2 & 3 please.....
peterdebienville
@peterdebienville
Hi - Is it possible to reset the searchbox for a multilist once the user clicks on a checkbox?
RomainSF
@RomainSF
Hi! I really want to remove the "emotion" auto css from the react' reactivesearch, it's becoming unstylable! is there a solution to disable it?
Renaud K
@grobug2000_gitlab
Hello everyone. I'm using ReactiveSearch 3.11.4 (REACT version) on my project, and it works very well.
My problem is that I'm unable to set programatically the page number on the ReactiveList component.
The only thing I know is the page number I want to display, but this component doesn't have a currentPage props.
Is there any way to accomplish this ?
bassam
@bassambarham

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.

bassam
@bassambarham
In other words: How do I get the aggregation along with the label and count in my "renderItem"?
bassam
@bassambarham
So, I managed to use transformData and filled the value in the "count"
But how do I build a date filter with vue? It seems like there is no option for that
Allan Oloo
@aoloo
Has anyone ran into a issue with reactive search when applying a not filter the URL params does not get set?
SergeyRe
@SergeyRe
Datasearch component with autosuggest ( vs Algolia autocomplete) . I tried to search on one letter -then backspace it and try again: no problem with Algolia , no second search with Datasearch. Video attached https://take.ms/dolwh Any comments?
iqbal mohamad
@iqballord_twitter
how to apply default value on singlelist>
novogratz
@novogratz

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

wentaiouyang
@wentaiouyang
hey guys, I have a question about reactive search 'load more' function
I want to load next page by clicking 'load more' button on my website
I notice there is a function called handleLoadMore, but I don't know how to use it..
can someone help me, thank you very much:)
sanjay052020
@sanjay052020
Hi
I have a question about SingleDropdownList.
how can i use?
Joel Nothman
@jnothman
Hi all! I’m new to reactivesearch and very excited by what it’s offering so far. We’ve got 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?
Joel Nothman
@jnothman
Actually we’re finding queryFormat="or" behaviour pretty weird. We feel like it should not make options disappear that are not present in the search results. Is there any way to achieve that?
Here’s the behaviour I’d expect if filtering on the and conjunction of several MultiLists with queryFormat="or”:
  • each MultiList should list the frequency of its values conditioned on the other filters, but regardless of the values selected in that multilist.
Joel Nothman
@jnothman
  • each MultiList should start with all values checked, but as a result of the previous statement, unchecking one should not remove its entry from the MultiList.
Joel Nothman
@jnothman
I’ve worked out that one of our issues was having the component itself in its own react list. Beginner’s mistake.
SinglaAjay
@SinglaAjay

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:

  1. We have a list of jobs in multiple locations "Montréal" etc.
  2. We have Multilist available for Locations on the UI.
  3. Then if we select any location let's say "Montréal".
  4. 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

ayferkrd
@ayferkrd
is NestedMultiList available in v3? I got " not found" error.
SinglaAjay
@SinglaAjay

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:

  1. We have a list of jobs in multiple locations "Montréal" etc.
  2. We have Multilist available for Locations on the UI.
  3. Then if we select any location let's say "Montréal".
  4. 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 ?

Roy Duineveld
@royduin
Is this still the main support platform? Or is there a Slack channel more active somewhere?
harshit rastogi
@hr1383
Hi, I am following the appbase <Searchbase> component , I want to use my own ES URL , which I pass the in the code, but when running the query, the ES URL is appended by _reacitvesearch.v3. This result is 404, how can I change the suffix https://github.com/appbaseio/searchbox/blob/2a8fce54ef90892bddfd2ba8945e3f2f0d5cb505/packages/searchbase/src/SearchComponent.js#L949
kevin sproles
@kevinsproles
Where can I find documentation or examples on using Reactivesearch with your own Elasticsearch instance? The docs say "Any Elasticsearch index hosted on any Elasticsearch cluster." and I'm able to connect to my own fine at localhost:9200 with cors support. I get that. But what about the docs for how to setup your mappings? Obviously the data in your ES index and your mappings must conform to reactivesearch queries so wondering where I can read about how to setup the index & mappings.
Sam Stalner
@sam_stln_gitlab
Hi all! I recently began working with ReactiveSearch in React, and was wondering how to go about configuring my ReactiveBase component to send GET requests as opposed to POST requests? I have an ElasticSearch cluster that is open to the public, but is read-only (POST requests from the public are denied - new documents must go through an accepted API beforehand). I haven’t found any material on GitHub issues except a few closed/stale posts about this question, but I was hoping at least someone in the community had found out how to configure ReactiveBase to send GET requests!
Roy Duineveld
@royduin
Blocking POST requests isn't the way to go, just enable 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.
Sam Stalner
@sam_stln_gitlab
Thanks a bunch for your response, @royduin! That seems like a great idea, but there are a few different ways users are interfacing the ElasticSearch cluster to read (not only from my React app), and putting credentials on reading was something that others were consciously against when they created the cluster. I'm currently thinking of deploying a proxy server that somehow transforms those requests from POST to GET, but I don't have too much experience there. Have you encountered a different way to get around the POST-request-only paradigm from ReactiveSearch?
Roy Duineveld
@royduin
If you're blocking POST requests at the proxy in front of the ES cluster than transforming POST to GET doesn't make any sense as ES needs POST requests to filter data. I don't see why they're against credentials, you're way more flexible with xpack security than by just blocking anything other than GET request. And xpack has support for anonymous users so if others do not want to specify any credentials; just configure that: https://www.elastic.co/guide/en/elasticsearch/reference/current/anonymous-access.html
Sam Stalner
@sam_stln_gitlab
Thanks again @royduin! I'll look into this and see if it's an option we can pursue. Appreciate the help!
Roy Duineveld
@royduin
You have to play around with the react prop on the list, see: https://docs.appbase.io/docs/reactivesearch/v3/advanced/reactprop/
benevolo
@Kizo-blockchain
hi would like to change language in components
Vaughan Sharman
@vaughansharman

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?

Vaughan Sharman
@vaughansharman
I found it! It is the "showSearch" option
Shaw
@shaw-wong
Hi, there. I am trying to configure a GeoDistanceSlider component for my ReactiveOpenStreetMap. However, the location search panel does not pop up with an auto suggestion address nor respond to the full address that I manually entered. I am using v3.0.0-beta.11 for reactivemaps and v3.13.1 for reactivesearch. Could you please suggest?
Siddharth Kothari
@siddharthlatest

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:

  • Improved search experience for past discussions,
  • Surface more relevant discussions to the top,
  • Categorize questions into topics.

Hope to see y'all over there 👋

Ashish Tomar
@ashish.jaarvis_gitlab
Hi There, I have used multilist and if I applied filter then unrelated filters are gone. I want to keep them with disabled feature. Anyone?
Rob
@robsilva

{"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
}

felix2300
@felix2300
Hello guys how can i make an new line in an ResultCard.Description?
"\n" doesnt work
felix2300
@felix2300
Fixed that trough the usage of <p>{}</p>
Cường Cuội
@cuongvu164
hello guy

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.

image (1).png
Cường Cuội
@cuongvu164
help me pls :(