Opened 3 years ago

Closed 3 years ago

#16953 closed bug (invalid)

Search by attributes don't work (Bookmarks fileType)

Reported by: un_spacyar Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: - General Version: R1/beta2
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

If I search by "Bookmark" filetype (Application -> Bookmark) using the Traker, and try to filter by "Keywords", "Title" or "URL" attribute, the search don't work.

If I search by "Title" attribute, works as expected.

Steps to reproduce it:

  1. Choose any Bookmark file, and add some keyword attribute to it.
  2. Use the "Find" option from Tracker, and try to search by:

Application = Bookmark

'by attribute' option.

Select 'Keywords' from dropdown menu and option 'Contains'

Enter the keyword that you added on step 1.

Push [Search] button.

I'm using Haiku 32 bit, hrev55096

Change History (3)

comment:1 by humdinger, 3 years ago

Make sure the queried attributes are indexed. A lsindex on the volume you got your bookmarks would have to include META:keyw, META:title and META:url for a search for the respective attribute. Also, bookmarks created before those indices were created, won't be indexed automatically either (either duplicate those bookmarks or use the command "reindex").

comment:2 by un_spacyar, 3 years ago

Thank you for your detailed answer. After adding the needed missing attributes and using the "reindex" command, started to work perfectly.

Please, feel free to close this ticket as invalid. Thank you!

comment:3 by humdinger, 3 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.