02-18-2009 02:47 PM
02-25-2009 09:04 AM
for (Locale locale : mlText.getLocales())
{
String localeString = mlText.getValue(locale);
…
duplicator = new MLTokenDuplicator(vba.tokenStream(attributeName, new StringReader(localeString)), locale, null, analysisMode);
…
It appears that the locale-specific string returned from the mltext object is null. This is unexpected i.e. I would not expect null string values to be applied to any locale. The good news is that the FTS indexer is a background job (which is why only text searching would be broken) so we should be able to find the data that is causing the problem. Run the following SQL and post the results (or a subset if there are many):select * from alf_node_properties np join alf_locale l on (l.id = np.locale_id) where l.locale_str != '.default' and np.string_value is null;
02-25-2009 09:33 AM
Run the following SQL and post the results (or a subset if there are many):select * from alf_node_properties np join alf_locale l on (l.id = np.locale_id) where l.locale_str != '.default' and np.string_value is null;
Also, please give details of what your language settings are for the user that uploads the documents.
node_id 2662
actual_type_n 0
persisted_type_n 0
boolean_value
long_value 0
float_value 0
double_value 0
string_value NULL
serializable_value [BLOB - 0B]
qname_id 111
list_index -1
locale_id 5
id 5
version 0
locale_str it_IT_
02-25-2009 10:08 AM
delete from alf_node_properties where node_id = 2662 and qname_id = 111 and list_index = -1 and locale_id = 5
Regards
02-25-2009 10:35 AM
select * from alf_node_properties np join alf_locale l on (l.id = np.locale_id) where l.locale_str != '.default' and np.string_value is null;
Now the result is 0 records.
02-25-2009 10:52 AM
select * from alf_node_properties np join alf_qname qn on (np.qname_id = qn.id) where qn.local_name in ('title', 'description') and np.string_value is null;
Regards
02-25-2009 10:57 AM
node_id 2021 2399 1858 1879
actual_type_n 0 0 0 0
persisted_type_n 0 0 0 0
boolean_value
long_value 0 0 0 0
float_value 0 0 0 0
double_value 0 0 0 0
string_value NULL NULL NULL NULL
serializable_value [BLOB - 0B] [BLOB - 0B] [BLOB - 0B] [BLOB - 0B]
qname_id 110 110 111 111
list_index -1 -1 -1 -1
locale_id 1 1 1 1
id 110 110 111 111
version 0 0 0 0
ns_id 3 3 3 3
local_name title title description description
02-25-2009 11:20 AM
02-25-2009 11:41 AM
02-25-2009 12:18 PM
DELETE alf_node_properties
FROM alf_node_properties
JOIN alf_qname ON (alf_node_properties.qname_id = alf_qname.id)
WHERE
alf_qname.local_name IN ('title', 'description') AND
alf_node_properties.string_value is null
;
02-25-2009 12:51 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.