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] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
