Forum

JiFile for Joomla!

JIFile
JiFile is a component for Joomla! that allows you to index file contents (PDF, DOC, etc..) to perform searches in them.

Learn more...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile is a component for Joomla! that allows you to share the photos from your Android device to your site Joomla.

Learn more...  Demo

iFile Framework

IFile
IFile is an open source framework written entirely in PHP, allows the indexing of textual content of a document (DOC, PDF, EXCEL, etc.) and a quick search within them.

Learn more...  Demo

Easy Language

EasyLanguage
Easy Language is a plugin for easy and immediate management of multilingual texts in every possible area of joomla, articles, components, modules, metadata, template, other components(example K2) etc.

Learn more...

Article Book Effect

Article Book Effect
View Joomla articles with the effect turns the page of a book. This plugin will display the contents of an article in Joomla as a real book or magazine, using all the benefits of HTML5

Learn more...  Demo

 

Passport photo

Passport photo
The most popular Android app that allows you to print photos cards for your documents with your Android smartphone, in a simple and intuitive way.

Learn more...

 

Crazy Shadow

Crazy Shadow
Crazy Shadow is the 3D fast-paced and fun puzzle Android game! Try to rotate and drag shapes in the position of their shadows without fail! Solve in succession all combinations of levels of the game.

Learn more...

 

Admin Countdown

Admin Countdown
Module for Joomla! 2.5 and 3.x displays in the administration part of the site, a timer with countdown of the time remaining in your session.

Learn more...  Demo

 
Welcome, Guest
Username: Password: Remember me

TOPIC: impossible search in the body section

impossible search in the body section 19 Feb 2012 21:32 #202

  • Vincent
  • Vincent's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
Hello,
I've installed Jifile and indexed pdf but the search work only on the "intro text" section. My search on the body section doesn't work. Is it normal ?
thanks
(sorry for my approximate english :-))
The administrator has disabled public write access.

Re: impossible search in the body section 19 Feb 2012 21:48 #203

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
Hi,
the introtext is the field that is displayed but the search is performed on all content. Try to see the FAQ

By default you can not see the content after a search, to do so, configure the field body as Text (in the Config section), but this may slow down the search.

We are working on an alternative solution that will speed all!
Stay tuned
Facebook
Twitter
Google+
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
Last Edit: 19 Feb 2012 21:53 by Antonio.
The administrator has disabled public write access.

Re: impossible search in the body section 19 Feb 2012 22:00 #204

  • Vincent
  • Vincent's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
euh sorry, but i confirm that when i search a word wich is in the body section, i have 0 result
thanks
The administrator has disabled public write access.

Re: impossible search in the body section 19 Feb 2012 23:21 #205

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
Hi,
the problem may be that the encoding of the PDF file is not compatible with the type of analyzer. JiFile is based on Lucene which uses the function "iconv" to convert the text of the document in the format of the "analyzer" used.

For example, if your analyzer is "Utf8_CaseInsensitive" Lucene tries to convert the contents of the document (body field) in UTF-8. If the content is present in an illegal character, the iconv "truncate" the text, returning the contents to a character illegal.

In this topic:
www.isapp.it/it/forum/supporto-ifile/15-...azioni-troncate.html
writen for now in italian, there are more details.

If you can, attach the pdf to this topic and we verify the problem.
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 administrator has disabled public write access.

Re: impossible search in the body section 20 Feb 2012 19:10 #209

  • Vincent
  • Vincent's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
Hi,

I try to replace in utf8.php and utf8num.php
$this->_input = iconv($this->_encoding, 'UTF-8', $this->_input);
with
$this->_input = iconv($this->_encoding, 'UTF-8//IGNORE', $this->_input);

but i obtain a white page in the back end

an example of pdf file attached to this message
(thanks to delete it after save)

thanks
Last Edit: 20 Feb 2012 20:06 by Antonio.Reason: pdf deleted as required
The administrator has disabled public write access.

Re: impossible search in the body section 21 Feb 2012 00:43 #210

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
Hi,
we have tested your file and works (see image).


This image is hidden for guests. Please log in or register to see it.
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 administrator has disabled public write access.

Re: impossible search in the body section 21 Feb 2012 09:52 #212

  • Vincent
  • Vincent's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
hi,

strange !
i post hard copy of my config and example of search in the attached document
My pdf seems to be indexed correctly :S

thanks for your help
The administrator has disabled public write access.

Re: impossible search in the body section 21 Feb 2012 10:07 #213

  • Vincent
  • Vincent's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
in a zip format !
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.