[ERROR] error: search type for dissimilarityThreshold

User 2c6aa21beb

10-06-2010 16:08:24

When I try to search using the dissimilarity flag, I'm getting a tmocat error when using 64bit JChemWebServicesInstaller-5_3_3


 


I'm using


 


t:t dissimilarityThreshold:.34 dissimilarityMetric:tversky;0.3;0.7


e.g.


I was using '!t:i:0.5'


sep=! maxHitCount:100!maxTime:60000!t:t dissimilarityThreshold:.34 dissimilarityMetric:tversky;0.3;0.7!returnNonHits:n!filterQuery:select cd_id,d.dataid,version from en_chemstruct e, dtree d where d.subtype = 30358 and d.dataid = e.dataid  and d.versionnum = e.version


I see from the documentation an example


http://www.chemaxon.com/jchem/doc/dev/cartridge/cartapi.html#jc_compare_dissimilarityMetric


but this still doenst work.


 


Please see attached file for the tomcat error,


 


Would you please provide a working sample,


 


Kind Regards


Karl

ChemAxon aa7c50abf8

10-06-2010 16:18:53

Karl,


> sep=! maxHitCount:100!maxTime:60000!t:t dissimilarityThreshold:.34 dissimilarityMetric:tversky;0.3;0.7!returnNonHits:n!filterQuery:select cd_id,d.dataid,version from en_chemstruct e, dtree d where d.subtype = 30358 and d.dataid = e.dataid  and d.versionnum = e.version


When sep=! is specified, '!' must be consistently used for separating the name value pairs in the opton list. Spaces will then become part of the option values (up to the next '!' character). You start using spaces after t:t, so the search type becomes: t dissimilarityThreshold:.34 dissimilarityMetric:tversky;0.3;0.7.


Peter


 

User 2c6aa21beb

10-06-2010 16:39:59

Hi Peter,


I'm not sure I understand


I have tried


 


!t:dissimilarityThreshold:0.34


and


!t dissimilarityThreshold:0.34


and


 


!t:t:dissimilarityThreshold:0.34


Can you supply a working example because I cant get it to work;


 


Kind Regards


Karl

ChemAxon aa7c50abf8

10-06-2010 16:47:22

Karl,


sep=! maxHitCount:100!maxTime:60000!t:t!dissimilarityThreshold:.34!dissimilarityMetric:tversky;0.3;0.7!filterQuery:select cd_id,d.dataid,version from en_chemstruct e, dtree d where d.subtype =
30358 and d.dataid = e.dataid and d.versionnum = e.version



Regards,


Peter

User 2c6aa21beb

10-06-2010 16:58:32

Hi Peter,


Many thanks, it works perfectly,


Regards


Karl