How to use Postgres buit-in fulltext search and Array type with Slick ??
446 views
Skip to first unread message
briche arnaud
unread,
Jan 5, 2013, 7:20:28 AM1/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scala...@googlegroups.com
Hi,
I'm new to Slick and I wonder if there is a way to use advanced Postgres functionalities like Array type and built-in fulltext search ??
Pradeep Kumar Mishra
unread,
Feb 24, 2013, 8:27:09 PM2/24/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scala...@googlegroups.com
yeah I am also looking for pointers to this functionality. Let me know please if you have idea?
Dan Carleton
unread,
Feb 28, 2013, 2:10:53 AM2/28/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scala...@googlegroups.com
I tried to create a proper TypeMapper for JDBC Arrays in PostgreSQL, but couldn't figure out how to construct a java.sql.Array other than java.sql.Connection.createArrayOf. Connection isn't available inside TypeMappers (AFAICT) -- does anyone have a tip?
My poor man's work-around is to use string serialization, which works OK but probably has bugs:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scala...@googlegroups.com
Yeah that's what I am planning to do but since some code is already written using lifted query, I am not sure if I can mix plain sql with lifted..that too without incurring extra db trip.
Christopher Vogt
unread,
Mar 14, 2013, 1:17:05 PM3/14/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scala...@googlegroups.com
I am not sure if I can mix plain sql with lifted..
sure, you can.
Michael Slinn
unread,
Mar 15, 2013, 11:53:11 AM3/15/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scala...@googlegroups.com
A code example of this in the new and improved docs would be helpful.