Jump to content

Searching - Combining Fields to Search with Text Search


Cody Luera

Recommended Posts

  • IPRO Employee

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:

  • And
  • Or
  • Not

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:

 

search.jpg.5f18125e84b492aed2065934649977b1.jpg

 

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.

 

search2.jpg.23ccbe4de03f36ed89e098f15827c6a0.jpg

 

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

  • IPRO Employee

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:

  • And
  • Or
  • Not

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...