Skip to content

Added a filter for full text indexation of elements.#640

Merged
zerocrates merged 2 commits intoomeka:masterfrom
Daniel-KM:index_elements
Feb 24, 2015
Merged

Added a filter for full text indexation of elements.#640
zerocrates merged 2 commits intoomeka:masterfrom
Daniel-KM:index_elements

Conversation

@Daniel-KM
Copy link
Contributor

Hi,

This one line patch adds a filter to modify full text indexation. This is needed for example to remove some fields, specially internal and management ones, from full text search (see https://groups.google.com/forum/#!topic/omeka-dev/cMPhwyvh75M). This can be used with the patch of the plugin Hide Elements (zerocrates/HideElements#8).

Sincerely,

Daniel Berthereau
Infodoc & Knowledge management

@zerocrates
Copy link
Member

The existence of a filter here seems fine, but I don't think the name is good, as "index" is a little generic and not the term we mostly use elsewhere for this system, and these are actually element texts, not elements, that are being filtered.

I think "search_element_texts" is probably a better choice.

@Daniel-KM
Copy link
Contributor Author

Hi,

Ok, I commit this name.

Sincerely,

Daniel Berthereau
Infodoc & Knowledge management

zerocrates added a commit that referenced this pull request Feb 24, 2015
Added a filter for full text indexation of elements.
@zerocrates zerocrates merged commit a643572 into omeka:master Feb 24, 2015
@Daniel-KM Daniel-KM deleted the index_elements branch February 24, 2015 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants