xPlore error - Not allowed to query non meaningful words

Options
prg_ab_ch
edited May 5, 2017 in Documentum #1

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

Capture.JPG.jpg

Tagged:

Comments

  • DCTM_Guru
    edited May 5, 2017 #2
    Options

    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.

  • prg_ab_ch
    edited May 5, 2017 #3
    Options

    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>)