readeef icon indicating copy to clipboard operation
readeef copied to clipboard

reactivesearch - faceted search

Open ghost opened this issue 6 years ago • 6 comments

Hi,

Hope you are all well !

First question, is your front-end built with angularjs or reactjs (as I had some memory about that in previous version of readeef) ?

Second question, what about adding some cool faceted search if you are using react ? ref. https://github.com/appbaseio/reactivesearch

I did it for other projects like:

  • https://github.com/twintproject/twint-search
  • https://github.com/lucmski/limo/blob/topics/cmd/webui.go#L44-L116 (example to index with go)

It looks like that (based on elasticsearch): alt text

alt text

Cheers, X

ghost avatar Dec 11 '19 12:12 ghost

Hi,

Unfortunately, the frontend is in react. It looks like most of the work for faceted search will go into the frontend, so that will complicate things. I would be happy to receive a pull request for that though.

I think bleve also supports faceting, so things can also stay consistent between the two search providers.

urandom avatar Dec 11 '19 14:12 urandom

once dockerized, I will try to implement it.

actually, I have some errors when I do "make all":

readeef % docker run -ti x0rzkov/readeef:alpine3.10-go1.13
bash-5.0# make all
cd rf-ng; ng build -op ui/en --base-href /en/ --prod
Unknown option: '-p'
Unknown option: 'ui/en'
make: *** [Makefile:8: build-ui-en] Error 1

ghost avatar Dec 11 '19 15:12 ghost

interesting. what's the angular-cli version you are trying to build with? it looks like whatever the ng command is in the container, it doesn't recognize these flags.

also, probably not a good idea to discuss this in a totally unrelated issue. perhaps start with a draft pull request for the docker file where we can comment on things.

urandom avatar Dec 11 '19 15:12 urandom

I made a WIP pull request. Dockerfiles are not multi-stage yet. They are for dev, for now...

ghost avatar Dec 11 '19 16:12 ghost

Hi @urandom,

Hope you are all well !

I have a question related to blevesearch but not related to readeef ^^ Do you have a twitter or telegram account ?

Cheers, X

ghost avatar Feb 02 '20 13:02 ghost

btw we can close this issue too ^^

ghost avatar Feb 02 '20 13:02 ghost