binary search

Author Message

Tony Wood

Thursday 18 September 2003 6:30:31 am

Hi,

I am using eZintranet from Demo and have read http://ez.no/developer/ez_publish_3/documentation/incoming/configuring_binary_file_indexing and the optimise routines and have my ezpdftotext setup and it works from the command line.

My problem is I that the search text is not being made available to the search routine.
Where is the debug information from this routine?

tia

tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Paul Borgermans

Thursday 18 September 2003 9:33:12 am

Are you sure the text is not made available? Is ezpdftotext available to the webserver?

Some other things to metion along the obvious:

- There is a search bug: you need a rule for your role which says content|read|*

- Is your binary file in the class made searchable?

- run the updatesearchindex.php script from the commandline, it gives you more clues of what's happening

- check the search index tables in the database, is there anything there from your pdf files?

- is your pdf file protected in some way?

Here its working fine, so it should work for you too. Even with large documents (one OOo generated pdf with 167 pages took roughly 4 seconds to insert which includes indexing).

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Tony Wood

Thursday 18 September 2003 10:35:40 am

Thanks Paul..

- Is your binary file in the class made searchable?

- run the updatesearchindex.php script from the commandline, it gives you more clues of what's happening

did it for me.. the File class in the demo is not searchable so it did not pick it up.. I ran updatesearch and it worked fine :)

Thanks

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Paul Borgermans

Thursday 18 September 2003 11:21:06 am

Tony,

Glad it works for you too now.

I'm still looking for something that can output text from powerpoint files (under linux).

On the other hand there is more pressure in the OOo forums to have command-line conversions .... wanna do a disappear trick for .doc files into something more persistent (but the wv filter does a good job already).

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:16:35
Script start
Timing: Jan 31 2025 06:16:35
Module start 'layout'
Timing: Jan 31 2025 06:16:35
Module start 'content'
Timing: Jan 31 2025 06:16:35
Module end 'content'
Timing: Jan 31 2025 06:16:35
Script end

Main resources:

Total runtime0.0143 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0078151.1953
Module start 'layout' 0.00570.0022 739.203136.6016
Module start 'content' 0.00790.0050 775.804794.1094
Module end 'content' 0.01290.0013 869.914137.9922
Script end 0.0142  907.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.9535140.0002
Check MTime0.00117.7563140.0001
Mysql Total
Database connection0.00149.651910.0014
Mysqli_queries0.002215.711330.0007
Looping result0.00000.070110.0000
Template Total0.00107.210.0010
Template load0.00085.434710.0008
Template processing0.00021.750310.0002
Override
Cache load0.00053.818010.0005
General
dbfile0.00117.632780.0001
String conversion0.00000.055140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs