Skip to content
  • 0 Votes
    4 Posts
    714 Views
    barisB
    Yeah if you put the tags in the content of the posts they will get indexed and search should find them, keep in mind the body of the posts are searched when you search in "posts" so if you are only searching for titles they wont show up.
  • dbsearch not work

    Unsolved Technical Support
    8
    0 Votes
    8 Posts
    4k Views
    S
    @alff0x1f ok
  • 0 Votes
    1 Posts
    2k Views
    ogerlyO
    I have a problem with the search. I have on my server two forums. my MongoDB has both networks. The search returns an error message in both. Network 1 9/1 11:19 [8742] - error: [plugins] filter:search.query, Unable to execute query: error processing query: ns=1.searchpost limit=50 skip=0 Tree: TEXT : query=dres, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query 9/1 11:19 [8742] - error: /api/search/dres MongoError: Unable to execute query: error processing query: ns=1.searchpost limit=50 skip=0 Tree: TEXT : query=dres, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query at Function.MongoError.create (/NodeBB/node_modules/mongodb/node_modules/mong odb-core/lib/error.js:31:11) at queryCallback (/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:266:34) at Callbacks.emit (/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3) at null.messageHandler (/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:249:23) at Socket.<anonymous> (/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:265:22) at Socket.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:748:14) at Socket.emit (events.js:92:17) at emitReadable_ (_stream_readable.js:410:10) at emitReadable (_stream_readable.js:406:5) 9/1 11:19 [8742] - error: [plugins] filter:search.query, Unable to execute query: error processing query: ns=1.searchtopic limit=50 skip=0 Tree: TEXT : query=dres, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query Network 2 9/1 11:25 [28360] - error: [plugins] filter:search.query, Unable to execute query: error processing query: ns=0.searchpost limit=20 skip=0 Tree: TEXT : query=hallo, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query 9/1 11:25 [28360] - error: /api/search/hallo MongoError: Unable to execute query: error processing query: ns=0.searchpost limit=20 skip=0 Tree: TEXT : query=hallo, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query at Function.MongoError.create (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/error.js:31:11) at queryCallback (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:266:34) at Callbacks.emit (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3) at null.messageHandler (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:249:23) at Socket.<anonymous> (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:265:22) at Socket.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:748:14) at Socket.emit (events.js:92:17) at emitReadable_ (_stream_readable.js:410:10) at emitReadable (_stream_readable.js:406:5) 9/1 11:25 [28360] - error: [plugins] filter:search.query, Unable to execute query: error processing query: ns=0.searchtopic limit=20 skip=0 Tree: TEXT : query=hallo, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query 9/1 11:25 [28360] - error: [plugins] filter:search.query, Unable to execute query: error processing query: ns=0.searchtopic limit=20 skip=0 Tree: TEXT : query=Population Boom 89' - Gibt es eine Überbevölkerung ?, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query 9/1 11:25 [28360] - error: [plugins] filter:widget.render:suggestedtopics, Unable to execute query: error processing query: ns=0.searchtopic limit=20 skip=0 Tree: TEXT : query=Population Boom 89' - Gibt es eine Überbevölkerung ?, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query 9/1 11:25 [28360] - error: /api/widgets/render MongoError: Unable to execute query: error processing query: ns=0.searchtopic limit=20 skip=0 Tree: TEXT : query=Population Boom 89' - Gibt es eine Überbevölkerung ?, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query at Function.MongoError.create (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/error.js:31:11) at queryCallback (/nodebb/node_modules/mongodb/node_modules/mongo db-core/lib/cursor.js:266:34) at Callbacks.emit (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3) at null.messageHandler (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:249:23) at Socket.<anonymous> (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:265:22) at Socket.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:748:14) at Socket.emit (events.js:92:17) at emitReadable_ (_stream_readable.js:410:10) at emitReadable (_stream_readable.js:406:5)
  • Does not work search

    Solved Technical Support
    15
    0 Votes
    15 Posts
    7k Views
    olegO
    @agusputra yeah its truly, but it can update only from console via npm i nodebb-plugin-dbsearch
  • How to display a search box in header?

    Solved Technical Support
    3
    0 Votes
    3 Posts
    2k Views
    H
    @Kowlin Thanks, I appreciate your help!
  • Unable to search on this forum

    Bug Reports
    2
    0 Votes
    2 Posts
    2k Views
    S
    Ignore this please. Seems to work now.
  • User search broken [0.7.0]

    Bug Reports
    17
    0 Votes
    17 Posts
    8k Views
    julianJ
    @terfex I don't think so... 2.8 just included a new command we take advantage of.
  • Multiple tag search

    NodeBB Development
    2
    1 Votes
    2 Posts
    2k Views
    P
    @Richa-Singh No
  • Search Tags

    Bug Reports
    3
    0 Votes
    3 Posts
    2k Views
    barisB
    Thanks for reporting. Fixed in https://github.com/NodeBB/NodeBB/commit/9170ee831aefddc2ec4ddeff69098fb7ec6e07a4
  • 0 Votes
    6 Posts
    3k Views
    J
    Posted via GH: https://github.com/NodeBB/NodeBB/issues/2453
  • Search user by ip address?

    Feature Requests
    2
    0 Votes
    2 Posts
    3k Views
    S
    If it isn't by default, it probably is if you make a plugin
  • search not working on my installed nodeBB

    General Discussion
    11
    0 Votes
    11 Posts
    6k Views
    Peter-Zoltan KeresztesP
    I have upgraded to mongodb 2.6.4, I have run the following command to upgrade the mongodb to v5 mongos --configdb 127.0.0.1:27017 --upgrade with no error, I have clicked on reindex the database. when I search I get the following stuff in the cli MongoError: Unable to execute query: error processing query: ns=0.search limit=50 skip=0 Tree: $and key == "topic" TEXT : query=cool, language=, tag=NULL Sort: {} Proj: {} planner returned error: need exactly one text index for $text query at Object.toError (/nodebb/node_modules/mongodb/lib/mongodb/utils.js:114:11) at /nodebb/node_modules/mongodb/lib/mongodb/cursor.js:700:54 at Cursor.close (/nodebb/node_modules/mongodb/lib/mongodb/cursor.js:983:5) at commandHandler (/nodebb/node_modules/mongodb/lib/mongodb/cursor.js:700:21) at /nodebb/node_modules/mongodb/lib/mongodb/db.js:1847:9 at Server.Base._callHandler (/nodebb/node_modules/mongodb/lib/mongodb/connection/base.js:445:41) at /nodebb/node_modules/mongodb/lib/mongodb/connection/server.js:478:18 at MongoReply.parseBody (/nodebb/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5) at null.<anonymous> (/nodebb/node_modules/mongodb/lib/mongodb/connection/server.js:436:20) at EventEmitter.emit (events.js:95:17)
  • 0 Votes
    4 Posts
    3k Views
    kimmanuelK
    @Ted @a_5mith Okay. I'm going to disable solr plugin then. Thank you guys for your help.
  • [nodebb-plugin-solr] Solr search plugin

    NodeBB Plugins
    52
    4 Votes
    52 Posts
    32k Views
    volanarV
    @julian https://github.com/meilisearch/meilisearch-js
  • Search Filter on the tags page

    Feature Requests
    4
    1 Votes
    4 Posts
    3k Views
    Richa SinghR
    Can I select two tags and filter the discussions based on that?