Comments (7)
This is an expected error, by design.
From the docs:
If the document contains an
id
field of type string, Typesense will use that field as the identifier for the document. Otherwise, Typesense will assign an auto-generated identifier to the document. Since it's a special field, theid
field is not required to be defined as part of the collection schema.
from typesense.
Interesting, many thanks. One question: I've seen that before. But: why does this not happen when ID is not the beginning, as per searchable_id?
from typesense.
This is because only a field called id
specifically is a special field. Other fields that end with _id
are not automatically used as an id field and don't have any specific meaning inside of Typesense.
from typesense.
Alright, so "id_search" will always give this error and "search_id" won't. Thanks!
from typesense.
No, a field named id_search
should not throw any errors in the logs, when mentioned in the schema.
from typesense.
No, a field named
id_search
should not throw any errors in the logs, when mentioned in the schema.
Interesting, but on 26.0 when I use id_search it gives an error and searchable_id for example does not.
from typesense.
Hmm, I don't see the same issue.
I used this gist to run Typesense. Then created a collection using a field called id_search
and no errors were logged. Then created a field called id
and the error was logged.
from typesense.
Related Issues (20)
- [Joins] Support for sorting and limiting the number of items in a joined collection. HOT 2
- Range facet values not returned when filtering HOT 2
- bazel build failure HOT 2
- Not able to add data into a nested indexed field when optional flag is false in the schema HOT 2
- [Feature Request] Support querying joined fields HOT 5
- Prefix search in filter_by not getting all the results HOT 1
- Cloudflare AI APIs for semantic search
- Issue installing Typesense with docker yaml file on website HOT 2
- [Joins] Error on indexing reference field with enabled nested fields
- Stemming does not work for non-english locale
- Trying to understand inconsistent disk usage between cluster nodes HOT 6
- Typesense group_by working incorrect
- Bug in 26, 0.25.2 working fine: "Make sure to enable infix search by specifying" when only part of the fields have the infix index enabled
- [Feature Request] Support strict exact highlighting on array elements HOT 2
- Add support for nuxt
- [Feature request] Backup and restore using S3 compatible bucket HOT 2
- Highlight issue when negative operator is used HOT 1
- Constraint enforcements on JOINed references should be optional HOT 3
- Segfault due to reference loading in CollectionManager::load on startup 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 typesense.