MolSearchOptions.setSubgraphSearch() has disappeared

User 870ab5b546

16-09-2013 17:09:53

JChem 5.11 had a method called MolSearchOptions.setSubgraphSearch().  This method has disappeared (not deprecated, just simply gone) in JChem 6.1.  What should I use to replace it, and shouldn't the API say something if it has been deprecated?

ChemAxon d9cc14700b

17-09-2013 07:32:25

Hi Bob,


The method SearchOptions.setSubgraphSearch was deprecated in 5.12 and has been removed in 6.0, this was public for "internal use only" (as it was mentioned in it's api doc). Clients should construct the search options with specifying the search type there, for instance: new MolSearchOptions(SearchConstants.SUBSTRUCTURE).


Sorry for the inconvenience.


Best Regards,


Gabor