Welcome,
Guest
|
|
If the indexing of the PDF document return the message "Empty Body" or if the document is indexed and the search not return result, then you must read this topic.
If your problem is the "Empty body", you need to know that each document could have different encoding. When you indexing one document (or N° documents) you must define encoding type to read this document and type encoding for convert this encoding in "Analyzer Encoding". I'll explain: If your "PDF" document is saved in ISO-8859-1 (or Windows 1252). Now the XPDF, reads the content of the PDF file, of default in ISO-8859-1 (or Windows 1252 or Latin-1), and buffer this in ISO-8859-1 encoding. Because the Analyzer is set in "UTF8_CaseInsensitive" (remember that this field should never be changed), JiFile must convert the buffered content ( ISO-8859-1) in UTF8. To do this, you must define encoding of the document in field "Encoding" in JiFile configuration. If your "PDF" document is in another type of encoding (for exemple UTF8), you must configure the XPDF for read and buffer the content in this encoding. This is possible in file: \libraries\ifile\adapter\helpers\binaries\xpdfrc\xpdfrc Warning: the "xpdfrc" file, should not have extension. For more information read this document: www.isapp.it/documentazione/How-To-Use-JiFile.pdf If the search not return result than for testing this problem, you can set the field "body" (in Configuration section on JiFile) as "Text". Delete document that not works, and re-indexing. Now in "Detail" (image "plus" in the Index section), you can see the real content that has been indexed. If your document is incomplete, then, you must see the "Encoding" configuration correct. Remember that the "field body" as "Text" decreases the performance, but present the "Highlights" in the search on front end. If the "field body" is "UnStored" the performance are very strong, but in front end search, present only the "IntroText" field. |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
The topic has been locked.
|
If you not change browser settings, you agree to it. Learn more