User 7c5047cd7b
22-01-2007 04:23:27
Exact Fragment search will be void, when setStereoSearch is false.
I tested in Jchem3.2 and 3.2.3
Please find the attached query and target.
(1)When setStereoSearch is TRUE
either query1 or query2 could NOT be hit by ExactFragmentSearch.
(2)When setStereoSearch is FALSE
query1 could be hit, but query2 could NOT be hit by ExactFragmentSearch.
I would like to know the reason.
The following is my source:
----------------------------------------
:
if(searcher == null)
{
searcher = new JChemSearch();
ConnectionHandler conHandler = new ConnectionHandler();
conHandler.setConnection(conn);
searcher.setConnectionHandler(conHandler);
searcher.setSearchType(JChemSearch.EXACT_FRAGMENT);
searcher.setWaitingForResult(true);
searcher.setInfoToStdError(false);
searcher.setStereoSearch(false);
searcher.setReturnsNonHits(false);
}
searcher.setStructureTable(struTabName);
return searcher;
:
----------------------------------------
I tested in Jchem3.2 and 3.2.3
Please find the attached query and target.
(1)When setStereoSearch is TRUE
either query1 or query2 could NOT be hit by ExactFragmentSearch.
(2)When setStereoSearch is FALSE
query1 could be hit, but query2 could NOT be hit by ExactFragmentSearch.
I would like to know the reason.
The following is my source:
----------------------------------------
:
if(searcher == null)
{
searcher = new JChemSearch();
ConnectionHandler conHandler = new ConnectionHandler();
conHandler.setConnection(conn);
searcher.setConnectionHandler(conHandler);
searcher.setSearchType(JChemSearch.EXACT_FRAGMENT);
searcher.setWaitingForResult(true);
searcher.setInfoToStdError(false);
searcher.setStereoSearch(false);
searcher.setReturnsNonHits(false);
}
searcher.setStructureTable(struTabName);
return searcher;
:
----------------------------------------