+ Reply to Thread
Results 1 to 6 of 6

Thread: tag search

  1. #1
    Join Date
    Mar 2008
    Posts
    36

    Default tag search

    On a recently upgraded wiki to Jay Cooke, it seems I have lost some searching functionality. My query before (1.9.0b) looked like this:

    {{ wiki.search('tag:"asia"') }}

    However, this query no longer returns any results. I've rebuilt my search query database a few times, and can't seem to find anything wrong with the tags.

    Is there some sort of change i should be aware of? is embedded tag searching still supported?

    On a different note; I saw there is now search "sorting" in the extension! yay!

  2. #2
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    There is a bug in wiki.search where if the 4th argument is missing (the constrating argument), no search results are returned.

    Try this instead.
    Code:
    {{ wiki.search('tag:"asia"', _, _, "") }}
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  3. #3

    Default

    Hi!

    Is this bug the reason why I don't find anything in my wiki?

    I have a page "car" now i search for "car" and i get nothing! Do I have to work with tags or does the search function include the content?

    Enkerli

  4. #4
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    The above bug only applies to the wiki.search function, not the regular search box.

    If the regular search box doesn't return any results, your index may be out of date and needs to be rebuilt (check your control panel).
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  5. #5

    Default

    ok!

    Thanks there is an other wich has the same problem
    http://forums.opengarden.org/showthread.php?t=2832

    bye

  6. #6
    Join Date
    Mar 2008
    Posts
    36

    Default

    Thanks for helping with this!! You guys rock!




    Quote Originally Posted by SteveB View Post
    There is a bug in wiki.search where if the 4th argument is missing (the constrating argument), no search results are returned.

    Try this instead.
    Code:
    {{ wiki.search('tag:"asia"', _, _, "") }}

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts