Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 27 09:39
    renovate[bot] edited #954
  • Sep 24 08:46
    renovate[bot] edited #954
  • Sep 23 08:26
    renovate[bot] edited #954
  • Sep 22 07:18
    renovate[bot] edited #954
  • Sep 21 08:57
    renovate[bot] edited #954
  • Sep 21 01:05
    stale[bot] labeled #1111
  • Sep 21 01:05
    stale[bot] commented #1111
  • Sep 20 08:00
    renovate[bot] edited #954
  • Sep 19 08:53
    renovate[bot] edited #954
  • Sep 16 09:20
    renovate[bot] edited #954
  • Sep 15 08:28
    renovate[bot] edited #954
  • Sep 14 08:20
    renovate[bot] edited #954
  • Sep 13 08:33
    renovate[bot] edited #954
  • Sep 12 09:35
    renovate[bot] edited #954
  • Sep 11 07:38
    renovate[bot] edited #954
  • Sep 10 07:19
    renovate[bot] edited #954
  • Sep 08 10:41
    renovate[bot] edited #954
  • Sep 06 08:07
    renovate[bot] edited #954
  • Sep 05 08:35
    renovate[bot] edited #954
  • Sep 04 09:43
    renovate[bot] edited #954
lucmski
@lucmski
is it possible to re build such ui http://x0rzkov.hd.free.fr:3000/ with searchkit ?
aka migrate from reactivesearch
prog20901
@prog20901

How to convert a java standlone app to web application or access via internet?

I come across several beautiful java standalone application..example DocFetcher...However there is no web interface available.

Is there a way to make it as web application using any tool or third party plugin or server?
Is there a way to launch in the server and access as jnlp from anywhere?
What would be the best and easiest way to convert a standalone jar or desktop java application to web server...

Not going to be a request and response..Instead wanted to do the same thing which we can do in the standlone.

Please kindly advise....

prog20901
@prog20901
any open source app or framework exist to build an app - write once, same code and run on PC, Web and Mobile ???
prog20901
@prog20901
med
@mermand
hi. how can i add sort property in defaultquery?
prog20901
@prog20901
i come across this beautiful one - https://github.com/Nozbe/WatermelonDB - is it good for the above development..please suggest...Demo - https://nozbe.github.io/WatermelonDB/Demo.html
huseyingoztok
@huseyingoztok
Hello friends. How to export a table to excel? Is there any example? Can you help me?
prog20901
@prog20901
Can searchkit integrates https://github.com/jvilk/BrowserFS - looks it supports several back-ends...Please kindly integrate if possible.
prog20901
@prog20901
How to store files and index in searchkit - persist permantently ???
any example with indexedb or pouchdb or watermelondb
huseyingoztok
@huseyingoztok
Hello friends. How do I prevent the All filter from appearing in the Searchkit tabs component?
jacksonp2008
@jacksonp2008
Basic searchkit doesn't seem to do complex queries like 'apples AND oranges NOT pears', any one know where I can change this behavior?
jacksonp2008
@jacksonp2008
Is there a better place/community to ask questions? Nothing seems to be happening here.
jacksonp2008
@jacksonp2008
its like a ghost town in here.
GIUSEPPE FERRARO
@gferraro86
Hi there, I just started playing with searchkit and elasticsearch ... I have a strange behavior with Pagination. I put <Pagination showNumbers /> in my code but it does not renders ... have you ever had this problem?
John Ryan
@omulriain
@jacksonp2008 I gave up on trying to get any kind of help on this project
Prashant Rajoriya
@prashant-rajoriya
Does the searchkit support the latest version of elastic-search 7.5 ?
GIUSEPPE FERRARO
@gferraro86
@prashant-rajoriya it seems to working fine with the version 2.4.1 https://libraries.io/npm/searchkit
Prashant Rajoriya
@prashant-rajoriya

@gferraro86 this is query generated by searchkit on v 2.4.1

