01-25-2010 08:04 AM
@miEsquema\:miPropiedadIndexada:"unapalabra"
Me salen unos 100 o 200 resultados y tarda bastante poco en realizar la búsqueda (~1 seg, muy rapido).@cm\:creator:"admin"
RepositoryServiceSoapBindingStub repoWs = WebServiceFactory.getRepositoryService(alfSession.getResult());
Query query = new Query();
query.setLanguage(QNames.QUERY_LANG_LUCENE);
StringBuffer qbuf = new StringBuffer(" +@cm\\:creator:\"admin\" ");
query.setStatement(qbuf.toString());
try {
logger.debug("Query buscando: ".concat(StringUtils.abbreviate(query.getStatement(), 1000)));
QueryResult qres = repoWs.query(alfSession.getDefaultStore(), query, true);
…
01-28-2010 03:02 AM
SELECT
nodestatus0_.protocol as protocol3_3_,
nodestatus0_.identifier as identifier3_3_,
nodestatus0_.guid as guid3_3_,
nodestatus0_.transaction_id as transact4_3_3_,
nodestatus0_.node_id as node5_3_3_,
nodeimpl1_.id as id0_0_,
nodeimpl1_.protocol as protocol0_0_,
nodeimpl1_.identifier as identifier0_0_,
nodeimpl1_.uuid as uuid0_0_,
nodeimpl1_.type_qname as type5_0_0_,
nodeimpl1_.acl_id as acl6_0_0_,
storeimpl2_.protocol as protocol6_1_,
storeimpl2_.identifier as identifier6_1_,
storeimpl2_.root_node_id as root3_6_1_,
aspects3_.node_id as node1_5_,
aspects3_.qname as qname5_,
parentasso4_.child_node_id as child3_6_,
parentasso4_.id as id6_,
parentasso4_.id as id4_2_,
parentasso4_.parent_node_id as parent2_4_2_,
parentasso4_.child_node_id as child3_4_2_,
parentasso4_.type_qname as type4_4_2_,
parentasso4_.qname as qname4_2_,
parentasso4_.child_node_name as child6_4_2_,
parentasso4_.child_node_name_crc as child7_4_2_,
parentasso4_.is_primary as is8_4_2_,
parentasso4_.assoc_index as assoc9_4_2_
FROM
alf_node_status nodestatus0_ left outer join alf_node nodeimpl1_ on nodestatus0_.node_id=nodeimpl1_.id left outer join alf_store storeimpl2_ on nodeimpl1_.protocol=storeimpl2_.protocol and nodeimpl1_.identifier=storeimpl2_.identifier left outer join alf_node_aspects aspects3_ on nodeimpl1_.id=aspects3_.node_id left outer join alf_child_assoc parentasso4_ on nodeimpl1_.id=parentasso4_.child_node_id
WHERE
nodestatus0_.protocol=:1 and
nodestatus0_.identifier=:2 and
nodestatus0_.guid=:3
01-29-2010 07:16 AM
# Properties to limit resources spent on individual searches
#
# The maximum time spent pruning results
system.acl.maxPermissionCheckTimeMillis=1000
# The maximum number of results to perform permission checks against
system.acl.maxPermissionChecks=100
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.