OJS-2.4.7.1 Search not returning results

I have a couple of journal that were upgraded to OJS-2.4.7.1.
The search function is not working. I even did a copy an paste of a word that existed in an article.
No results found.
I do have journals where the search is working.

Any suggestions?

Thanks,
Edward

Hi @EdwardDavid,

Are you searching for strings that appear within the article full-text, or within the metadata?

If you’re expecting full-text contents to be indexed but they’re not, check your config.inc.php for the proper configuration of text extraction tools in the [search] section.

You can regenerate both types of search index by running the re-indexing tool:

php tools/rebuildSearchIndex.php

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,
I had taken a word out of one of the article titles that was somewhat unique to search on and was coming back blank.

I ran the rebuildSearchIndex here is the output. Do I need to be concerned?
I am getting search results now.

root@ojshosting2:/var/www/arctic/arctic/tools# php rebuildSearchIndex.php
Clearing index … done
Indexing “ARCTIC” … Syntax Error: Missing language pack for ‘Adobe-Japan1’ mapping
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (7496420): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (7496456): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (7561447): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (7561483): No font in show
Syntax Error: Missing language pack for ‘Adobe-Japan1’ mapping
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (8412254): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (8412294): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (8480039): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (8480076): No font in show
Syntax Error: Missing language pack for ‘Adobe-Japan1’ mapping
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (1086570): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (1086588): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (1086605): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (1086619): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (1086688): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (1086700): No font in show
Syntax Error: Unknown font tag ‘C0_0’
Syntax Error (1086711): No font in show

Thanks,
Edward

Hi @EdwardDavid,

Those messages are coming from the text extraction tools, not OJS; I’d suggest verifying that those work on the PDF files directly.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,
Not familiar with the text extraction tools. Where are they? How do you use them?

Thanks,
Edward

Hi @EdwardDavid,

That’s whatever you’ve configured in the [search] section of your config.inc.php, as mentioned above.

Regards,
Alec Smecher
Public Knowledge Project Team
https://forum.pkp.sfu.ca/t/ojs-2-4-7-1-search-not-returning-results/4968
forum.pkp.sfu.ca
crawl=CC-MAIN-2022-21
27839
application/http; msgtype=response
sha1:NYTGE6KPIN6PXKBXDZSVWEEUPS7RW36R
<urn:uuid:75d33a77-aa77-42f4-9a7a-2f226be2c681>
2022-05-21T05:29:57Z
142.58.229.37
text/html
sha1:OJF5YO66BV4HWDKEHWN2S6ZQC4CS23FD
<urn:uuid:2613fdba-a432-4f1d-97cc-53cd9fe8fc2a>
https://forum.pkp.sfu.ca/t/ojs-2-4-7-1-search-not-returning-results/4968
response
<urn:uuid:2be48b15-9332-41c9-8a56-0f60f0bf6a59>
isPartOf: CC-MAIN-2022-21
publisher: Common Crawl
description: Wide crawl of the web for May 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-209
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/