Performance specific search options
In this document the search options concerning performance are summarized and their usage is shown in different search interfaces.
Maximum number of hitsSets maxResultCount property. Limits the number of molecules returned by the search to maxResultCount. If maxResultCount is 0, then there is no limit. |
JChemSearchOptions searchOptions = new JChemSearchOptions(SearchConstants.SUBSTRUCTURE); Default value is 0, i.e. there is no limit. Use the following command line parameter:--maxResults:<count> |
See the availability of the option in further ChemAxon products: |
Total search timeout limitLimits the time of the search. TotalSearchTimeoutLimitMilliseconds is to be specified in milliseconds. Search will be stopped after the specified time has elapsed and the hits found up to this time are returned. There is no timeout limit, by default. |
JChemSearchOptions searchOptions = new JChemSearchOptions(SearchConstants.SUBSTRUCTURE); Use the jc_compare operator with totalSearchTimeoutLimitMilliseconds:int. Example: SELECT count(*) FROM nci_12n WHERE jc_compare(smiles, 'c1ccccc1', 't:d totalSearchTimeoutLimitMilliseconds:15000') = 1; Not applicable. |
See the availability of the option in further ChemAxon products: |
Optimize query atom order (or performance)Sets option for rearranging query atoms to increase search performance. False, if search should rearrange query atoms for better search performance. Default value is false. |
MolSearchOptions searchOptions = new MolSearchOptions(SearchConstants.SUBSTRUCTURE); JChemSearchOptions searchOptions = new JChemSearchOptions(SearchConstants.SUBSTRUCTURE); Use the following command line parameter:--keepQueryOrder |
See the availability of the option in further ChemAxon products: |
Optimize queries containing special query features (atom lists, bond lists, ...)If more than one queries are present, at least one is required to match. For DB targets, only the first query is considered. |
JChemSearchOptions searchOptions = new JChemSearchOptions(SearchConstants.SUBSTRUCTURE); Use the following command line parameter: --optimizeQueries:y/n
|
See the availability of the option in further ChemAxon products: |
Timeout limitThe search on a single target can reach this amount of time. Set it to -1 if you do not want the search to timeout. The timeout limit has to be set in milliseconds. Default value is 120000 (2 minutes). |
MolSearchOptions searchOptions = new MolSearchOptions(SearchConstants.SUBSTRUCTURE); JChemSearchOptions searchOptions = new JChemSearchOptions(SearchConstants.SUBSTRUCTURE); Not applicable. Use the following command line parameter: --timeoutLimit |
See the availability of the option in further ChemAxon products: |
Exhaustive mode limitUpon reaching this number of steps, the search switches to exhaustive mode from fast mode. Setting to -1 means never. Default -1. |
MolSearchOptions searchOptions = new MolSearchOptions(SearchConstants.SUBSTRUCTURE); JChemSearchOptions searchOptions = new JChemSearchOptions(SearchConstants.SUBSTRUCTURE); Use the following command line parameter: --exhaustiveModeLimit |
See the availability of the option in further ChemAxon products: |