Test if string not from index match query

24 views
Skip to first unread message

ruslan.fed...@gmail.com

unread,
Jan 20, 2018, 3:40:23 PM1/20/18
to ZomboDB
Hi thanks for you great work! 
Is there any way to test if string not from index matches search query?
In normal sql this can be done like this:
select 1 where 'some text'  like '%some%' ;


Eric Ridge

unread,
Jan 21, 2018, 12:55:17 AM1/21/18
to zom...@googlegroups.com
No, this isn't a thing that ZomboDB supports.  This sort of thing would require that Postgres itself (via ZomboDB's extension) know how to parse and analyze random input strings and also evaluate a query against them.  This knowledge is actually contained within Elasticsearch, which means you need an index.

eric

--
You received this message because you are subscribed to the Google Groups "ZomboDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zombodb+u...@googlegroups.com.
To post to this group, send email to zom...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zombodb/e1bbf5a7-d67b-4e91-a7fa-c05842171afc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages