by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 20 23:09
    stale[bot] labeled #1328
  • Sep 20 23:09
    stale[bot] commented #1328
  • Sep 15 11:46
    hansendx commented #1501
  • Sep 14 20:58
    adamjarling opened #1547
  • Sep 14 20:58
    adamjarling labeled #1547
  • Sep 14 11:54
    hansendx edited #1501
  • Sep 14 09:13

    release-drafter[bot] on v1.7.6-vue

    (compare)

  • Sep 14 09:04

    bietkul on next

    fix(vue): innerRef prop for Dat… build(vue): v1.7.6 (compare)

  • Sep 13 16:29
    stale[bot] labeled #1386
  • Sep 13 16:29
    stale[bot] commented #1386
  • Sep 12 18:37
    scotthooker commented #1511
  • Sep 11 16:39
    vijaygenius123 commented #1537
  • Sep 11 16:38
    vijaygenius123 closed #1537
  • Sep 11 01:54
    embpdaniel labeled #1546
  • Sep 11 01:54
    embpdaniel opened #1546
  • Sep 09 20:17
    bietkul unlabeled #1362
  • Sep 09 20:15
    stale[bot] closed #1362
  • Sep 09 12:29

    dependabot[bot] on npm_and_yarn

    (compare)

  • Sep 09 12:29

    dependabot[bot] on npm_and_yarn

    (compare)

  • Sep 09 12:29

    bietkul on next

    build(deps): bump http-proxy in… (compare)

praveenturai
@praveenturai
Hi guys, i have couple of questions 1) how do we implement ontype search with reactivesearch by using url parameters(i.e, elasticsearch is deployed on a server), 2) how do we implement CURD operations.
Erwann Mest
@kud
I would like to create a component to reset every filters/ other components and I don't know how to do that.
I'm trying to use setQuery({}) but it doesn't work
mmt
@mtarinalfatec
Hi
How to solve next error then 'yarn start' thanks

The react-scripts package provided by Create React App requires a dependency:

"webpack": "4.41.5"

Don't try to install it manually: your package manager does it automatically.
However, a different version of webpack was detected higher up in the tree:

C:\Users\mtarin\Documents\www\buscador1\node_modules\webpack (version: 4.41.2)

Manually installing incompatible versions is known to cause hard-to-debug issues.

mmt
@mtarinalfatec
anybody out there?
George Butter
@ButsAndCats

Hey, :wave: Does anyone know if the stream prop on ReactiveList works with elasticsearch apps that are not hosted as an appbase instance?

Having issues getting setup. Currently getting ssl protocol errors when it tries to connect to wss.

Erwann Mest
@kud
I've got exactly the same question @ButsAndCats
:)
But I think that stream only works on appbase because it uses websockets
maybe if you deploy your own websocket support it could work but i'm not sure
trongquyvn
@trongquyvn

Hello everybody, i'm newbie and using ReactiveGoogleMap. I have a issue that

When i set option defaultQuery in props
defaultQuery: () => ({ sort: sortQuery })
After that: i move on the map, the response of in 'renderAllData function' always is ten records. No matter where in the map.

can you help me?

