IPRO Employee Cody Luera Posted August 2, 2017 Author IPRO Employee Share Posted August 2, 2017 The scenario: In Eclipse, users have the ability to combine a search for specific terms using DtSearch syntax with field specific parameters. The Text Search and Fields to Search criteria can be setup to work together in a single search. When running these searches, there are connector operators that can be set between the two. The connectors are as follows: AndOrNot This allows a user to specify they want to look for these terms, and add a connector (AND, OR, NOT) between the two types of search criteria. Below is a sample of the search setup: The Problem: When using this type of search, you can encounter documents that may not necessarily hit for your search request. In this example, the search is using 'OR' connectors between each field to search. This can cause odd results to appear, as the OR operators are not grouped together. What to do next? If you find yourself creating a search where you have to combine Text Search criteria and Fields to Search, the best way to handle this would be to group the Fields to Search parameters using Parenthesis around the fields you are looking to use OR connectors with. The parenthesis will help group these parameters together, as without them, the text to search will work against each item separately, and could potentially generate over-inclusive results. Link to comment Share on other sites More sharing options...
IPRO Employee Cody Luera Posted August 2, 2017 IPRO Employee Share Posted August 2, 2017 The scenario: In Eclipse, users have the ability to combine a search for specific terms using DtSearch syntax with field specific parameters. The Text Search and Fields to Search criteria can be setup to work together in a single search. When running these searches, there are connector operators that can be set between the two. The connectors are as follows: AndOrNot This allows a user to specify they want to look for these terms, and add a connector (AND, OR, NOT) between the two types of search criteria. Below is a sample of the search setup: [ATTACH=CONFIG]n2067[/ATTACH] The Problem: When using this type of search, you can encounter documents that may not necessarily hit for your search request. In this example, the search is using 'OR' connectors between each field to search. This can cause odd results to appear, as the OR operators are not grouped together. What to do next? If you find yourself creating a search where you have to combine Text Search criteria and Fields to Search, the best way to handle this would be to group the Fields to Search parameters using Parenthesis around the fields you are looking to use OR connectors with. [ATTACH=CONFIG]n2068[/ATTACH] The parenthesis will help group these parameters together, as without them, the text to search will work against each item separately, and could potentially generate over-inclusive results. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.