Our clients are Notes 8.5.3 FP3 on either Windows XP or Windows 7,the server is still 8.5.1.
We need to search across multiple databases with very long complex queries. The query syntax is correct, we develop it using Full text Search and also manually run using the IONET search. The problem is that we need to run the searches overnight and store the results for use next next. So wrote some code that runs the search using Notesdatabase.FTSearch and it appears that the supplied query string is being truncated, that then leads to ‘query not understandable’ .
So has anyone else had this? Any ideas how to get around it?
(And no we dont have the option of telling the users to have simpler queries!)
Example query that works:[BHSE_Code] CONTAINS (65/02) AND [ModelName] CONTAINS (“ADHESIVE TAPE”) AND (([_CreationDate] >=13/07/2013) AND ([_CreationDate] <=11/09/2013)) and [form] contains (report)
and one that doesn’t: [BHSE_Code] CONTAINS (10/01) AND [RepCauseEffectLevel2] CONTAINS (“Material [2000]”) AND [ModelName] CONTAINS ("Castor ") AND NOT [Action] CONTAINS (echo) AND (([_CreationDate] >=01/09/2013 00:00:00) AND ([_CreationDate] <=Today)) and [form] contains (report)
Thanks
Sue