Solr Collection contains 0 documents

I am using CF Ver 9.0.0
I have created a Solr Collection via CF Admin
Once Indexed the Solr collection shows 65262 KB data but 0 documents.  This is consistent with other Solr collections but not their verity counterparts.
Documents are located on a separate drive and I am indexing txt, pdf, doc, and xls
Am I doing something wrong?
Thanks

Is this Solr collection created through Verity collection document? If so then it can be due to incomplete migration from Verity to Solr..
As you mentioned, Documents are located on a separate drive. -> Hope you are referring it to local drive on that machine, not any remote machine.. Ideally, it would be able to index the document from local drive from same machine..

Similar Messages

  • Error while trying to create a Solr collection (java.io.IOException: The device is not ready)

    Hello, everyone.
    I'm trying to create a .cfm document that will erase a specific Solr collection and then re-create it, index it, and optimize it.
    The delete works flawlessly. 
    Unfortunately, creating it isn't working, at all.  I get the following message:
    Unable to create collection publicsearch - An error occurred while creating the collection: java.io.IOException: The device is not ready.
    This is a Windows 7 server running Apache and CFServer 9.0.1 (the version before Verity was cut.)  I'm not getting any more details than the one error message.  Any idea of what could be causing this?  I've Googled this and I'm seeing a lot of issues similar, but not quite what I have happening.
    Thanks,
    ^_^

    Nevermind.. no one bothered to inform the developer that the path to the collection AND the path to the directory that the collection is for are different on this other server.
    Fixed.

  • Solr collections disappearing

    Yesterday I created 7 solr collections. I loaded them up with data and started testing the multi-collection search against them using a webservice to access the search. I tested the searching from my local machine and was happy. This will finally resolve an issue we have had for 8 million years!!! This morning I came in and tested it again, still good. So I pushed the update to a semi-live state and allowed some traffic to it. Almost immediately I started getting "Cannot perform web service invocation search." errors. When I went to the CF administrator to see what was going on, none of the collections were listed. All the physical files still existed, but the collections were not longer registered. I restarted the Solr Service and they all came back. Again, I pushed a little traffic and they disappeared immediately.
    There are no entries in the error logs for the server doing the search nor for the server trying to serve the search.
    The server is running CF9.0 enterprise, 64-bit with 7GB of ram to the jvm.The largest collection is 554,000 documents.
    Has anyone seen this behavior before?
    Thanks,
    Scott

    for anyone else that runs into this issue, I found the solution in an article by Mark Kruger at http://www.coldfusionmuse.com/index.cfm/2010/4/4/solr-troubleshooting-coldfusion-9.
    The error was that while CF had plenty of ram in the jvm, solr only allocates 256MB by default. By updating the solr.lax configuration file to allow more ram to solr, I now have stability and a great solution to our problem!
    Scott

  • How to check collection.contains(..) inside a tag ?

    Hi,
    I'm using both struts and jtsl tags in my jsp. JSP session has a Collection named "responses" that contains string objects.
        <c:forEach items="${page.questions}" var="question" varStatus="i">
              <tr>
                   <th align="left"><c:out value="${question.questionId}. ${question.text}"></c:out></th>
              </tr>
            <c:forEach items="${question.answers}" var="answer" varStatus="j">
              <tr>
               <td>     
                         <c:set var="aKey" value="${question.OID}_${answer.OID}"></c:set>
                      <c:if test="${question.type == 1}">
                         <c:out value="${answer.answerId}"/>
                         <input id="<c:out value="KEY_${question.OID}"/>" name="<c:out value="KEY_${question.OID}"/>" type="radio" <c:if test="??? session.getAttribute("responses").contains(${question.OID}_${answer.OID}) ???" ><c:out value="selected=true"/></c:if> value="<c:out value="${question.OID}_${answer.OID}"/>"><c:out value="${answer.text}"/>                 
                      </c:if>
                      <c:if test="${question.type == 2}">
                         <c:out value="${answer.answerId}"/>
                         <input id="<c:out value="KEY_${answer.OID}"/>" name="<c:out value="KEY_${answer.OID}"/>" type="checkbox"  value="<c:out value="${question.OID}_${answer.OID}"/>"><c:out value="${answer.text}"/>                 
                      </c:if>                  
                 </td>
            </tr>                  
            </c:forEach>
         </c:forEach>Please see the following line in the code
    <c:if test="??? session.getAttribute("responses").contains(${question.OID}_${answer.OID}) ???" ><c:out value="selected=true"/></c:if>I need to check if a collection contains a string value or not. If contains I'm selecting the radio button otherwise not.
    Any help will be appreciated!
    Thanks

    There is no way to tell if a collection contains a value.
    If you changed your datastructure to a Map, you can check for the existence of a key in a map, but thats about it.
    Alternatively write a static function for this operation, and import it into the jsp as an EL function.
    Cheers,
    evnafets

  • "The stylesheet does not contain a document element" error

    Hi,
    I'm using Hyperion Financial Management 11.1.1.3
    I successfully created intercompany transactions but when I select the "auto match" to perform the matching process, the running task page ensure that the process is completed successfully. However, when I press "log" I found the following error:
    Error Number:-2147467259
    Error Description:The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.
    Error Source:msxml6.dll
    Page On which Error Occurred:/hfm/Administration/ShowRunningTaskLog.asp
    My environment is win server 2003 on a VM and EPM 11.1.1.3
    Thank you and best regards,
    Ahmed.

    Hi taku,
    Yes I've solved my issue.
    Firstly, make sure that the entities and accounts used in the Intercompany Transaction are allowed for ICP in the metadata file by setting the attribute "IsICP=Y" to yes.
    Then, after you press the "Match" button, wait until the process finished and don't open the log. Just close the running task page, after the status showed that it is completed, and open the "process IC transactions" page again you will find the square sign becomes green which means that the transactions are matched.
    I followed the following example on Oracle by Example [http://www.oracle.com/technetwork/middleware/financial-management/tutorials/mictrans-094190.html?ssSourceSiteId=otncn]
    It's about "Managing Intercompany Transactions in Financial Management".
    I wish you can solve your issue soon.
    Best wishes,
    Ahmed.

  • Issue with site template that contains a document library with a lookup column to another list

    I have a document library called Proposals with a lookup column in the same site called Document Categories (multiple values allowed).  It points to a list called document categories.  I have several sample documents in the Proposal Library that
    contain valid document categories.  When I save the site as a template and instantiate it, everything is fine.  However, when I remove the sample documents from the Proposal library and rebuild the site template, I can't get the  template to
    create another site.  I get an error Unable To Open Lookup List.
    I don't understand why I can instantiate a site from the template when there's sample data, but not when the document library containing the lookup column is empty.
    Does SharePoint 2010 site template support lookup columns?
    Why would it make a difference if the library is empty?
    Thanks

    Hi,
    According to your description, my understanding is that the error occurred when you created a site from the template with no files in the document library.
    I tested the same scenario per your post, and I can create a site from the template with no files in the document library with no errors.
    To solve this issue, I recommend to verify the things below:
    Did you save the site as a template with Include Content checked? If yes, I recommend to test if it works when saving the site as a template with Include Content unchecked.
    Test the same scenario with a new site to narrow the issue scope.
    I also recommend to check the event log and ULS log to see if anything unexpected occurred.
    To check event log, click the Start button and type “Event Viewer” in the Search box.
    For SharePoint 2010, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
    You can check the ULS log by the methods here:
    http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
    http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Which table contains - FI Document Changes?

    Team,
    Which table contains - FI Document Changes?
    Please be specific; For example:
    CDHDR:
    OBJECTCLAS ?
    CDPOS:
    BJECTCLAS?
    ABNAME  
    ABKEY      
    HNGIND  
    Thanks

    Hello
    The OBJECTCLAS is BELEG.
    Use FM CHANGEDOCUMENT_READ_HEADERS
    with objectclass = 'BELEG'
         objectid  = (concatenate client + company code + doc no + fiscal year)
    Then loop at the header and use FM
      CHANGEDOCUMENT_READ_POSITIONS
    to get the CDPOS values
    Hope this helps
    Shounak
    Message was edited by: Shounak Mukherjee

  • Odd QoQ issue when querying Solr collection

    Hello, everyone.
    I've got a query of query issue that has me stumped.  Maybe I'm just missing something very simple, but this has got me really confuzzed.
    I have a Solr collection that is indexing a few tables in an Oracle database.  Let's call it "hdq", for this discussion.
    I wrote a semi-complex query of related tables from which the CFINDEX is using to index the data.  This is working just fine.
    I created the Solr collection in the CF9 CFAdmin, and am using the following to index with:
    <cfindex action="refresh" collection="hdq" key="QUESTION_ID" type="custom" title="QUESTION_TITLE" query="search_questions" body="QUESTION_TX,QUESTION_TITLE,CATEGORY_NM,TAG_NM,ANSWER_TITLE,ANSWER_TX"
        custom1="QUESTION_STATUS" custom2="TAG_NM" custom3="QUESTION_STATUS" custom4="QUESTION_TYPE" category="CATEGORY_NM">
    Then I do a CFSEARCH and name it "hd_questions".  Again, so far, so good, no problems.
    If I do a CFDUMP of "hd_questions", one of the columns is KEY (which is QUESTION_ID in the database.)  If I CFOUTPUT the collection, KEY is there.
    If I QoQ the CFSEARCH of the collection and use SELECT custom3, score, summary, context, key FROM hd_questions, I get an error message that
    Encountered "key. Incorrect Select List, Incorrect select column,
    .. then it gives the line number of the page that produced the error, and
    <cfquery dbtype="query" name="hd_results">
    Am I missing something simple, here?  KEY is in the collection, I can see it in CFDUMP, I can see it in CFOUTPUT.  But if I query the collection and try to select KEY, there is an error.
    Any thoughts/ideas?
    Thank you,
    ^_^

    Key is a reserved word in Coldfusion, so can't be used directly in a QoQ without escaping it.  Try wrapping it in [ ] instead, i.e. [key]
    It may also help to give it an alias too, e.g. SELECT [key] AS someKey
    See the list of reserved words here: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec173d0-7f ff.html and the QoQ guide to using reserved words here: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0e4fd -7ff0.html#WSc3ff6d0ea77859461172e0811cbec22c24-7008

  • How to copy NCLOB value(Contains Word Document) into file system

    How to copy NCLOB value(Contains Word Document) into file system or display in sqlplus

    The UTL_FILE package will write it only to text file not(NCLOB Value[containts images as well as text])

  • Can a Solr collection index CLOB?

    Hello, everyone,
    Right now we are trying to figure a way to increase capacity for varchar2 beyond 4000 bytes.  One option on the table is to convert the varchar2 to CLOB.  But that makes me wonder if a Solr collection can index CLOB??
    V/r,
    ^_^

    Anyone?
    ^_^

  • Creating posting run contains no document.

    hI EXPERTS,
    THIS MESSAGE COMMING DURING THE POSTING RUN
    "Creating posting run contains no documents"
    but i have seen past solution which is mentioned in Dec 08.  they are not working , psl give some real time answers, it very crtical stage of project.
    thnks
    sk

    Hi,
    we have done as you said but the problem is as it is.., i am sending the screen shots.
    thnaks
    sk

  • CF9 - multiple Solr collections search, remove dupes

    Hello, everyone.
    I'm trying to search more than one Solr collection for a keyword (let's say "Item A"), but I want to remove any duplicates and keep the ranking.
    Hypothetically, let's say each collection has "Item A" in it, each ranked slightly different in their respective collection (99.9, 92.7, and 89.5).  How would I remove the two lower ranked "Item A"'s from the CFSEARCH?
    Thank you,
    ^_^

    I think I've got it.
    For anyone else who has this same need, try QoQ.
    <cfsearch name="cfSolrSearch" collection="collectionOne,collectionTwo,collectionThree" criteria="Item A">
    <cfquery name="removeDupes" dbtype="query">
      SELECT DISTINCT title, cast(score as decimal) as score
      FROM cfSolrSearch
      ORDER BY score DESC
    </cfquery>
    <cfdump var="#removeDupes#">
    ^_^
    PS.  In the first post, I mentioned "rank"; I meant "score".

  • CF9 - Solr collection of database - Summaries are prepended with PK UID of record

    Hello, everyone.
    I've got a CF9 server and created a few Solr collections from within CFAdmin, then used CFINDEX to update the collection with database records.
    No matter what I do, when trying to access the Summary the data is prepended with the PK Unique ID of each record.  Is there a way to prevent this behaviour?
    Thank you,
    ^_^

    The reason I ask is because the summary is limited in character length, and the UID is a 36 character long string that is pushing 36 characters of the actual summary off the end.  I'd like to get as much of the actual summary as possible.
    Thank you,
    ^_^

  • Solr Collection PDF display problem

    I am having problems getting the Search collection I created to display the PDF files.  When I perform a search I am able to get the pdf file listing put when I select a PDF file to display it it does nothing.  Please help, below is the Search Action page I did
    <head>
       <title>Search Results</title>
    </head>
    <body>
    <cfsearch
       name= "newspaperarchive_results"
       collection= "newspaperarchive"
       criteria= "#Form.Criteria#">
       ContextHighlightBegin="<b>"
       ContextHighlightEnd="</b>"
       ContextPassages="1"
       ContextBytes="500"
       maxrows= "100">  
    <h2>Search Results</h2>
    <cfoutput>
    Your search returned #newspaperarchive_results.RecordCount# file(s).
    </cfoutput>
    <cfoutput query="newspaperarchive_results">
    <p>
    File: <a href="#url#">#key#</a><br>
    Document Title (if any): #Title#<br>
    Summary: #Summary#<b>
    Highlighted Summary: #context#</p>
    </cfoutput>
    </body>
    </html>

    Ah, ok. Your problem is the link you are showing to the user (file:///C:/inetpub/wwwroot/cfdocs/Newspaperfiles/Madison_County_Record/2013/05/18/Madiso n_County_Record_20130518.pdf).
    That will not likely work in a browser. Not saying it can’t work, or will never work. But it’s not likely what you really should be using. Let me explain.
    Look closely at it: a) it asks for a file:/// directive. Note that traditional browser URLs use http://. Now, it’s not that file:// is wrong. It’s that it’s not appropriate here. It would only work if the path pointed to existed on the user’s machinee. Do they have a folder called c:/inetpub/wwwroot? No. That’s on YOUR server. (And even if this was an intranet application, they would not see that file in that location, as it’s on the server. You’re not offering a path that would work from even other machines on the same network.)
    I suspect what you need is to convert this URL into a “web accessible one”, and the good news (well, good and bad) is that the file you are naming is in fact in a web accessible directory, your inetpub\wwwroot. Assuming you can serve a test.cfm page from c:\inetpub\wwwroot using http://yourdomain/test.cfm, then you can serve these files as http://yourdomain/cfdocs/Newspaperfiles/Madison_County_Record/2013/05/18/Madison_County_Re cord_20130518.pdf.
    Try that URL in your browser. If it works, then you just need to modify your code to provide THAT url to the user. To do that, you’d need to do some manipulation of the variable (you’re not showing us) which displays that link. If you’d share the line of code that outputs that link, we can provide code that will work. (Since you may be combining variables or functions to get the location you show now, I don’t want to just guess what might work.)
    Hope that helps.
    BTW, I said above that there was good news/bad news about this PDF being in a web accessible directory. It’s good for your need to just offer a link easily. It’s bad that if this is content that you may think you want to control in some way, such as to only show “some files” to “some people”, beware that anyone who sees one of these links (when we get it working) will be able to guess at other PDF file names. Just beware. (If you need to solve that, there are still other solutions, but they are way beyond the scope of this Solr forum.)
    Indeed, as may be clear by now, your issue here (the problem you raised) isn’t really a Solr question at all. It’s more about fairly basic web and CF programming. Now, I don’t say that to embarrass you. Hey, we’ve all had a challenge like this some time in our coding lives. It’s just part of getting started with any particular challenge. My point though is that in asking for help here, in the Solr forum, you have limited your audience of help. Note that you’ve not gotten much (nor rapid) response. There are basic CFML forums and indeed several subforums for various aspects of working with CF. Just saying you may want to consider raising future questions there, if they really are of ongoing questions about basic application development. Hope that’s helpful.
    /charlie

  • How do I attach a folder that contains multiple documents? I try and it will only allow me to pick one document at a time.

    I'm trying to upload to my school's online blackboard (which is where I submit papers) and I cannot seem to figure out how to upload a folder I made on my desktop. I created multple folders containing more than one document and thought this would be easier then each individual document. But I cannot attach the whole folder. I have to pick each document which I could have done in the beginning!! Any thoughts? I tried to hit shift and then control to highlight all of them but that did not work. Any advice welcome:)

    Geiger,
    This is what you get when you key the word sections into the help function:
    *Creating Sections*
    +In a word processing document, a section consists of one or more pages.+
    +Each Pages template consists of one or more predefined sections. Every time you add pages to the document by using the Sections (word processing) or Pages (page layout) button in the toolbar, you add a new section.+
    +In a page layout document, each page is one section. You can use the predefined sections as they are, or you can modify or remove them one page at a time.+
    +In a word processing document, you can use the predefined sections as they are, or you can create or remove section breaks to define your own sections. To add a page to a section, add more content and pages will be automatically added, or insert a page break.+
    +Here are ways to work with section breaks in word processing documents:+
    +To insert a section break, place the pointer where you want the break to occur, and then choose Insert > Section Break or click Sections in the toolbar and choose an item from the list.+
    +When you show invisibles in your document (click View in the toolbar and then choose Show Invisibles), a section break symbol marks the location of the section break.+
    +The new section has the same formatting as the previous section until you change it. Changes you make to master objects, headers, footers, or page numbering will apply only to the section in which you make the changes. See Using Master Objects (Repeated Background Images) for information about master objects.+
    +To remove a section break, click at the beginning of the line that follows the break and press the Delete key.+
    -Dennis

Maybe you are looking for