Giter Club home page Giter Club logo

solr-faceted-search-react's People

Contributors

froboy avatar renevanderark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

solr-faceted-search-react's Issues

src/api/server.js build error

Dear all,

Has anyone successfully (re)built the components pack with the current watch.sh script ?

I can't stop getting the following error:

SyntaxError: /Users/julienchevalier/node_modules/solr-faceted-search-react/src/api/server.js: Unexpected token (8:126)
6 | let server = {};
7 |

8 | server.performXhr = function (options, accept, reject = () => { console.warn("Undefined reject callback! "); (console.trace||()=>{})(); }) {
| ^
9 | xhr(options, accept, reject);
10 | };

Documentation

Hello.

I wonder if there exists any more documentation than there is in a README file? I am trying to set up solr-facated-search-react but I am having problem with guessing which field types are viable options for fields defined in my solr core.

Troubles using casting and current typings.

I have troubles to reuse the project with typescript.
If I follow default examples then SolrClient typing is missing getHandlers();
If I want to use the component lego, then I need to cast.
const TextSearch = defaultComponentPack.searchFields.text as any;
Even then I have trouble to access correctly.
state.query.searchFields and state.results.docs

How to use Component Lego with typescript, can you make some example?

Cannot find module 'react'

Hi,
I created a new app using create-react-app. Then installed this module using npm i solr-faceted-search-react --save. And replaced the content in index.js with the provided content in the readme file. I get following error

Error: Cannot find module 'react' bundle.js%20line%202857%20%3E%20eval:1:551 ./~/solr-faceted-search-react/build/index.js Critical dependencies: 1:490-497 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results. @ ./~/solr-faceted-search-react/build/index.js 1:490-497webpackHotDevClient.js?:196:7

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.