I would like to be able to search by specific fields. For example, in the field, "languages spoken" I'd like to find all users who speak Chinese.

What is the possibility of getting this in cck? I am willing to put in some money. I have no idea how many hours this will take. I imagine it's quite difficult.

Comments

jonbob’s picture

Status: Active » Closed (works as designed)

This sounds like something that could be best accomplished by the Views module. By creating a view with a filter on the field you are interested in, and then "exposing" that filter, you would be able to create a search form to your liking.

mwu’s picture

Title: Request that cck allow a field to be configured as "searchable" by building index » Request that a field with 1000 values be configured as "searchable" by building index in cck

Jonbob,
thanks for writing back. sorry I was not clear. the field (not languages) could have 300 to 1000, or even 10,000 values. so the drop down selector in views is not feasible. If you think it's doable I am interested in sponsoring it.

jonbob’s picture

I still think Views could handle this for you. Especially with the patch that went in today; you could add an exposed filter for the field you want to search, and have it search for substrings of the field. I don't think a dropdown would need to be involved.

mwu’s picture

Jonbob and others,
Jonbob you are right. It does seem to do what I want.

Explanation of how to do it for others:
under filters for a text field, pick "Contains" for your operator
note that this operator will not show up for a select/dropdown list.
you can lock the operator

wild cards don't work, but the search is not case sensitive

Jonbob, thanks for pointing out this solution