HTTP Server can not find Apostrophe's ?

Plug-in and third party software discussion.
Post Reply
luckulucki
Posts: 65
Joined: Mon Jun 19, 2017 1:45 pm

HTTP Server can not find Apostrophe's ?

Post by luckulucki »

Hello,

I'm using EV 1.5a 1.5.0.1383a x64 and use the HTTP plugin a lot. Its installed on a Win10 Computer.

EV on my local Win10 Computer can find results for the searchterm
Carl Hiaasens Bad Monkey mp4
while the filenames are, say
Carl Hiaasen's Bad Monkey S01E01.mp4
(take account of the ' in the filename).
EV shows correct results.

If I use the HTTP Search from within a browser on another Computer with the exact same searchterm, the search does not return anyting.

That's unfortunate. :-)
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: HTTP Server can not find Apostrophe's ?

Post by void »

Do you have ignore punctuation enabled under the Search menu?

Hiaasens will only match Hiaasen's with Ignore punctuation checked.



The HTTP server doesn't have a simple option to enable ignore punctutation.

There's a couple options:

Include the following in your URL:

&ignore_punctuation=1

For example:

http://localhost/?search=Carl%20Hiaasens%20Bad%20Monkey%20mp4&ignore_punctuation=1&sort=date_modified&ascending=0


-or-

Prefix Hiaasens in your search with nopunc:

Carl nopunc:Hiaasens Bad Monkey mp4


-or-

Wrap your entire search with nopunc:< ... >

nopunc:<Carl Hiaasens Bad Monkey mp4>
luckulucki
Posts: 65
Joined: Mon Jun 19, 2017 1:45 pm

Re: HTTP Server can not find Apostrophe's ?

Post by luckulucki »

Hello and thank you for all the possibilities and maybe workarounds!
void wrote: Thu Oct 03, 2024 9:43 am Do you have ignore punctuation enabled under the Search menu?
Well, I can not tell100% anymore what EV was set up, because when I use EV over HTTP I usually don't have accsess to EV directly, but
now I can see [x] ignore punctuation on the EV on that particular Server and the local EV finds result as said.
Setting [ ] ignore punctuation will find nothing and I expect that as correct.

On both these settings the HTTP Search does not find anything.
When I add
&ignore_punctuation=1
to the URL, the HTTP Search does find results, so I'll update my bookmarks.

The
nopunc:
might be very useful, but is too much for me to remember ;-D

Thank you! Solved!
Post Reply