Question
· Nov 15, 2019

Atelier Search seems broken? Replace Cache with IRIS.

Hi, I have Atelier working. When I try to search the entire RPMS code base for Cache to replace with IRIS I get this on Altelier search:

 

An internal error occurred during: "Atelier Search".
Failed to read /api/atelier/v2/RPMS/action/search?query=.%2ACache.%2A&documents=%2A.cls%2C%2A.java%2C%2A.png%2C%2A.confluence%2C%2A.html%2C%2A.mediawiki%2C%2A.tracwiki%2C%2A.mdtext%2C%2A.shtml%2C%2A.doc%2C%2A.workingsets%2C%2A.chromium%2C%2A.patch%2C%2A.adoc%2C%2A.js%2C%2A.emof%2C%2A.macrodef%2C%2A.markdown%2C%2A.bmp%2C%2A.htpl%2C%2A.diff%2C%2A.xml%2C%2A.bas%2C%2A.xmi%2C%2A.ico%2C%2A.shtm%2C%2A.textile%2C%2A.twiki%2C%2A.ent%2C%2A.ecore%2C%2A.wsdl%2C%2A.ant%2C%2A.svg%2C%2A.md%2C%2A.prefs%2C%2A.jpeg%2C%2A.json%2C%2A.txt%2C%2A.int%2C%2A.rtn%2C%2A.xhtml%2C%2A.server%2C%2A.csr%2C%2A.mod%2C%2A.css%2C%2A.csp%2C%2A.class%2C%2A.xsd%2C%2A.docx%2C%2A.gif%2C%2A.log%2C%2A.exsd%2C%2A.xsl%2C%2A.xslt%2C%2A.e4xmi%2C%2A.mac%2C%2A.setup%2C%2A.mvb%2C%2A.ad%2C%2A.asciidoc%2C%2A.wml%2C%2A.dtd%2C%2A.mvi%2C%2A.htm%2C%2A.jpg%2C%2A.inc%2C%2A.properties&max=2147483647&sys=1&gen=0
 

Discussion (4)0
Log in or sign up to continue

just a guess:

with 850 chars length, this looks somewhat oversized.

and the query itself doesn't make much sense:

?query=.*Cache.*
&documents=*.cls,*.java,*.png,*.confluence,*.html,*.mediawiki,*.tracwiki,*.mdtext,*.shtml,*.doc,*.workingsets,*.chromium,*.patch,*.adoc,*.js,*.emof,*.macrodef,*.markdown,*.bmp,*.htpl,*.diff,*.xml,*.bas,*.xmi,*.ico,*.shtm,*.textile,*.twiki,*.ent,*.ecore,*.wsdl,*.ant,*.svg,*.md,*.prefs,*.jpeg,*.json,*.txt,*.int,*.rtn,*.xhtml,*.server,*.csr,*.mod,*.css,*.csp,*.class,*.xsd,*.docx,*.gif,*.log,*.exsd,*.xsl,*.xslt,*.e4xmi,*.mac,*.setup,*.mvb,*.ad,*.asciidoc,*.wml,*.dtd,*.mvi,*.htm,*.jpg,*.inc,*.properties
&max=2147483647
&sys=1
&gen=0
 

I doubt that you have all those file extensions available in Caché  or IRIS

Reduce it to the few useful ones that you konw from Studio:

*.prj,*.mac,*.int,*.mvi,*.inc,*.bas,*.cls,*.csp,*.csr,*.xml,.*js.*.css,*.xsl.*.xsd,*.mvb,*.dfi
 

Thanks for the response, I will use anything that will work. Goal is to replace the word Cache with IRIS. I did use %RCHANGE which somewhat worked.  It errored on some of the instances of Cache but succeeded in others.  What would source control for IHS FOIA RPMS in a CACHE.DAT benefit? 

In Altelier I tried just .int as an extension and get this: An internal error occurred during: "Atelier Search".
Failed to read /api/atelier/v2/RPMS/action/search?query=.%2ACache.%2A&documents=%2A.int&max=2147483647&sys=1&gen=0

-- IV