arquivo / pwa-technologies

Arquivo.pt main goal is the preservation and access of web contents that are no longer available online. During the developing of the PWA IR (information retrieval) system we faced limitations in searching speed, quality of results, scalability and usability. To cope with this, we modified the archive-access project (http://archive-access.sourceforge.net/) to support our web archive IR requirements. Nutchwax, Nutch and Wayback’s code were adapted to meet the requirements. Several optimizations were added, such as simplifications in the way document versions are searched and several bottlenecks were resolved. The PWA search engine is a public service at http://archive.pt and a research platform for web archiving. As it predecessor Nutch, it runs over Hadoop clusters for distributed computing following the map-reduce paradigm. Its major features include fast full-text search, URL search, phrase search, faceted search (date, format, site), and sorting by relevance and date. The PWA search engine is highly scalable and its architecture is flexible enough to enable the deployment of different configurations to respond to the different needs. Currently, it serves an archive collection searchable by full-text with 180 million documents ranging between 1996 and 2010.
http://www.arquivo.pt
GNU General Public License v3.0
38 stars 7 forks source link

Wrong charset on Query Suggestions #1327

Closed dcgomes closed 1 year ago

dcgomes commented 1 year ago

The query suggestion function is displaying suggested query terms with wrong charset for accented characters.

https://arquivo.pt/page/search?q=cao+de+ca%C3%A7a+para+dar&l=pt&from=19910806&to=20230110&trackingId=ac9f882ba4c5f7888c48_b5a49ece67c57d9dd48d

image

https://arquivo.pt/page/search?q=camara+municipal+de+leiria&l=pt&from=19910806&to=20230110&trackingId=ac9f882ba4c5f7888c48_e09763123fde4f038c29

image

https://arquivo.pt/page/search?q=municipio+de+leiria&l=pt&from=19910806&to=20230110&trackingId=ac9f882ba4c5f7888c48_b2c8ab886ded7d7ac6f9

image

VascoRatoFCCN commented 1 year ago

The problem is on the spellchecker API: https://arquivo.pt/spellchecker/checker?l=pt&query=cao%20de%20caça%20para%20dar

image

PedroG1515 commented 1 year ago

The problem disappeared

dcgomes commented 1 year ago

Bug persists on the branch of p106.arquivo.pt.

Branch p105.arquivo.pt is OK.

franciscoesteveira commented 1 year ago

Fixed.