Skip to content

Conversation

@moke20
Copy link

@moke20 moke20 commented Jan 24, 2023

The mongoosastic main repository needed to be updated in order to work with the new Elasticsearch instance, but the same bug still remained where a property is expected to be nested within a body property, but it is not.

guumaster and others added 30 commits June 15, 2019 15:47
* deps updated. linted

* pin dependencies and remove old npm install from travis ci

* Add docker-Elasticsearch to Travis

* Test fixes (develop) (#469)

* default mongoose number to long, not double

* default string to text

* make generateMapping sync

* expose generateMapping and getCleanTree

* don’t forceIndexRefresh by default

* highlight and suggest are not search options

* expose an error event emitter when bulk indexing

* set fixed dependencies versions

* set mongoose options

* function for deleting docs before & after test

* make tests work with mongoose@5.5.1

.remove() -> .deleteMany()
.insert() -> insertOne()
connect with options

* different types in one index does not work in elastic > 6.x

* rename/include force-index-refresh test

* filtered query not supported anymore, use bool instead

* sorting has to be made on the keyword field

* minor (generateMapping sync)

* use elasticsearch.js@15.2.0 (6.4 API is default, same as Travis)

* Minor updates and fixes (develop) (#472)

* default mongoose number to long, not double

* default string to text

* make generateMapping sync

* expose generateMapping and getCleanTree

* don’t forceIndexRefresh by default

* highlight and suggest are not search options

* expose an error event emitter when bulk indexing

* set fixed dependencies versions

* set mongoose options

* function for deleting docs before & after test

* make tests work with mongoose@5.5.1

.remove() -> .deleteMany()
.insert() -> insertOne()
connect with options

* different types in one index does not work in elastic > 6.x

* rename/include force-index-refresh test

* filtered query not supported anymore, use bool instead

* sorting has to be made on the keyword field

* minor (generateMapping sync)

* use elasticsearch.js@15.2.0 (6.4 API is default, same as Travis)

* remove unnescessary cleanTree object

* do not map mixed fields

* return mapping

* if field is mixed, keep field name, but remove type

so that serialize.js will index the field

* update mixed test

* don’t map mixed fields

but keep them in mongoosastics internal mapping so that they are indexed when passed to serialized

* test mixed all the way

* consistent return of schema object

* minor

* bug fix

* check if elastic is up and running before tests

* add comment

* disable alternative index and type

it’s not supported in elastic > 6

* use .toObject() before serialize

otherwise arrays are “CoreMongooseArray”, not native js array

* Update README.md
* Add renovate.json
* Update all

* add --exit to mocha.opts. remove manual timeouts
* simplify README and move documentation to /docs

* update authors

* update CHANGELOG
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](mysticatea/eslint-utils@v1.3.1...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
udpate lint code and deps
# Conflicts:
#	example/blog/package.json
#	package.json
# Conflicts:
#	package-lock.json
#	package.json
this is on root path
yahia-kerim and others added 24 commits March 16, 2022 12:54
feat: Migrate to TS and tests to jest 


Co-authored-by: Nguyễn Minh Tâm <ngmitamit@gmail.com>
Co-authored-by: Mohamed Meabed <mo.meabed@gmail.com>
* update to v6.0.13
* update to v7.15.0
* update imported ES types
feat(example): add JS & TS examples
* refactor(statics/createMapping): create index with generated mapping, instead of updating it

* tests: add some comments about ES v8 compatibility

* feat(ci): add CI workflow
* feat: add .npmignore file

* Update README.md
const-to-let-fix-by-diode02
Co-authored-by: Gustavo Marin <guuweb@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants