Verity search results return application.cfm

We've got a couple of sites using verity collections to
search cfml, html, and some mime documents. This is generally
successful. However, we do see coldfusion script-only pages
returning in the search results, including application.cfm, and
other cfm pages that do not display content to the end-user. Since
there is no HTML renderable content in these pages, why do they get
included in the results?
How can I control this behavior? I've looked at the verity
documentation, and am trying to use the mkvdk utility to delete
application.cfm from the collection documents, but am getting an
error. If I can get the syntax down correctly, is this the proper
way of addressing the problem?
For instance, I am using the command string:
mkvdk -delete -collection
C:\CFusionMX\verity\collections\intranet\file application.cfm
on my local development machine to try and test this, but get
an error BadKeys: application.cfm
I don't understand why these types of files get included in
the collection in the first place. Oh, we are running CFMX6.1.
Thanks for any help.
Kris

The issue is not how to remove all CFM files from the
collection. We just want CFM files that do not output anything to
the user to be excluded from the search index. Most of the files in
this site are CFM files. Most importantly would be application.cfm,
form action pages, and other included files.
Certainly we could parse the results for a filename in a
predefined list, but we are trying to avoid defining this
programmatically; thinking that it is odd that these files get
included in the results at all. In the past we have segmented sites
using .cfm and .cfml as a way of excluding specific files from the
index (in the collection definition, we would not include the
specific extension as required). But this site has been in
production for some time, and is just now adding a search feature.
We don't want to rename files, and have to recheck every single
page and link in the entire site.
Does that explain what we're trying to do better?
Cheers,
Kris

Similar Messages

  • Verity returning application.cfm

    We've got a couple of sites using verity collections to
    search cfml, html, and some mime documents. This is generally
    successful. However, we do see coldfusion script-only pages
    returning in the search results, including application.cfm, and
    other cfm pages that do not display content to the end-user. Since
    there is no HTML renderable content in these pages, why do they get
    included in the results?
    How can I control this behavior? I've looked at the verity
    documentation, and am trying to use the mkvdk utility to delete
    application.cfm from the collection documents, but am getting an
    error. If I can get the syntax down correctly, is this the proper
    way of addressing the problem?
    For instance, I am using the command string:
    mkvdk -delete -collection
    C:\CFusionMX\verity\collections\intranet\file application.cfm
    on my local development machine to try and test this, but get
    an error BadKeys: application.cfm
    I still think it's retarded that these types of files
    included in the collection in the first place. Oh, we are running
    CFMX6.1.
    Thanks for any help.
    Kris

    My first thought, because I have made this mistake several
    times is that the "A" in Application.cfm needs to be capital on
    *nix systems. I am not sure if that includes Macs.

  • Verity search results

    Is it possible to encrypt the url of the file in the verity
    search results, so that the user can't view the actual folder
    structure of the file. Please help if some one knows how this could
    be done. I would really appreciate it.
    Thanks

    The issue is not how to remove all CFM files from the
    collection. We just want CFM files that do not output anything to
    the user to be excluded from the search index. Most of the files in
    this site are CFM files. Most importantly would be application.cfm,
    form action pages, and other included files.
    Certainly we could parse the results for a filename in a
    predefined list, but we are trying to avoid defining this
    programmatically; thinking that it is odd that these files get
    included in the results at all. In the past we have segmented sites
    using .cfm and .cfml as a way of excluding specific files from the
    index (in the collection definition, we would not include the
    specific extension as required). But this site has been in
    production for some time, and is just now adding a search feature.
    We don't want to rename files, and have to recheck every single
    page and link in the entire site.
    Does that explain what we're trying to do better?
    Cheers,
    Kris

  • How to limit the number of search results returned by oracle text

    Hello All,
    I am running an oracle text search which returned the following error to my java program.
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    #### ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    java.sql.SQLException: ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    When i looked up the net, one suggestion that was given is to narrow the wildcard query, which i cannot in my search page. Hence I am left with the only alternative of limiting the number of results returned by oracle text search query.
    Please let me know how to limit the number of search results returned by oracle text so that this error can be avoided.
    Thanks in advance
    krk

    Hi,
    If not set explicitly, the default value for WILDCARD_MAXTERMS is 5000. This is set as a wordlist preference. This means that if your wildcard query matches more than 5000 terms the message is returned. Exceeding that would give the user a lot to sift through.
    My suggestion: trap the error and return a meaningful message to the user indicating that the search needs to be refined. Although it is possible to increase the number of terms before hitting maxterms (increase wildcard_maxterms preference value for your wordlist), 5000 records is generally too much for a user to deal with anyway. The search is not a good one since it is not restricting rows adequately. If it happens frequently, get the query log and see the terms that are being searched that generate this message. It may be necessary to add one or more words to a stoplist if they are too generic.
    Example: The word mortgage might be a great search term for a local business directory. It might be a terrible search term for a national directory of mortgage lenders though (since 99% of them have the term in their name). In the case of the national directory, that term would be a candidate for inclusion in the stoplist.
    Also remember that full terms do not need a wildcard. Search for "car %" is not necessary and will give you the error you mentioned. A search for "car" will yield the results you need even if it is only part of a bigger sentence because everything is based on the token. You may already know all of this, but without an example query I figured I'd mention it to be sure.
    As for limiting the results - the best way to do that is to allow the user to limit the results through their query. This will ensure accurate and more meaningful results for them.
    -Ron

  • Verity search results across multiple pages

    Hi, I am attempting to implement verity search on my website and am using the code below for the search, and search results page.
    Currently the results are limited to 5 as specified by the maxrows command. How can I implement a forward and back feature across multiple pages? (like google search results)
    Search:
    <cfparam name="form.params" default="">
    <cfparam name="target" default="searchVerity">
    <cfoutput>
    <form method="post" action="results1.cfm">
    <p>
    Enter your search term(s) using AND, OR, NOT and parens.
    Surround an exact phrase with quotes.
    </p>
    <input type="text" name="params" size="75" value="#form.params#">
    <br />
    <input type="submit" value="Search">
    </form>
    </cfoutput>
    Result Page:
    <cfparam name="form.params" default="">
    <cfparam name="target" default="searchVerity">
    <cfsearch
    name="foundResults"
    collection="search"
    criteria="#form.params#"
    contextPassages = "1"
    contextBytes = "300"
    maxrows = "5">
    <hr />
    <h3>Search Results</h3>
    This search returned a total of <cfoutput>#foundResults.recordCount#
        </cfoutput> results.
    <cfoutput query="foundResults">
    <hr />
    <p>
    File: <a href="#foundResults.URL#" target="_blank">#
        foundResults.title#</a> (score=#foundResults.score
        #)<br />
    Highlighted Summary: #foundResults.context#
    </p>
    </cfoutput>

    Hi All,
    Has anyone tried to implement the jsptags in Servlets?
    I am using Servlets and required a Search display like this. I have my results being retrieved from a class and I am trying to display these results in a table format.
    i.e.
    Customer c = new Customer();
    c.retrieveCustomers();
    then i iterate through the customers
    while(c.next){

  • Verity search results showing SQL code

    This site is still in development and that's why the domain
    hasn't transferred yet:
    http://financial-strategist.dataride-previews.com/index.cfm.
    If you perform a search for the word
    business, for example, some of the search results display
    the SQL query code. How can I eliminate this from being included in
    the search results?
    My results page is as follows:
    <cfsearch
    name = "fs_search"
    collection = "fsdocs, affdocs, bodocs, profdocs, wibdocs"
    criteria = "#Form.Criteria#"
    maxrows = "35">
    <CFOUTPUT QUERY="fs_search">
    <a
    href="#url#"><strong>#Title#</strong></a>
    <br>
    #Summary# <br />
    <br />
    </CFOUTPUT>

    There are two ways Verity can index your CF pages (that I know of). One is to do it through the CF Admin Verity Collection and the other is the command line vspider.exe. I believe only the vspider will actually process your CF pages (processing your SQL as well) and the Verity Collection method in the CF Admin will only "read" your CF pages, this "reading" will just display what's in the pages (minus CF includes, etc.).
    I could be wrong in this of course because I've learned by trial and error. My experience has been the CF community sites (this one, HOF and Dev Shed) are very slim on Verity help. So I'd say RTFM as much as you can. HTH

  • Need search results Return only Pages

    I have a client with the following scenario. He has SharePoint 2013 with a 2010 web application/site collection with custom branding, which means NO visual upgrade.
    The requirement is have search only return pages, as this is a public facing site. But how do i do that?
    If it was Sp2010 i would use a scope but there is no way to use a scope with 2013.
    WIth 2013 i would create a custom query rule but since the site is 2010 mode, the search parts are looking for scopes.
    Please Help.
    Nando

    You can create results sources on Search Service application and that can be used by All site collections in web applications that consume the Search service application.
    Referrence:
    http://technet.microsoft.com/en-us/library/jj683115(v=office.15).aspx

  • CMX 7 Verity Search Results

    Hello,
    No problem creating a collection and using a query of queries
    to manipulate my search results. How do I keep my CF scripts/code
    out of the search results?
    Thanks

    Thanks for the response. However, all of my files are
    Coldfusion(cfm) so this will not help. I've read where folks are
    using regex to parse out the scripts or just retrieve the title and
    description tags from the page.

  • WCP Framework 11g and SES 11g : search results are not secured

    Hello,
    We are integrating WCP 11.1.1.6 and SES 11.1.2.2
    we have quite a stunning issue here where the search results returned by a WCP Framework application are not secured, ie secured contents are returned in the search results for unauthenticated users and for users who have no permission on these contents.
    Though, the search results are well secured in the standard SES search interface (http://seshost/search/query/).
    The main concern is about results coming from WCC.
    Thanks for any help,
    Vince

    Hi Jiri,
    we managed to integrate UCM and WCP with Document Service taskflows and it works fine, ie security is well propagated for the roles we want.
    WCC/UCM and WCP authenticate users via WLS which is connected to an AD.
    SES has its own identity management system which authenticates users directly to the AD.
    We activated the SESCrawler component in WCC/UCM and the SES/UCM crawling process is OK.
    We can search for UCM contents in SES without issue and anonymous/unauthenticated search in SES doesn't return results from non-public security groups, which is what we want.
    WCP search is connected to SES (which is the default setting), eg from adf-config.xml:
    <searchC:adf-search-config xmlns="http://xmlns.oracle.com/webcenter/search/config">
    <display-properties>
    <common numSavedSearches="5" />
    <region-specific>
    <usage id="simpleSearchResultUIMetadata" numServiceRows="5" />
    <usage id="searchResultUIMetadata" numServiceRows="5" />
    <usage id="localToolbarRegion" numServiceRows="5" />
    </region-specific>
    </display-properties>
    <execution-properties timeoutMs="7000" prepareTimeoutMs="1000" />
    <crawl-properties fullCrawlInterval="P5D" enableWcServicesCrawl="true" enableWcDiscussionsCrawl="true" enableWcUcmCrawl="true" />
    <ses-properties>
    <connection>ses</connection>
    <data-group>SourceGroup</data-group>
    </ses-properties>
    </searchC:adf-search-config>
    So the problem is that anonymous/unauthenticated search in WCP does return results from non-public security groups, which is not what we want.
    eg: access to the WCP app (don't logon)
    run a search
    in the search results, you can see contents which are not assigned in the public security group. Though, the WCC/UCM guest role doesn't have any permission on these SG.
    I can't raise SR myself.
    Thanks for any help,

  • Verity Search Problem

    I'm having trouble with my verity search results page.
    Some of the document titles are missing, the score is fine, its just the title that seems random.
    Can anyone help?
    My code is below:
    search form:
    <p>
    <strong>What would you like to search for?  </strong>
      <form name="form1" method="post" action="?area=documentresults">
      <p>
        <input name="criteria" type="text" id="criteria">
        <input type="submit" name="Submit" value="Submit">
      </p>
      </form>
      </p>
    results :
    <cfsearch name="YourSearchName"
                    collection="documents"
                    criteria="#form.criteria#">
      <strong>Your Results</strong>
    <cfoutput query="YourSearchName">
         <p><a href="documents#URL#">#title#</a><br>
         Score: #score#</p>
    </cfoutput>

    limabravo wrote:
    > the collection is utf-16(comming from a mssql database).
    I have a verity
    > collection in traditional chinese and one in simplified
    chinese. But the data i
    > put into the collection won't be retuned when i search
    on it. And even when i
    > get results(sporadicly) the "summary" field contains
    different characters then
    > that i put into the collection.
    not 100% sure but i think you want unicode encodings not the
    "language" ones as
    i think those are codepages. and i also don't think you want
    utf-16, utf-8 is a
    better choice w/cf.

  • Custom Metadata is not in Search Result result set

    Hello. I have created a custom metadata xDAMAuthor. I have used it in a rule for check-in profile. Also have check-in a content by filling this field. Now the search form has this metadata as one of its field and I can search by using this field, also the search result returns the aforesaid content which I have checked-in. When I am looking into the SOAP format of the GET_SEARCH_RESULTS then that metadata is not there in the row of the SearchResults resultset. But if I see the SOAP format of the DOC_INFO of that content the DOC_INFO resultset contains that metadata. How can I solve the problem?
    Note: In the Admin Applet->Configuration Manager->Information Fields, Enable for Search Index is checked for this metadata.
    Thanks.

    the search result returns the aforesaid content which I have checked-in
    And do you see you metadata in the results? I guess you don't. Unless you followed http://docs.oracle.com/cd/E23943_01/doc.1111/e10797/c03_finding_files.htm#CIHEFHAI and created a custom search result template.
    I am sure that GET_SEARCH_RESULTS have all the metadata from returned items somewhere (probably in a result set), but I'm not sure what's returned - it could be very well the row as you see in the browser. Therefore, you might tried to use your custom search result template in your call (in fact, I think for a user always the default one is used).
    Should be easy to give it a try.

  • Help with Search Result Query Builder (CSWP)

    Greetings,
    Is there a way to limit the number of search results returned based on each property value?  Hard to phrase my question, so I'll give my example.
    I have a Content Search Web Part that is returning results from a specific list that has a column called Category with 6 options (ex, A, B, C, D, E, F).  I want my query to return the newest 4 items by date that are tagged from each category value.
     So, latest 4 items tagged with A, latest 4 tagged with B, etc.  My CSWP would return 24 items from the query.
    Hope that makes sense.  So, is this possible through the Search query?
    Thanks!
    -B

    Hi Brian,
    Per my knowledge, it is impossible to do via Search Query in Content Search web part.
    As a workaround, you can add a Refinement Web part into the page, then click the refiner to filter each options to display the latest associated four items.
    You can do as the steps(assuming I create a list with a column called “testCategory”, like your Category column ):
    Do a full crawl for the content source.
    Create a managed property called “testCategory” to map it to the crawled property
    ows_ testCategory.
    Then do a crawl again for the content source.
    Go to a page, add a Refinement web part and a Content Search web part into the page.
    Edit the Refinement web part->Choose Refiners, add testCategory under
    Available refiners into Selected refiners.
    Remove other refiners except testCategory, click OK and OK.
    Edit the Content Search web part->Change query.
    Select a query: Local SharePoint Results, and the Query text is : Path:<the URL of the list>
    Click SORTING tab, and Sort by: LastModifiedTime(Descending), click OK.
    Under Change query, Number of items to show: 4.
    Click OK, and save the page.
    The result is like:
    After Clicking A, we can see the latest 4 items related to A:
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • How to integrate custom / application generated data to the endeca search results

    Hi,
    I am relatively new to the ATG development. And I have a requirement of integrating application generated (read records from a Database) records to the returned results from endeca.
    As summary, What I need is, to display the few DB records with the results returned from the endeca index. Then the user should be able to see the full results.
    The site has search option and once the user type a key/word then the returning results should include items from both the endeca index and the third-party database.
    First I want to know whether this kind of integration is supported in endeca. And if yes what is the best way/practice to do it?
    Highly appreciate if you can help/guide on this.
    Thanks you,
    Wenushka

    Yes it is possible. Refer Endeca Data Integration whitepapers available on oracle support (Require access to https://support.oracle.com).
    Doc ID 1396433.1

  • **All attributes not returned in search result**

    hi everyone,
    I urgently need some help on ldap search.
    I have a directory structure something like
    c=xyz
    +-ou=x
    ------+-ou=1
    ------+-ou=2
    ------+-ou=3
    ------+-cn=crl here
    ------+-ou=4
    now when i am searching this node and displaying all "ou" under
    "ou=x,c=xyz" the search is not showing the nodes after the "cn",which
    is in-between the "ou"s
    i am using jsp, jndi, critical path directory server
    ================some code i am using for the search
    DirContext ctx=new InitialDirContext(env);
    SearchControls constraints = new SearchControls();
    constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
    constraints.setReturningObjFlag(true);
    NamingEnumeration results=ctx.search
    (SearchBase,"objectClass=*",constraints);
    while(results!=null && results.hasMore())          
    SearchResult sr = (SearchResult) results.next();
    attrs=sr.getAttributes();
    attr= attrs.get("ou");
    %>
    <hr>attrs: <%=attrs.toString()%>
    <br>Cert Name: <%=attr.get()%>
    <%     
    }// end of while
    ================
    the code above returns only
    ou=1
    ou=2
    ou=3
    But it is not returning
    "ou=4", which comes after "cn=crl.."
    thankyou in advance for your help
    from vikram.

    Hi Sigge,
    as i know, when we do crawl, it is based on the crawl scope, and it should crawl all the web applications.
    http://technet.microsoft.com/en-us/library/dn535606(v=office.15).aspx#BKMK_CrawlDefaultZone
    perhaps you can check for the managed property rules, and make sure the managed property is listed, and try to change to searchable.
    references:
    http://blogs.technet.com/b/tothesharepoint/archive/2013/11/11/how-to-add-refiners-to-your-search-results-page-for-sharepoint-2013.aspx
    http://technet.microsoft.com/en-us/library/jj679902(v=office.15).aspx
    http://sharepoint.stackexchange.com/questions/86556/problem-using-sharepoint-2013-search-to-filter-by-managed-property
    http://www.spsdemo.com/lists/code/psview.aspx?List=e8ea501a-fd9d-4dae-9626-808a49d34dc8&ID=21&Web=b5d35eb4-a015-4614-9ff6-b860c3d3d1af
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Cortana return Bing search result instead of "chit chat".

    Issue: CORTANA did not do chit chat but instead returns Bing search results.
    Examples: "Who's your daddy", "Sing a song", "Tell a joke"
    Settings:

    settings:
    - language: English(United States)
    - region: United States, English ( United States)
    -speech: English (United States)
    So you appear to be developing an app or you wouldn't have posted in this
    Windows and Windows phone apps , Windows Phone Dev Center > Dev Center App forum.
    I don't get the issue. You don't provide any code for your application or what your application is supposed to do with regard to
    CORTANA. So why shouldn't CORTANA return BING search results rather than some kind of Chat thing?
    La vida loca

Maybe you are looking for

  • Creation of new iViews not possible because templates missing

    Hello, I do troubleshooting to this problem but still didn't found a solution. Before this problem came up an creation of iViews were possible. I'm not able to reproduce what was changed since then. I'm using an NW04s Portal SP09: If I try to create

  • How to add aggregation on multiple objects in a single webi table?

    Hi experts, I recently face an requirement that show a report table in a specific format. Let me show you in a simple example, let's say we have three dimensions and one measure. Product, Region, Quarter and Sales. When put these objects in an vertic

  • RAM or Graphics?

    I use a program called WoW Model Viewer through parallels which shows model animations from World of Warcraft. When the animations are bigger / closer to screen, it starts dropping frames and lags. Which is needed to improve the frame rate on animati

  • SQL Developer - Problem Exporting Results at times - ver 1.5.3 build 5783

    Hi, I have been having intermittent problems with running a query and then trying to export the results into an excel spreadsheet. Sometime I have no problem, it brings up the dialog box and I can export. Other times I select export data and pick xls

  • EPCM.getSAPTop().LSAPI.AFPPlugin is null or not an object

    Hello Guys, I am doing customization of AJAX Framework Page in Portal 7.3. I have created a copy of default ajax framework modify it and and my custom page and desktop, and add a new entry in the master rule to use the custom ajax framework page but