Not able to select custom fields to search

Ivory Search Forums Support Not able to select custom fields to search

Tagged: 

Viewing 5 reply threads

You must be logged in to create new topic or reply to the topic.

  • Author
    Posts
    • #13295
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,790

      I hope you are well today and thank you for your question.

      It seems your shared custom fields are private and by default, the plugin doesn’t search private custom fields.

      You can make it search private hidden custom fields by using the shared small custom plugin or by using the code from it.

      Best regards,
      Ivory Search Support

      Attachments:
      You must be logged in to view attached files.
    • #13377
      philgyford
      Participant
      • Topics: 2
      • Replies: 4

      Thank you so much for this, and apologies for not replying sooner – I must have missed the notification email.

      Unfortunately, adding that to my functions.php and selecting a single custom field name to search, results in search queries taking around 130 seconds to complete!

      I’m not clear why it takes so long, or if there’s an index I can add to the database that would drastically speed it up. This is the search query (searching for “myterm”):

    • #13378
      philgyford
      Participant
      • Topics: 2
      • Replies: 4

      Hmm, all my SQL etc got stripped out! I’ve tried attaching it as a text file instead…

      Attachments:
      You must be logged in to view attached files.
    • #13381
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,790

      You don’t need to add the shared custom plugin code in to the functions.php file because you can use it directly by activating it on your website.

      To speed up the search, please build the index from the plugin index option and use the Inverted index search engine in the search form as shown in the below screenshots.

      View post on imgur.com

      View post on imgur.com

    • #13394
      philgyford
      Participant
      • Topics: 2
      • Replies: 4

      Aha, I missed the index entirely!

      I also had to scroll down the “Index” page and, in “Custom Fields” check “Index all custom fields values” before it searched them. It seems to work great now.

      Thank you so much for your help.

    • #13406
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,790

      You are always welcome, I’m glad I was able to help you with this matter. There is no obligation but by your kind words I wonder if I could trouble you to leave a review based on this experience here:

      Click to leave a review

      I’d really appreciate that. šŸ™‚

      And if I can be of any further assistance please don’t hesitate to ask.

Viewing 5 reply threads

You must be logged in to create new topic or reply to the topic.