meteor-easy-search | Easy-to-use search for Meteor with Blaze Components | Search Engine Optimization library

 by   matteodem JavaScript Version: Current License: MIT

kandi X-RAY | meteor-easy-search Summary

kandi X-RAY | meteor-easy-search Summary

meteor-easy-search is a JavaScript library typically used in Search Engine Optimization, Meteor applications. meteor-easy-search has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Easy Search
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              meteor-easy-search has a low active ecosystem.
              It has 439 star(s) with 72 fork(s). There are 18 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 28 open issues and 561 have been closed. On average issues are closed in 148 days. There are 10 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of meteor-easy-search is current.

            kandi-Quality Quality

              meteor-easy-search has 0 bugs and 0 code smells.

            kandi-Security Security

              meteor-easy-search has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              meteor-easy-search code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              meteor-easy-search is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              meteor-easy-search releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              meteor-easy-search saves you 24 person hours of effort in developing the same functionality from scratch.
              It has 66 lines of code, 0 functions and 64 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of meteor-easy-search
            Get all kandi verified functions for this library.

            meteor-easy-search Key Features

            No Key Features are available at this moment for meteor-easy-search.

            meteor-easy-search Examples and Code Snippets

            No Code Snippets are available at this moment for meteor-easy-search.

            Community Discussions

            QUESTION

            How to implement a selector in easy: search for Meteor, using React instead of Blaze
            Asked 2020-Jan-04 at 09:04

            I'm trying to follow the documentation and examples to add a server-side selector to a search function in my Meteor app, implemented using the Easy Search plugin. The end goal is to ensure that only documents the user has permission to see are returned by searching.

            I can see a selector working in the Leaderboard example, but I can't get it to work in my code.

            Versions:

            ...

            ANSWER

            Answered 2020-Jan-04 at 09:04

            I got it working in my React / Redux / Meteor app. Things to note:

            1. The cursor MyIndex.search(searchTerm) is a reactive data source - you can't just use it as a return value. When searching on the client with MiniMongo this isn't an issue, but it's important when you use MongoDBEngine to search on the server, because it's asynchronous. In React you can wrap the cursor in withTracker to pass data to the component reactively. In Blaze you would use autorun.tracker. This is shown in the docs but not explained, and it took me a while to understand what was happening.

            2. The docs have an error in the selector example, easily corrected but it's confusing if you have other problems in your code.

            3. With MongoDBEngine, 'permission' must be specified - it does not default to 'true'. Without it, you will see no results.

            4. Writing out the default selector object to the console let me see how it's constructed, and then create a new selector that returns MyDocs that are either public or created by the user.

            My code is below. In case it helps anybody else, I've shown how to search on tags also, which are objects with a name property stored in a collection Tags. Each MyDoc has a 'tags' property which is an array of tag ids. The selector first searches the Tags collection to find tags whose name matches the search term, then selects docs in MyDocs with the ids of those tags in their doc.tags array.

            There may be a better way to find the search term, or to structure the Tags search, but this is what I could get working.

            On server and client:

            Source https://stackoverflow.com/questions/59560457

            QUESTION

            How to create a partial search in Meteor that only returns permitted data
            Asked 2020-Jan-02 at 08:44

            I'm trying to create a search feature in Meteor 1.8.1 that does the following:

            • returns partial matches, e.g. "fish" will find "fish", "fishcake" and "dogfish"
            • has server-side control of which documents are returned, so search results don't include documents that are not published to the user
            • is reasonably efficient
            • returns a limited number of results

            This seems like it should be a common requirement, but I'm failing to find any solution.

            MongoDB full text search will only return on whole words, so will only find "fish".

            Easy search doesn't support server-side permissions, as far as I can tell.

            I could try a regex solution but I think it would be expensive?

            Thank you for any solutions!

            Edit: From discussion it seems that Easy Search does support server-side filtering using a selector, and this would be the best solution. However, I can't get a selector working from the examples and documentation. For clarity, I've created a new question for that issue

            ...

            ANSWER

            Answered 2019-Dec-26 at 13:15

            The documentation explicitly states that for advanced use cases you may want to use elastic search and offers you a pluggable extension to ease the burden of integration.

            https://matteodem.github.io/meteor-easy-search/docs/recipes/#advanced-search

            You might wish that a search for cafe returns documents with the text café in them (special character). Or that your search string is split up by whitespace and those terms used to search across multiple fields.

            You should consider using a search engine like ElasticSearch for your search if you have these usecases. ElasticSearch allows you to configure precisely how your fields are being searched. One way you can do that is by analyzing your data, so that searching itself is as fast as possible.

            Source https://stackoverflow.com/questions/59460137

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install meteor-easy-search

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/matteodem/meteor-easy-search.git

          • CLI

            gh repo clone matteodem/meteor-easy-search

          • sshUrl

            git@github.com:matteodem/meteor-easy-search.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Search Engine Optimization Libraries

            Try Top Libraries by matteodem

            meteor-boilerplate

            by matteodemJavaScript

            meteor-easy-security

            by matteodemJavaScript

            orion-cli

            by matteodemJavaScript

            graphqlizer

            by matteodemJavaScript