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

Similar Messages

  • 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

  • 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

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

  • 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.

  • 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.

  • Sorting a Query of a  Verity search

    I'd like to sort a verity collection's output by the latest
    date of the record.
    The way I did this in CF5 was to query the results of the
    verity search ORDER BY KEY DESC (key being the ID of the record,
    and therefore I got the order the way I wanted it)
    In CFMX it does not allow this, here is the error I'm
    getting:
    Query Of Queries syntax error.
    Encountered "KEY. Incorrect ORDER BY column reference [KEY].
    Only simple column reference, alias name, and integer column
    id are allowed.
    (an interesting note is that when I pass the records ID to
    CUTOM1 the sort works, however, I cannot do that because the way I
    built the results to display is based on the key desc etc.....)
    anyone know why this is and how to get around it?
    Thanks
    Yankee

    What position in your select statemen is the KEY column? If
    it is in the first position, just ORDER BY 1 DESC, if it is in the
    second, ORDER BY 2 DESC, etc.
    Phil

  • Verity Search Error

    I just started a Verity search engine for a very large site,
    and have gotten the following error message a couple of times:
    There was a problem while attmpting to perform a search.
    Query has a parsing error. (-40)
    at com.verity.k2.K2Search.receive(Unknown Source)
    at com.verity.search.ProcessSearch.processNormal(Unknown
    Source)
    at com.verity.search.ProcessK2Operation.submit(Unknown
    Source)
    at com.verity.search.VSearch.getPSearch(Unknown Source)
    at com.verity.search.VSearch.getResult(Unknown Source)
    at
    coldfusion.tagext.search.SearchTag.doSearch(SearchTag.java:260)
    at
    coldfusion.tagext.search.SearchTag.doStartTag(SearchTag.java:157)
    at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908)
    at cfsearch2ecfm246570528._factor0(...\search.cfm:36)
    at cfsearch2ecfm246570528._factor5(...\search.cfm:30)
    at cfsearch2ecfm246570528.runPage(...\search.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.ja...
    <br>The error occurred on line 36.
    The tag for the search is as follows:
    <cfsearch collection="#form.collect#" language="English"
    type="SIMPLE" criteria="#Session.searchTerm#"
    name="Session.results">
    on line 36.
    I have not been able to reproduce the error, and there isn't
    anything strange about the search terms submitted.
    This is the first time I've used Verity, and would appreciate
    any words of wisdom as to what might be the cause of this error,
    and how to eliminate it.

    ok the value is 0
    but i am not sure what that means, i havnt used verity
    before?
    can you help
    just to let you know what i need to do,
    i have a results page which show 1 surname with all that
    persons information, on the same page there is a search by surname
    text box, when this is submited i need to move to the first recoed
    that matches the text box, so then i can still use the next and
    previous buttons to navigate through.
    so really what i need to do is get all the records order them
    by surname then give each of them a id number
    so Abbot = 1, Adcock= 2 etc
    then i should be able to use the next and previous to go
    through them?
    i am just not sure how i can do this?
    hope you can usnderstand what i am trying to do.
    many thanks

  • SOLR search results - improving look and feel

    Our team has been in the process of moving our site search from Verity to Solr.  We are running CF9. I am able to build the collections and search them but have run into a problem.  Hopefully, someone can shed some light on a solution.  We are using cflincludes which can be either cfm or html files.  When the search results are displayed and clicking on one of the links that happen to be one of the included files, none of the css is applied which is usually displayed from the file containing the cfinclude.  Is there a way to have Solr display the link to the file that contains the cfinclude with all the CSS displayed properly as oppopposed to the included file?

    No, the content is all contained on the included file.  The cfm page is only 15-20 lines long which defines the css.  This was done because the included page is displayed on both our internet and intranet site.  Since the content was the same but the css is different for those two, in order to not duplicate the content, we went with the approach to define the content in one page and have it included into the other two which would display the css (i.e. banners, menus, etc.) depending on whether you were on the internet or intranet site.
    The way I think that Solr is indexing is that it is really doing no work on the cfm page since there is no content at all.  It is picking up the included file which contains all of the content.  Then when the link is hit on the search display, it just displays the included file with no css.

  • Verity Search - exclude html tags when indexing?

    I have a table I want to index, but some data stored in the
    table contains HTML.
    I want to index the content, but I want all HTML tags to be
    excluded.
    This is a problem, say you had a table storing all retail
    stores, there's some HTML in the data, and you do a Verity search
    for "Target" (as in the Target retail store). You will return a lot
    of irrelevant results if there's a
    target="blank" attribute in an A HREF tag, for example. Can
    you strip these out during the <CFINDEX> ?
    Any idea on how to accomplish this?

    Hi user494326,
    I'm actually having trouble getting html into a CLOB. It sounds like you were able to do this successfully. What did you do to get it in as far as escaping characters, etc. I'd love to see how you handled that, it would be greatly appreciated!

  • Verity search engine or Google Mini?

    Im setting up a website for a medium sized business and havnt
    implemented the Coldfusion Verity search into the site yet... but I
    was looking over the Google Mini and seems like an nice/intuitive
    nice little box.
    Should I go with the $2000 mini price tag if the company
    wants effecient search results?

    Do a malware check with some malware scan programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Verity Search Server on Macintosh

    I was intending to use the ColdFusion Verity Search Service but the service is unable in the ColdFusion Administrator. It would seem the server needs to be installed separately but the link in LiveDocs is unavailable, I’m using CF8 developer on a Macintosh, if anyone knows where I can find the installation software that would be appreciated. Thanks.

    I don't know about that, pwizzard. Here's something else to consider. While there's no "Mac" installer, there is a Linux one. I think that will work for you. Note that you do need to have a license key for CF to get to it. (In other words, this won't work if you're using the Developer edition, because it has no license key.)
    Short answer:
    Go to the page, https://www.adobe.com/cfusion/entitlement/index.cfm?e=verity, enter your CF license key (standard or enterprise), and download the installer (for Linux) from there. Let us know if it works
    It's also unfortunate that the /go/verity/ link fails. While we can't change the CF8 licvedocs page you found, I did change the corresponding CF9 page to offer the link above.
    Long answer:
    As for how I figured out that this may be what you need, here's what I did, in case any of it may help you or others in the future.
    First, I recalled that there was a page of installers that went along with CF. I couldn't remember the link, but I trusted that the Adobe CF site would get me there.
    - I went to the CF front page (can be found via google): http://www.adobe.com/products/coldfusion/
    - choose link in lower right of right nav bar for CF8: http://www.adobe.com/products/coldfusion/coldfusion8/
    - choose link to download trial
    - log in (if you don't want to login, just keep reading).
    - choose link for "related ColdFusion downloads": http://www.adobe.com/support/coldfusion/downloads.html
         - and note that you could also just visit that link directly, now that you know it, without needing to log in
    - there, it offers a section on "Verity (language packs and standalone installer)", and it has the link I offered above
    Admittedly, that page says that the installer is meant for installing Verity on a machine separate from CF, so I wondered if it was what you really needed. I decided to search google for help (coldfusion install verity) and found this http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=othertechnologies_06.htm l. I guess that's the page you had found, because it offers a link to get to the installer, as http://www.adobe.com/go/verity, which fails (and because this is the CF8 docs, we can't even update it with a corrected link if we find one.)
    But note that these help pages offer a popup box that offers a link to the CF9 docs: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/index.html. Unfortunately, that goes to the front page of the docs. You need to note where you were on the previous page (bummer). At the top of the CF8 doc page, we see that the page was within "Installing and Using ColdFusion / Installing Integrated Technologies". We can select that from the CF docs front page, which opens to http://help.adobe.com/en_US/ColdFusion/9.0/Installing/WSc3ff6d0ea77859461172e0811cdec18c28 -7ff1.html.
    The link for the verity page itself is http://help.adobe.com/en_US/ColdFusion/9.0/Installing/WSc3ff6d0ea77859461172e0811cdec18969 -7ffd.html. Sadly, that page (almost identical to the CF8 one) also has that failing link, but at least we can update the page with the proper one.
    I wasn't positive that it was the right link, until I did some more digging. (FWIW, I tried to find any old version of the go/verity page at archive.org, but no luck. Returning to the google search results list, I did find this, though: http://www.adobe.com/support/coldfusion/verity_reg/register/index.cgi. That looked just like the first link offered above, though only for CF7, so I was more confident that the first link I offered is indeed what you need.)
    I thought to search google for the specific phrase "adobe.com/go/verity", and there it found a couple of other CF9 doc pages, and one of them (https://www.adobe.com/cfusion/entitlement/index.cfm?e=verity) did also have the bad /go/verity link, and someone offered in a comment a link to (again) the original download page I offered (https://www.adobe.com/cfusion/entitlement/index.cfm?e=verity). So that really seems the right page, and I have added a comment to http://help.adobe.com/en_US/ColdFusion/9.0/Installing/WSc3ff6d0ea77859461172e0811cdec18969 -7ffd.html.
    One last thing: while the download page doesn’t have an OS X-specific installer, the help page does mention OS X and says getting this installer is the solution, and it does offer a Linux installer to look for, so I suppose that's what you are supposed to you. One thing that still has me a little suspect of things is that I did use a key to get to that download page, and I see the filename offered for the Linux installer is "coldfusion-search-lin.bin", not the "ColdFusion_9_Verity_linux.bin name offered". But maybe it's just a doc inconsistency.
    Anyway let us know if it helps.
    /charlie

  • Error while adding a 'Ext No' field to Activities Search Result List on UI

    Hi Experts,
    The requirement is to add a new display field u2018External Nou2019to the activities SEARCH Result list.
    At the moment activities are displayed with start date, end date and category, now the user want to display External No as well.
    The details for that
    Target:
    Component:BT126S_APPT
    View:bt126s_Appt/ApptSR
    Context Node:BTQRACT
    New attribute 'EXTERN_ACT_ID' to be added to the context node.
    Source: component: BT125H_TASK
    View: BT125H_TASK/TaskDetailsOV
    ContextNode:BTACTIVITYH
    Attribute:Struct.Extern_Act_Id
    BOL Relation:
    BOL ENTITY: BTQRAct
    BOL Attribute: BTADVSAct -> BTOrderHeader -> BTHeaderActivityExt/EXTERN_ACT_ID
    When i tried to added the attribute to the context node BTQRACT, it gave me the error 'method CL_BT126S_A_APPTSR_CTXT CREATE_BTQRACT DOES NOT EXIST.
    please give me some inputs.
    Regards
    Krishna

    Hi steve,
    Still my issue was not resolved, could you help me to find the exact error.I have enhanced the component, view and context node, still i couldn't able to add attributes to the context node BTQRACT.I tried to add several fields, but it is giving the same error 'METHOD CL_BT126S_A_APPTSR_CTXT' CREATE_BTQRACT DOES NOT EXIST'. I have checked the OSS messages and found 2 relavant to this component. I have implemented both the Sap Notes 1363752, 1226612. Still after implementing the OSS note, i am getting the same error.My guess is one of the method is missing. Please help me out?
    Regards
    Krishna

  • Podcast No Longer Showing Up on iTunes Search Results

    We submitted our podcast months ago and it showed up on the iTunes store just fine. Somewhere along the way, someone on our end introduced a code error in the .xml file that broke the links to the audio files. We didn't find this issue out for quite a while, and in that time, it appears that iTunes flagged and took down our podcast feed from the store (I'm assuming because of this code error).
    I have since remedied the code issues and I can subscribe directly to the feed now, so it is working fine. But I cannot get the store to show the podcast in any search results. When I try to resubmit the feed the store says it is already submitted - even if I change the url and the .xml file name, so it is clearly smarter than I am, haha.
    Any tips on how to get out of this problem? It has been several weeks and the podcast still does not show up on the store.
    Thanks,
    Bill

    Roger,
    Thanks for the reply - in the time it took me to hit submit and tab back to my .xml file I saw that I'd missed changing the link/title. Thank you for confirming that this will do it - it let me resubmit. Take care!
    Bill

  • Sorry, something went wrong - Open Office File from Search Results Page with Office Web Apps

    Hi,
    I'm getting "Sorry, something went wrong" error when I'm trying to open any office document from inside Search Results Page with Office Web Apps, the same error is appearing in the document preview as well.
    The error in SharePoint logs says that the file cannot be found.
    Please note that this error is coming only when the "Filename" of the document is not written in English (in my case its written with Arabic characters).
    If I try to open it from the document library, its opening properly with no errors.
    The only difference between two URLs (document URL in Search Results and in Document Library) is the value for "sourcedoc" attribute;
    In the case of Search Results page, the filename in "sourcedoc" attribute is kept as is with Arabic characters.
    While in the Document Library, the filename in "sourcedoc" attribute is converted into different characters (something like: "B9%D9%85%D9%8").
    Anybody have an idea on how to overcome this issue, implement a workaround or modify the "sourcedoc" behavior?
    Thanks in Advance.
    Hamza AlSughier

    Dear Wendy,
    Thanks for your efforts, I already tried your last suggestion before, but this didn't solve my problem.
    Actually my end users are accessing this portal using ADFS and HTTPS.
    Finally I got this solved, I have done below to get my overall solution working perfectly:
    - First I have configured Windows Authentication and ADFS Authentication on the same zone which is the default zone.
    - The issue when opening office documents with Arabic file name has disappeared as a result of first change.
    - Then I have faced an issue where we are not able to crawl content under Default zone, however we have to do so, after too many efforts, I found that its related to the Load-balancer/proxy, I have made the crawler server
    to crawl himself (http://CrawlServerName:PortNumber).
    - Also a change on Alternate Access Mapping was needed, I have set one of the extended zones (which is running Windows Authentication only) as Internal URL for the Default Zone, and this is was the URL I used for Crawling.
    I have configured Server Name Mappings to make sure we got proper URLs in Search Results.
    - Then we faced another issue, which is Authentication selection on login page (How to bypass this page, and authenticate using ADFS auto), I used this solution (Set Custom Sign In Page):
    http://0ut0ftheb0x.wordpress.com/2014/01/04/skip-the-authentication-selection-page-at-_logindefault-aspx-in-a-mixed-authentication-environment/.
    - I faced one more issue as a result of above workaround; Sign Out functionality wasn't working well; users get logged in automatically whenever I click on Sign Out. I solved this by modifying the "Sign Out" Control under _layouts;
    I made it to redirect users to ADFS Sign Out Page instead of SharePoint Sign Out Page (I know its not recommended, but I don't have any other option).
    Hamza AlSughier

Maybe you are looking for