stonesthatwhisper
@stonesthatwhisper
I want to toggle a Drawer when a ResultCard is clicked, like what Google Image Search's side panel. But ResultCard has no onClick prop. I added an <a> as the child of the ResultCard, then keep getting this warning: Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.
How is it supposed to be done? Thanks!
(Functionally, <a> seems working as expected. I wonder what's the correct way to do this).
My current work-around is like this:
<ReactiveList.ResultCardsWrapper>
                      {data.map((item) => (
                        <ResultCard key={item._id}>
                          <a href="...">
                             <ResultCard.Image .../>
                             <ResultCard.Description .../>
                          </a>
                        </ResultCard>))
                       }
</ReactiveList.ResultCardsWrapper>
ikewabo
@ikewabo
@ButsAndCats ... I'm stuck in the same boat - wss://..* auth failure. Spent millions of seconds to no avail. It is related to streaming and affects only ReactiveGoogleMap in my case. I turned off streaming in the component - however - the issue persist. I wonder if there is a paid workaround as I'm not at liberty to route through external domain links. I here mention of setting up your own elasticsearch websocket plugin, but can Appbase.io give a hint of how they overcame this issue or mod the ReactiveGoogleMap component so that it will respect the no-streaming setting?
SergeyRe
@SergeyRe

I would like to make request to range datatype field

GET range_index/_search
{
  "query" : {
    "term" : {
      "expected_attendees" : {
        "value": 12
      }
    }
  }
}

How to realize it via Data<DataSearch> and Custom Query ?

stonesthatwhisper
@stonesthatwhisper

Can we customize SingleDropdownList's defaultQuery in typescript? I am getting a TypeError: props.setDefaultQuery is not a function:

TypeError: props.setDefaultQuery is not a function
    at updateDefaultQuery 
(/app/node_modules/
appbaseio/reactivecore/lib/utils/helper.js:1:2246
    at updateInternalQuery 
(/app/node_modules/
appbaseio/reactivecore/lib/utils/helper.js:1:11953
    at SingleDropdownList.updateDefaultQuery (/app/node_modules/
appbaseio/reactivesearch/lib/components/list/SingleDropdownList.js:375:35
    at SingleDropdownList.updateQueryOptions (/app/node_modules/
appbaseio/reactivesearch/lib/components/list/SingleDropdownList.js:390:11
    at new SingleDropdownList (/app/node_modules/
appbaseio/reactivesearch/lib/components/list/SingleDropdownList.js:83:9

Is this a bug in reacitvecore?

stonesthatwhisper
@stonesthatwhisper

My code for defaultQuery works as expected in javascript but has error in typescript:

defaultQuery={function() {
    return {
      aggs: {
        ''ProjectNumber.keyword': {
             terms: {
               script: {
                 inline:
                   "doc['ProjectNumber.keyword'].size() == 0 ? '': doc['ProjectNumber.keyword'].value.substring(0,2)",          lang: 'painless',
              },
              order: {
                  _count: 'desc',
               },
            },
         },
      },
   };
  }}

Should I file a Github issue? Any help is appreciated.

Peter Ciuffetti
@PeterCiuffetti
I have an index with 150,000 docs. Many searches return more than 10k hits. In the DataSearch component property for resultStats.numberOfResults I get a maximum of 10,000 reported. How do I get this to report the actual hit count if there are more than 10,000 hits? (I don't necessarily want to retrieve more than 10,000, but I do desire an accurate hit count). I already tried setting index.max_result_window on the ES index, but that had no effect.
dsrsuren
@dsrsuren
Hello All, reactivesearch is a great platform rapid development. I am building a search portal in which I need to have more ways of data search methods(upload a file template with attribute for searching) along with Free text search (Data Search Component). Right now I have enabled a "Select" item along with Data Search Component(search box). user can select search method from select item by uploading the file and has to click the search icon for triggering query,,,I am trying to use search icon click handler and custom query to enable different ways of search methods, I am struggling to use search icon click handler. could the forum help me on how to use please ?
SillyScribe95
@SillyScribe95
Is there an easier way than customQuery to pre-filter the results by an attribute before incorporating SelectedFilter? similar to facetFilters in Algolia’s Configure object.
https://www.algolia.com/doc/api-reference/api-parameters/facetFilters/
nsmatharu
@nsmatharu

Hi All,
First time poster...I have a few questions - which I am hoping you guys can help with.
Environment: Hosting my own Elasticsearch 7.6 database and have installed ReactiveSearch to surface the data.

  1. I have a search page built using ReactiveSearch - and as soon as I load it - it is returning 10000 hits (paginated) from my db and this is before I have even entered any search criteria into the Searchbox
    I don't want it to show the data until the user has entered their search criteria and hit enter....
    How do I stop the data rendering automatically? If anything just a blank page ... or I can display an image...

  2. One of my fields in my database is a description field with lots of text - but is neatly formatted with carriage returns. When displaying that field in ReactiveSearch - it literally removes any formatting and is just one paragrah of text which makes it hard to read....Is there a way to retain the formatting? Running the same query in Kibana - retains the format.

  3. A really basic one...as noted I am self hosting my ES database and have downloaded and installed Appbase.io ReactiveSearch locally. Does this make any connection back to appbase.io servers/external location? I am fully self-hosted as far as I know...but i dont know the inner workings of appbase.io ReactiveSearch to know for certain if any calls are made back?

Many Thanks

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.