Closed (fixed)
Project:
Data
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2009 at 14:26 UTC
Updated:
12 Oct 2009 at 21:30 UTC
Jump to comment: Most recent file
Make data fields searchable. Patch coming soon.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 552414-data_clearsearch.patch | 8.24 KB | David Goode |
| #1 | data_search.tar_.gz | 2.88 KB | alex_b |
Comments
Comment #1
alex_b commentedModule by YHahn.
Comment #2
alex_b commentedOnly data tables with a PK can be indexed. User shouldn't be able to enable indexing on other tables. Right now it looks like that's possible.
Comment #3
alex_b commentedNeeds to support deleting items from index that are removed from data table. Does not need to be encapsulated in DataTable::save() but can be a separate API function data_search_remove($data_table, array($id..)) ?
Ideally, we can support removing indexes in bulks not just id per id.
Comment #4
alex_b commented.install modifies search tables. This will only work if data_search is actually being installed after search when installed in an install profile or when being enabled at once.
Comment #5
David Goode commentedDrupal sorts modules with dependencies higher than the module they depend on under normal circumstances -- see install.inc's function drupal_install_modules($module_list = array()). #4 should be a non-issue.
Also, the search indexing removal is supported in a forthcoming patch that removes any orphaned search entries (in bulk, with a single query) when it updates the index, generally on cron after being called by search.
Comment #6
David Goode commentedAforementioned patch with orphaned search entry removal.
Comment #7
alex_b commentedThis is committed, thank you.