es.davy.ai

Preguntas y respuestas de programación confiables

¿Tienes una pregunta?

Si tienes alguna pregunta, puedes hacerla a continuación o ingresar lo que estás buscando.

Tag: FULL-TEXT-SEARCH

El índice de texto completo de Neo4j no se crea desde apoc.conf

Tengo una imagen personalizada de Docker de neo4j basada en neo4j:4.4. En su inicio, necesito ejecutar algunas declaraciones cypher, que incluyen la creación de un índice de texto completo. Lo estoy haciendo utilizando el archivo apoc.conf: apoc.import.file.use_neo4j_config=false apoc.import.file.enabled=true apoc.export.file.enabled=true apoc.initializer.neo4j.0=CALL apoc.cypher.runSchemaFile(“file:////var/lib/neo4j/db_init/create_regular_indexes.cypher”) apoc.initializer.neo4j.1=CALL apoc.cypher.runSchemaFile(“file:////var/lib/neo4j/db_init/create_fulltext_indexes.cypher”) El archivo create_fulltext_indexes.cypher tiene el siguiente contenido: . . . Read more

Buscando una frase en MongoDB: comportamiento extraño

Tengo la siguiente colección: books> db.books.find() [ { _id: ObjectId(“61ab85b0056b5357b5e23e6b”), fields: ‘hello buenos días’ }, { _id: ObjectId(“61ab85b5056b5357b5e23e6c”), fields: ‘buenos días’ }, { _id: ObjectId(“61ab8679056b5357b5e23e6d”), fields: ‘hola buenos días chicos’ }, { _id: ObjectId(“61ab8684056b5357b5e23e6e”), fields: ‘buenos días chicos’ } ] Luego, ejecuto esta consulta: db.books.find({$text : {$search : “buenos días . . . Read more