{
    "query": {
        "filtered": {
            "filter": {
                "term": {
                    "is_deleted": false
                }
            }
        }
    },
    "aggs": {
        "type4": {
            "filter": {
                "match_all": {}
            },
            "aggs": {
                "type": {
                    "terms": {
                        "field": "type",
                        "size": 50
                    }
                },
                "type_count": {
                    "cardinality": {
                        "field": "type"
                    }
                }
            }
        },
        "status5": {
            "filter": {
                "match_all": {}
            },
            "aggs": {
                "status": {
                    "terms": {
                        "field": "status",
                        "size": 10
                    }
                },
                "status_count": {
                    "cardinality": {
                        "field": "status"
                    }
                }
            }
        }
    },
    "size": 50,
    "sort": [
        {
            "_score": {
                "order": "desc"
            }
        }
    ],
    "highlight": {
        "fields": {
            "uid": {}
        }
    }
}

the response from backend :

{
    "error": {
        "root_cause": [
            {
                "type": "parsing_exception",
                "reason": "no [query] registered for [filtered]",
                "line": 3,
                "col": 21
            }
        ],
        "type": "parsing_exception",
        "reason": "no [query] registered for [filtered]",
        "line": 3,
        "col": 21
    },
    "status": 400
}
meshek2015
@meshek2015
Hi team thanks for the application.. I am exploring search kit. I have a question... Instead of passing the elastic search URL can I pass a function that does a query and return back the data to searchkitmanager
Lior Kesos
@liorkesos
Hi! Has anybody connected searchkit to graphql?
Nebula83
@Nebula83
Hello, I am setting up my first searchkit app but I'm having the hardest time trying to change the queryBuilder of the searchbox. What I want is to change the queryBuilder based on a checkbox on the UI (simple or advanced) but somehow rerendering the Searchbox component does not update the queryBuilder. Any hints?
dsrsuren
@dsrsuren
Hello I am setting up my first searchkit app, I have search box & few refinementListFilters. As soon as the user select some option either in search box or facet filter I would need to get the latest query built. how can i do that ? I tried few with Accessors but I could not succeed, some one can help pls ?
wboleksii
@wboleksii
Hi, is there a way to make async calls inside QueryProcessor? I need top modify my query based on some external data
shivams596
@shivams596
The pagination, hitCount, PageSizeSelector doesn't seem to work properly with SearchKit 2.4.1-alpha.4
So please use npm install searchkit@2.4.1
Lecherbonnier
@Fluorz
Hello @GregoryPotdevin est-ce que la feature infinite scroll est dispo ?
prog20901
@prog20901
how to create a blog UI full of text files or documents or text categories with quick search with searchkit......ex: https://table.branham.org/#/main -- i want a website using searchkit where i want to import huge text files and quickly search for the info.. Please advise....It can be log files, it can be any text files....etc.,
Harry Freeborough
@hfreeb
Hi all, I've been trying to fix query params not working for StatefulAccesors nested inside a hit component, and found that the state from query params only propagates through to accessors added in the initial load.
Removing the isInitialLoading() check from https://github.com/searchkit/searchkit/blob/f17c4a09f6c3058190b649fabb18561efb520089/packages/searchkit/src/components/search/hits/src/Hits.tsx#L137 fixes it, but how safe is this to do?
Arif Khan
@khanprog

Hi guys I am pretty new to elasticsearch and react I installed ealsticsearch and when I save the data from backend I save the data tomysql and elasticsearch as well then in react I use searchkitManager to get the data but I am stuck here because I am not able to get the data using searchkitManager
here is a piece of code in react

let apiUrl= 'http://localhost:9200/api/v1' // what link should I pass url to elasticsearch or url to my backend
const searchkit = new SearchkitManager('/', {
  searchUrlPath: `${apiUrl}/search?rest_total_hits_as_int=true`,
});

Most of the time I will get the error of Error Code 400 or 405
Any kind of help will be appreciated

as for the link should I use something like http://localhost:9200/indexName/' or what is the pattern
Arif Khan
@khanprog
servers
React Frontend: http://localhost:3000/
Golang Backend: http://localhost:3006/api/v1
ElasticSearch: http://localhost:9200/
Milio
@Silvernetix_gitlab

Any reason to why all the documentation relating to each accessor is missing ?
https://docs.searchkit.co/stable/core/Accessors.html

I urgently need documentation on

  • SortingAccessor
  • QueryAccessor

I wish all searches to return sorted (latest first) based on the date of a field.
I dont want the user to select the sorting order, it has to be sorted by default

How do I do this ?

Fathi Rida
@FathyRida
Hi guys, any one can help me please, how can I use operator="AND" with HierarchicalMenuFilter component and thank you in advance
Teagan
@tkwidmer
Hi there. Is there any way to use something like Semantic UI, and wrap it in any way. I prefer the look of Semantic UI in terms of the inputs, but would still love to use the SearchkitManager and provider.
consde
@consde
Hey, does anyone know how I can have access to the query terms entered in the search box? How can I save them in a variable? I need to click on a button and then open a window with the url MYURL + search?q=linux. I just need to access the query values. Thank you in advance.
ACPrice
@ACPrice
@consde I'm not sure this is the best way, but I think you can just write a custom queryBuilder function that does nothing to the query (i.e. returns it as is), just runs some code to save it elsewhere beforehand.
f2xx-blip
@f2xx-blip
Hey, I am using token to authenticate my request to ES. I want a error event listener, so that when my access token expires I can request a new access token from ES. How to achieve this ?
Milio
@Silvernetix_gitlab
This has been no help at all. I wish everyone the best of luck.
Jerry Fu
@jfoo1984
Is there any way to call reloadSearch from a child component? I have a use case where we want the listComponent that we pass into the Hits component to reload the search after an API call is made. Explored using a callback, but it seems there's no way to add to the props passed to listComponent, and it doesn't seem like the searchkitmanager reference is passed into the list component
Jon Hughes
@ducksinacolumn_gitlab
Sorry for what I assume is a very simple question, but where is the data coming from for this demo? http://demo.searchkit.co/taxonomy
Frank
@frank7huysen
Hi, how do I get the loading state of searchkit in a functional component. Because searchkit.loading is only changed once. However, if I want to show a loader indicator on search it doesn't update?
Tristan Hall
@TrimHall

Hi,

I'm experiencing an issue where the URL params are removed when the value of the search input is changed - seems to be happening relatively inconsistently. Is this a known issue and if so is there a planned fix or a known workaround?

Silviu Bogan
@silviubogan
Hello! How can I add an "All" option at the beginning of a RefinementListFilter with the operator set to "OR"? I use the listComponent Tabs. Thank you!
Silviu Bogan
@silviubogan
My attempt is this but I don't know how to build the object with the key 'All' so that it actually works and persists between page reloads.
const CustomTabs = (props) => {
  const arr = [{ key: 'All' }, ...props.items];

  return <Tabs {...props} items={arr} />;
};
Silviu Bogan
@silviubogan
I solved this issue using the MenuFilter component. Thank you!
Silviu Bogan
@silviubogan
Hello, again! How can I remove a single specific filter, like the end user would in the GroupedSelectedFilters component by clicking the X button, but programmatically? I do not know how to change the query. The searchkit.setQueryProcessor does not give me the information about the selected filter and I do not know how to change the query. I think I will try to change the URL, but I think this will not work. Thank you!
Silviu Bogan
@silviubogan

This is how I made it work by reloading the page (I know it is very ugly and not well crafted):

const newLoc = window.location.href
  .replace(/type\[\d+\]=[a-zA-Z0-9_]+/g, '')
  .replace(/&&/g, '&')
  .replace(/\?&/g, '?')
  .replace(/[&?]$/, '');
if (newLoc !== window.location.href) {
  window.location.href = newLoc;
}

If there is a way to make this work without reloading the page, please let me know. Thank you!