No search index for Uploads module fields?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
webform
Power Poster
Power Poster
Posts: 524
Joined: Sat Nov 25, 2006 3:39 pm

No search index for Uploads module fields?

Post by webform »

Is it not possible to search the Uploads module with the Search module?

I've tried to search for words in the name, author, summary and description fields but i get no results.

I do get some results if i search for content in uploaded PDF files (but only if the file size is very small).

When i look in the source code of the Uploads module, it looks like the fields "name, author, summary and description" are set to be indexed by the search module.

There is no FEU restriction set on the Uploads category and the category files is set to be listed.

Code: Select all

Cms Version: 2.2.7
Uploads: 1.25.8
Search: 1.51.4
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: No search index for Uploads module fields?

Post by Rolf »

Yes it works. I use it here https://beeldbank.zeijen.nu with latest release of CMS and modules. You do need to let the Search module re-index the content though.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
webform
Power Poster
Power Poster
Posts: 524
Joined: Sat Nov 25, 2006 3:39 pm

Re: No search index for Uploads module fields?

Post by webform »

I have re-indexed the content several times, edited and re-saved files and categories, rescanned categories and nothing is found - I'm really confused why it is so ???
User avatar
webform
Power Poster
Power Poster
Posts: 524
Joined: Sat Nov 25, 2006 3:39 pm

Re: No search index for Uploads module fields?

Post by webform »

OK! I've done some more testing and found something;

If the file size is larger a certain size nothing get indexed - Neither the file content (PDF), name, author, summary and description fields.

File A (PDF) 124 kb = Search succes (Searching for words in file, author, description field).

File B (PDF) 222 kb = Search fail (Searching for words in file, author, description field).
Post Reply

Return to “Modules/Add-Ons”