Comments (4)
Lowercasing tokens should not be performed before indexing - only as part of the analysis / indexing chain. The returned values to the server should be in identical casing as when indexing. Hitting Cat when searching for cat is perfectly OK, but the token returned should be in the same case as when indexed.
from imbo-metadata-search.
Ok. I guess we're godd then. Closing ticket.
from imbo-metadata-search.
I only have the lowercasing because it was in the original DSL that @christeredvartsen wrote for Imbo.
But I think that was to get around case-sensitivity in MongoDB, so you could argue that the lowercasing should be done by the AST -> Mongo translation if necessary.
from imbo-metadata-search.
Yes. It makes sense to do the lowercasing in the AST-> Mongo DSL transformation and keep the Imbo DSL to AST transformation as small as possible. I'll make a new ticket for removing the lowercasing for now.
from imbo-metadata-search.
Related Issues (14)
- What types of result modifiers do we need to support in the search?
- Remove lowercasing from Imbo DSL -> AST transformation HOT 1
- Add support for global search
- Describe the DSL on the readme HOT 1
- Query DSL representation HOT 4
- Use one elasticsearch index for storing metadata
- Change endpoints HOT 1
- 500 when inserting wrong elastic type HOT 2
- Model is missing a method
- Documents inserted into ElasticSearch has a query-property HOT 7
- Incompatible with ElasticSearch 5.2 HOT 6
- Sorting/ordering of images is not consistent HOT 1
- Tokenization of metadata HOT 4
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 imbo-metadata-search.