![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Back on the subject of FileMaker.. I'm trying to do a keyword search. My first preference is to use a relational search because the results will appear as a portal. Also, the use of an index should be faster than repetitive 'PERFORM FIND's. The basic principle is simple and fast for an 'OR' search, but I'm stuck on the 'AND' search. An additional complication is that I want to be 'multi-user safe', so I don't want to be modifying the data with flags. The idea is to split out the words in a 'keyword' field to a separate table when the record is created. Then a search is just a relation between a repeating variable containing the search terms and the keyword table. That technique finds records that match ANY of the given keywords. Those results also include duplicate references for records that match multiple terms. I want to allow an 'AND' option that will only find records that match ALL the search words (and without duplication). It seems like I need to somehow repeatedly constrain the 'OR' results by additional searches for each individual search term. That would result in a set that only those records that contained all the terms. Yet that is crossing a relational lookup with a programmed 'find'. I'm out of my depth in DB theory as well as FileMaker technology. Let's say I somehow use 'PEFORM FIND' to get a 'found set' consisting of only the desired records. How can I brings a 'found set' into a portal? The obvious approach of tagging records would mean single-user only. Can anyone help with a clue for doing a multi-term 'AND' search which doesn't modify the data? Thank you, Andy |
#3
| |||
| |||
|
|
I'm trying to do a keyword search. My first preference is to use a relational search because the results will appear as a portal. Also, the use of an index should be faster than repetitive 'PERFORM FIND's. The basic principle is simple and fast for an 'OR' search, but I'm stuck on the 'AND' search. An additional complication is that I want to be 'multi-user safe', so I don't want to be modifying the data with flags. The idea is to split out the words in a 'keyword' field to a separate table when the record is created. Then a search is just a relation between a repeating variable containing the search terms and the keyword table. That technique finds records that match ANY of the given keywords. Those results also include duplicate references for records that match multiple terms. I want to allow an 'AND' option that will only find records that match ALL the search words (and without duplication). It seems like I need to somehow repeatedly constrain the 'OR' results by additional searches for each individual search term. That would result in a set that only those records that contained all the terms. Yet that is crossing a relational lookup with a programmed 'find'. I'm out of my depth in DB theory as well as FileMaker technology. Let's say I somehow use 'PEFORM FIND' to get a 'found set' consisting of only the desired records. How can I brings a 'found set' into a portal? The obvious approach of tagging records would mean single-user only. Can anyone help with a clue for doing a multi-term 'AND' search which doesn't modify the data? |
#4
| |||
| |||
|
|
Back on the subject of FileMaker.. I'm trying to do a keyword search. My first preference is to use a relational search because the results will appear as a portal. Also, the use of an index should be faster than repetitive 'PERFORM FIND's. The basic principle is simple and fast for an 'OR' search, but I'm stuck on the 'AND' search. An additional complication is that I want to be 'multi-user safe', so I don't want to be modifying the data with flags. The idea is to split out the words in a 'keyword' field to a separate table when the record is created. Then a search is just a relation between a repeating variable containing the search terms and the keyword table. That technique finds records that match ANY of the given keywords. Those results also include duplicate references for records that match multiple terms. I want to allow an 'AND' option that will only find records that match ALL the search words (and without duplication). It seems like I need to somehow repeatedly constrain the 'OR' results by additional searches for each individual search term. That would result in a set that only those records that contained all the terms. Yet that is crossing a relational lookup with a programmed 'find'. I'm out of my depth in DB theory as well as FileMaker technology. Let's say I somehow use 'PEFORM FIND' to get a 'found set' consisting of only the desired records. How can I brings a 'found set' into a portal? The obvious approach of tagging records would mean single-user only. Can anyone help with a clue for doing a multi-term 'AND' search which doesn't modify the data? Thank you, Andy |
#5
| |||
| |||
|
|
I use (FMP6) for that a 'token' field equal in both files to 'criterion#1 & "/" & criterion#2' (for 2 simultaneous criterions). Then the relationship between the 2 files is based on token in FileA and token in FileB. Remi-Noel "Andy Winslow" <bounce (AT) allspam (DOT) net> a écrit .. Back on the subject of FileMaker.. I'm trying to do a keyword search. My first preference is to use a relational search because the results will appear as a portal. Also, the use of an index should be faster than repetitive 'PERFORM FIND's. The basic principle is simple and fast for an 'OR' search, but I'm stuck on the 'AND' search. An additional complication is that I want to be 'multi-user safe', so I don't want to be modifying the data with flags. The idea is to split out the words in a 'keyword' field to a separate table when the record is created. Then a search is just a relation between a repeating variable containing the search terms and the keyword table. That technique finds records that match ANY of the given keywords. Those results also include duplicate references for records that match multiple terms. I want to allow an 'AND' option that will only find records that match ALL the search words (and without duplication). It seems like I need to somehow repeatedly constrain the 'OR' results by additional searches for each individual search term. That would result in a set that only those records that contained all the terms. Yet that is crossing a relational lookup with a programmed 'find'. I'm out of my depth in DB theory as well as FileMaker technology. Let's say I somehow use 'PEFORM FIND' to get a 'found set' consisting of only the desired records. How can I brings a 'found set' into a portal? The obvious approach of tagging records would mean single-user only. Can anyone help with a clue for doing a multi-term 'AND' search which doesn't modify the data? Thank you, Andy |
#6
| |||
| |||
|
|
Andy Winslow <bounce (AT) allspam (DOT) net> wrote: I'm trying to do a keyword search. My first preference is to use a relational search because the results will appear as a portal. Also, .... Let's say I somehow use 'PEFORM FIND' to get a 'found set' consisting of only the desired records. How can I brings a 'found set' into a portal? The obvious approach of tagging records would mean single-user only. Can anyone help with a clue for doing a multi-term 'AND' search which doesn't modify the data? .... First, know that you can perform a find for any text in any field. You can do searches by multiple criteria, which constitute a Boolean "AND", or by multiple requests, which constitutes a Boolean "OR", or by combinations of these. If you use a portal field in a Find criterion, that will return all the parent records that meet that criterion in the portal field. So I am not sure why you want to use a keyword field. You can put specified values in a value list, then format a field in any layout to produce a pop-up list of those values. You can then select the appropriate value in either the Find or Browse mode. |
![]() |
| Thread Tools | |
| Display Modes | |
| |