Comments (5)
Quick update as I know this issue has been open for quite a while - I'm still planning to add this feature at some point.
However, at present, there's no way to add 'custom searchables' to Statamic which would be needed so we can 'push' your Eloquent models into Statamic for it to index.
I had a look at implementing this in the core the other day but I got a bit stuck 🙈 If I have enough time at some point, I'll possibly take another look.
Hopefully it's not a massive issue for you (or anyone else) for that matter. Search is available on the resource listing pages if you need it, just not globally with Statamic's search system.
from runway.
Thanks for the update, this is really a "nice to have" for me at this point.
Would deff be great but also managing without ^^
from runway.
I don't think we can actually do this right now, so I've opened a Statamic feature request: statamic/ideas#519
from runway.
If it helps at all I'd happily work with you on the core changes needed for this.
Seems like Statamic\Search\Searchables
needs a method for registering custom searchables, and Statamic\Search\IndexManager::index()
needs a way of overriding the default driver.
Then that would allow runway to register a searchable and a driver (with corresponding query builder that extends from Statamic\Query\EloquentQueryBuilder
)
from runway.
I'd love if you'd help to work on it. I've tried a few times but I'm honestly a bit stuck of where to start and how to integrate it in with what's already there.
On my Statamic FR, Jason left a comment about how he'd probably expect the API for it to work.
Once it's working on the Statamic side, I'd happily build the Runway side of the integration.
from runway.
Related Issues (20)
- Listing models is slow HOT 7
- Has Many relationship seems to have broke from v5 -> v6 HOT 11
- Resource listing sort order is not applied correctly HOT 1
- Accessing a runway model from a non-runway collection HOT 2
- User column view preferences interfere with Runway finding custom primaryKey HOT 4
- Generated blueprint error on Float values
- Empty response for Assets on entry view route HOT 2
- Not compatible with statamic/eloquent-driver HOT 1
- N+1 queries in ResourceActionController HOT 1
- Model accessors shouldn't be orderable in listing table
- CP Nav Item outside of Content Section when using Translations
- Related resource property does not recognize underscore in handle name HOT 2
- Related resource stack doesn't close when saved HOT 1
- Problems with `user_roles` & `user_groups` fieldtypes HOT 3
- FR: Enable resources to have revisions HOT 1
- STI broken by reference-passing PR HOT 3
- Setting blueprint Allow Creating to false does not edit blueprint. HOT 1
- HasManyFieldtype still running sync() when read_only is set HOT 2
- Relationship (wishlistProducts) on runway User not properly working HOT 5
- Dark mode support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runway.