Using Jamroom search - what do these search rules mean?

researchcooperative
@researchcooperative
9 years ago
694 posts
Somewhere in the guts of JR I found this information on using a search field:

Item Search Options:
value - Search for exact value match.
%value - Search for items that end in value.
value% - Search for items that begin with value.
%value% - Search for items that contain value.

Item Key Search Options:
key:value - Search for specific key with exact value match.
key:%value - Search for specific key that begins with value.
key:value% - Search for specific key that ends with value.
key:%value% - Search for specific key that contains value.

***

These rules raise a number of questions:

1. Do the rules apply to all search fields in JR?
2. What do the phrases "item search" and "item key search" mean?
3. Does % refer to the actual percentage symbol on our keyboard, or something else?

Otherwise, this is great - there are rules! So they can be explained in common English!

Hope springs%

Cheers, Peter


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)

updated by @researchcooperative: 10/17/15 04:03:45PM
douglas
@douglas
9 years ago
2,790 posts
The % is the % key on your keyboard.

The key:value refers to the database key, ie. profile_name, profile_active, audio_title etc.

These will not work in your site search form, at least I've not been able to get them to work. They are more for your ACP datastore browser search fields.

You can also use the % in search parameters in your jrCore_list functions.

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
researchcooperative
@researchcooperative
9 years ago
694 posts
Thanks.

If these are not the rules for search fields that site users see, what (@michael) are the rules for ordinary users (site members and visitors)?

I need to make this information public on my site so that users can use the search functions effectively.

This is critical for social networking (which is the general purpose of the JR site I am building).

Here is the page where I have centralised search functions for users so that they can more easily navigate around the network:

http://publishsciencenet.jamroomhosting.com/psn-search-central


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)

updated by @researchcooperative: 09/14/15 01:01:47AM