Home Documentum

xPlore error - Not allowed to query non meaningful words

edited May 5, 2017 in Documentum

Getting the below error in xPlore query. Please help..

Capture.JPG.jpg

Comments

  • edited May 5, 2017

    What is the original query that is sent to xplore? If you are using xplore wildcard function, then you dont need to pass wildcard as part of the search term.

  • edited May 5, 2017

    The original query sent is -

    let $libs := collection('/repo_vbox/dsearch/Data') let $results := for $dm_doc score $s in $libs/dmftdoc[(dmftmetadata//a_is_hidden = "false") and (dmftversions/iscurrent = "true") and (dmftinternal/i_all_types = "0300303980000282") and (dmftmetadata//object_name ftcontains ".*%.*" with wildcards) and (dmftmetadata//title ftcontains ".*index.*" with wildcards)] order by $dm_doc/dmftmetadata//object_name collation "en" return $dm_doc return (dsearch:compute-facets((<def><name>doc_edas_type</name><max>21</max><attribute>dmftmetadata//doc_edas_type</attribute><orderBy>NONE</orderBy></def>), $results, <config><attributeIndex attribute='dmftmetadata//owner_name'>0</attributeIndex><attributeIndex attribute='dmftsecurity/acl_name'>1</attributeIndex><attributeIndex attribute='dmftsecurity/acl_domain'>2</attributeIndex><attributeIndex attribute='dmftmetadata//doc_edas_type'>3</attributeIndex></config>),for $dm_doc in subsequence($results,1,351) return <r>{for $attr in $dm_doc/dmftmetadata//*[local-name()=('r_object_id','r_version_label','object_name','r_object_type','a_content_type','a_application_type','r_is_virtual_doc','r_link_cnt','r_lock_owner','r_policy_id','r_assembled_from_id','r_immutable_flag','r_frozen_flag','i_is_reference')] return <attr name='{local-name($attr)}' type='{$attr/@dmfttype}'>{string($attr)}</attr>}{xhive:highlight(($dm_doc/dmftcontents/dmftcontent/dmftcontentref,$dm_doc/dmftcustom))}<attr name='score' type='dmdouble'>{string(dsearch:get-score($dm_doc))}</attr></r>)

Sign In or Register to comment.