Coder Social home page Coder Social logo

Regular expression Keywords fail about sagetv HOT 5 CLOSED

google avatar google commented on July 26, 2024
Regular expression Keywords fail

from sagetv.

Comments (5)

Narflex avatar Narflex commented on July 26, 2024

I'll make a fix for this. It'll just require a setting to have it work the
legacy way which is slower and bypasses Lucene for search.

Jeff Kardatzke
Sent from my Android
On Nov 28, 2015 4:37 PM, "nyplayer" [email protected] wrote:

This works on SageTV7 but does not work on SageTV9. I am finding out the
Sage9 is more limited in the way you can define favorites than Sage7. They
all worked fine in Sagetv7. I was wondering why some shows were not
recording. It appears that SageTV9 does not handle regular expressions as
good as SageTV7.

examples do not work.
keyword christmas "MV\d+"

Title Criminal Minds
keyword "EP\d+"
also
Category Docudrama
keyword "MV\d+"


Reply to this email directly or view it on GitHub
#57.

from sagetv.

CraziFuzzy avatar CraziFuzzy commented on July 26, 2024

Does lucene not support regex searches?

from sagetv.

stuckless avatar stuckless commented on July 26, 2024

Lucene does not support regex searches, but it does support many other complex searches and wildcard searches.

https://lucene.apache.org/core/2_9_4/queryparsersyntax.html

Regex is basically a poor man's search engine... it works, but, not the most efficient way to search large collections.

from sagetv.

CraziFuzzy avatar CraziFuzzy commented on July 26, 2024

is this of any help?

https://lucene.apache.org/core/3_0_3/api/contrib-regex/org/apache/lucene/search/regex/RegexQuery.html

I understand regex is far less efficient, but efficiency is hardly important for this part of the code, and maximum customizibility of the filters/queries would be more important.

from sagetv.

Narflex avatar Narflex commented on July 26, 2024

I've submitted a change that fixes this and it is set that way by default. :)

from sagetv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.