node.js - Parameter in request of Elasticsearch using NodeJS -


can passe parameter in request ? query :p

client.search({ index: 'name_index', type: 'name_type',  body: {   query: {   filtered: {   query: {       query_string: {       query:  p ,       analyze_wildcard: true     }   } }  ....  }  } 

help appreciated

thank you


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -