How to exclude a hidden field from the search action

Archived from the Xataface Users forum.

Jean — Mon Jul 06, 2009 12:20 am

Hi Steve and everyone,

I browsed the forum without finding an answer to this question. I don’t want to have, in the result search list, a record whose matching string is in a hidden field.

I saw visibility:find = hidden in the forum as a proposition but it does not work. Do you have this kind of feature implemented ?

Regards

Jean


Jean — Mon Jul 06, 2009 2:11 am

Well… do you know how to exclude the content of a field from the result list ?

Thank you

Jean


shannah — Mon Jul 06, 2009 2:42 pm

Currently this functionality isn’t available, but I took the time this morning to add it in SVN. It will be included in the next release.

I have added the following fields.ini directives:

  1. not_findable : Indicates that the field should not be used as part of a find (e.g. with the find form, or using URL conventions field=val)

  2. not_searchable : Indicates that the field is not included for full-text searches (i.e. via the search box in the upper right).

I’ll see about making a new release within the next week or so once all the current modifications are stabilized.

-Steve


Jean — Mon Jul 06, 2009 11:14 pm

Great feature!

Thank you again Steve

Jean


Jean — Mon Jul 20, 2009 7:57 am

Hello Steve,

Do you have some news about this feature ?

Jean


shannah — Mon Jul 20, 2009 12:57 pm

It’s in SVN still.. Haven’t had a chance to do a release yet. Still fishing out some intermittent bugs in SVN.


Jean — Thu Jul 23, 2009 1:08 am

Thank you Steve for your answer.