Giter Club home page Giter Club logo

Comments (8)

TomLingham avatar TomLingham commented on August 11, 2024

Searchy is targeted at user driven searches. If you are passing multiple values I assume you are probably doing the searching from an application driven perspective.

If that is the case, probably using eloquents API or the database query builder API would be better suited. You can add multiple where / like clauses. https://laravel.com/docs/5.1/queries#where-clauses

from laravel-searchy.

Alexmg86 avatar Alexmg86 commented on August 11, 2024

Hi! No, it's big problem for me (( Because i need driven searches...
My first question was for clarity.
In the real work i'm try find something like this "des", "tosh" :)

from laravel-searchy.

TomLingham avatar TomLingham commented on August 11, 2024

Are you still having the issue you mentioned above? I've been out of action for a while so I apologise for not responding, but it was unavoidable 😄

from laravel-searchy.

Alexmg86 avatar Alexmg86 commented on August 11, 2024

Sorry, it's still not working ((

from laravel-searchy.

TomLingham avatar TomLingham commented on August 11, 2024

Ok, so there is probably a good use case for this, but I haven't got time at the moment to update. I do however, Imagine it looking something like this:

Searchy::driver('ufuzzy')->skills('name')->query(['indesign', 'photoshop'])->get();

Where you would pass an array to the query method. I might have some more time in a month or so but at the moment I'll have to leave this open for a PR and hopefully in the meantime someone will pick it up. Keep in mind, while only 1 SQL query this would essentially be the same as running Array(n) searches on your database - so don't expect something like that to be fast.

from laravel-searchy.

TomLingham avatar TomLingham commented on August 11, 2024

Closing due to Laravel Scout release https://laravel.com/docs/5.4/scout

from laravel-searchy.

mazyvan avatar mazyvan commented on August 11, 2024

@TomLingham can you please explain that? the Laravel Scout, how can we use your package with it? thanks

from laravel-searchy.

TomLingham avatar TomLingham commented on August 11, 2024

@mazyvan, Laravel Scout shouldn't be used with Searchy. If you read a little through the documentation that I linked above, a great way to get started is using Algolia which should be fairly trivial to integrate.

from laravel-searchy.

Related Issues (20)

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.