Comments (7)
Brain dumping ...
As a user, I usually want to enter free form queries in order to get back a listing of notebooks matched on filenames, titles, tags, authors, markdown, or even code. I expect these to be weighted in some manner, preferring filename hits over code hits, for example. I don't want to learn a query language to perform simple searches. In rarer cases, I'd like to formulate more complex queries like language=scala AND Dataset
. A simple query language would suffice here.
The API could be lightweight such that the user's query text gets passed to the configured index as-is and the index implementation makes all the decisions about how to interpret it. The API could be more explicit, requiring the user / frontend to provide more information about the query, and simplyfing the task of the index in interpreting it.
In either case, if a query language is to be supported, then all index implementations have to be able to support its features and, in the lightweight API case, perform the parsing.
from commuter.
API for clients of commuter to perform searches? Or API to plug different search back ends into commuter?
from commuter.
API for frontends to query against.
I'm fully expecting us to write different search backends. Right now elasticsearch is just the easiest for us to deploy.
from commuter.
If commuter were to expose a search UI, I'm assuming it would go directly to the index for results. If another client wanted to implement search, why would it query commuter instead of going directly to the index?
Not trying to be difficult. Just trying to understand the use case.
from commuter.
I'd rather not leave elasticsearch open for DELETE at _all or for modification by users.
from commuter.
Sure. I understand that. I meant "other web apps" by "other clients". Like, if I were to implement my own web app, I'd have the backend talk directly to the search index and guard against deletions and whatever else I didn't want to expose directly to users.
So, correct me if I'm wrong, you're thinking of the case where the client cannot be trusted, say, a notebook tool with a search feature built-in.
from commuter.
Yeah the backend would still talk to elasticsearch directly.
Are you saying we'd effectively proxy _search?
from commuter.
Related Issues (20)
- How is assume role working in commuter? HOT 2
- Do you have a plan to release a new version? HOT 2
- Unable to get GCS contents HOT 2
- Docker is crushing with some error? HOT 3
- Consider moving all src into a src folder
- Use COMMUTER_PORT variable everywhere
- Dockerfile build error occurred HOT 2
- Default value for COMMUTER_S3_ENDPOINT shouldn't be an empty string HOT 1
- End-user docs? HOT 3
- Dockerfile.dev not working HOT 2
- Is it possible to hide input cells? HOT 2
- Can Commuter be password protected? HOT 2
- support s3 directories with more than 1000 keys
- Docker image build failing
- embedded notebook images do not work
- Support ipywidgets
- Feature Request: Configurable context path or prefix URL HOT 2
- Ability to access Commuter Notebooks from Nteract UI or Jupyter Lab HOT 1
- Publishing a new version to npm?
- Docker image fails to build. Project abandoned?
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 commuter.