Yep. There is definitely a count for indexed files in FarCry.

And when I use Solr Admin to query for *:* the documents are returned, even 
the PDF in question (with the actual text content of the PDF indexed as 
text too).

On Wednesday, November 7, 2012 8:55:47 AM UTC+10:30, AJ Mercer wrote:
>
> Do you see a count for indexed files?
>
> I was getting a message saying items where indxed, but then there was a 
> count of 0 for my documents.
>
> I run Solr from the command line and found an error message (some issue 
> parsing a string to number, or vise versa)
>
> On 6 November 2012 18:25, Scott Mebberson 
> <[email protected]<javascript:>
> > wrote:
>
>> So I've installed farcrySolrPro and everything is working as it should 
>> be. Aside from the fact that I can't get a result, from content that I know 
>> exists in a PDF file.
>>
>> I've done a fair bit of debugging and have found that:
>>
>>    - PDF file is being passed off to Tika to get the body of the PDF
>>    - The PDF body is actual text that is then returned and properly 
>>    stored within Solr
>>    - The name of the field in which the body of the pdf is stored within 
>>    Solr is called filename_contents_text_stored 
>>
>> At the end of the post. I've copied in the doc record for the PDF file in 
>> question, from a *:* search from within Solr Admin.
>>
>> So the standard query generated by farcrySolrPro is (Maxi) AND 
>> +(fcsp_sitename:mcmahonintranet) AND +fcsp_benablesearch:true which 
>> returns no results. But if I run the following query in the Solr Admin 
>> query interface I get the results I'm expecting, 
>> (filename_contents_text_stored:Maxi) 
>> AND +(fcsp_sitename:mcmahonintranet) AND +fcsp_benablesearch:true.
>>
>> Does anybody have any ideas as to why it's requiring the field name in 
>> order to return a result?
>>
>> Thanks in advance!
>>
>> <doc>
>> <str name="createdby">farcry_CLIENTUD</str>
>> <date name="datetimecreated">2012-11-05T02:42:32Z</date>
>> <date name="datetimelastupdated">2012-11-05T02:42:57Z</date>
>> <bool name="fcsp_benablesearch">true</bool>
>> <long name="fcsp_documentsize">0</long>
>> <arr name="fcsp_highlight"><str/>
>> <str>test - pdf</str>
>> </arr>
>> <str name="fcsp_id">mcmahonintranet_72D7E9B0-26F2-11E2-AE23E0F8471F4F68
>> </str>
>> <str name="fcsp_sitename">mcmahonintranet</str>
>> <str name="filename_contents_text_stored">This is some content.
>> I wonder if it will work?
>> This is the PDF version of the document. Maxi.</str>
>> <str name="filename_text_stored">/dmfile/test.pdf</str>
>> <str name="label">test - pdf</str>
>> <str name="lastupdatedby">farcry_CLIENTUD</str>
>> <str name="objectid">72D7E9B0-26F2-11E2-AE23E0F8471F4F68</str>
>> <str name="ownedby">CDD3B33E-A463-9B75-DC0150D316830765</str>
>> <str name="typename">dmFile</str>
>> </doc>
>>
>>  -- 
>> You received this message cos you are subscribed to "farcry-dev" Google 
>> group.
>> To post, email: [email protected] <javascript:>
>> To unsubscribe, email: [email protected] <javascript:>
>> For more options: http://groups.google.com/group/farcry-dev
>> --------------------------------
>> Follow us on Twitter: http://twitter.com/farcry
>>  
>>  
>>
>
>
>
> -- 
>
> *AJ Mercer*
> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org 
> community="Open" /> <http://webonix.org>
> http://twitter.com/webonix
> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/>
>
>  

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry


Reply via email to