GithubHelp home page GithubHelp logo

Search by keyword about indonesia HOT 6 CLOSED

laravolt avatar laravolt commented on July 22, 2024
Search by keyword

from indonesia.

Comments (6)

uyab avatar uyab commented on July 22, 2024

I think we can implement it as chainable method for each content type or for overall, e.g:

// specific content type
Indonesia::search('sra')->getProvince();
Indonesia::search('karang')->paginateProvince();
Indonesia::search('solo')->getCities();

// all content type
Indonesia::search('kotaba')->get();

from indonesia.

adhatama avatar adhatama commented on July 22, 2024

Do you mean the search from Laravel Scout in Laravel 5.3?

from indonesia.

uyab avatar uyab commented on July 22, 2024

How it work under the hood was up to you, just make the API consistent with
Laravel.

On 26 Aug 2016 16:00, "Adhatama" [email protected] wrote:

Do you mean the search from Laravel Scout
https://www.laravel.com/docs/5.3/scout#searching in Laravel 5.3?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJI1PAcw2BWZdfWq71zAyc6KhUmXAh-ks5qjqsggaJpZM4JsywW
.

from indonesia.

uyab avatar uyab commented on July 22, 2024

Simple search using LIKE might be enough.

On 26 Aug 2016 16:25, "bayu hendra" [email protected] wrote:

How it work under the hood was up to you, just make the API consistent
with Laravel.

On 26 Aug 2016 16:00, "Adhatama" [email protected] wrote:

Do you mean the search from Laravel Scout
https://www.laravel.com/docs/5.3/scout#searching in Laravel 5.3?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJI1PAcw2BWZdfWq71zAyc6KhUmXAh-ks5qjqsggaJpZM4JsywW
.

from indonesia.

adhatama avatar adhatama commented on July 22, 2024

@uyab What do you think about this results for search all? Which is better?

[
    'provinces' => Collections,
    'cities' => Collections
    ...
]

or

[
    Province Object,
    Province Object,
    City Object,
    City Object,
    ...
]

from indonesia.

uyab avatar uyab commented on July 22, 2024

The second is better

from indonesia.

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.