Hi Alberto, I agree. Having an ES module for MetaModel would be very cool. If you wanna take a stab at it we will surely do our best to help!
Kasper Den 03/09/2014 10.51 skrev "Alberto Rodriguez" <[email protected]>: > Hi Hans, > > I have been taking a look at the DataCleaner website and it looks > promising. Correct me if I am wrong but I think that I would need a > DataCleaner instance running to take advantage of the elasticsearch > extension. I don't want to have any external dependencies in my webapp, > ideally I would like to query my elasticsearch cluster the same way that I > will query the other datasources. IMHO you can see ElasticSearch as another > data source. > > Kind regards, > > Alberto > > > 2014-09-03 10:14 GMT+02:00 Hans Drexler <[email protected]>: > > > Hi Rodrigo, > > > > DataCleaner already has a plugin for ElasticSearch: > > > > http://datacleaner.org/extension/ElasticSearch-for-DataCleaner > > > > This extension allows to index records to ElasticSearch. It also contains > > an ID lookup component and a Search component. I don't think there is an > > ElasticSearch MetaModel coupling, though. > > > > Kind regards, > > > > Hans > > > > -----Original Message----- > > From: Alberto Rodriguez [mailto:[email protected]] > > Sent: Wednesday, September 03, 2014 10:04 AM > > To: [email protected] > > Subject: Re: Problem executing string-format queries > > > > Hi guys! > > > > First of all thank you very much for your quick responses. I have just > > tried the bug workaround and it works like a charm, thank you Kasper!!! > > > > I think you are creating and awesome library so please keep working on > it! > > > > By the way, one of the datasources we would like to include within our > > application is ElasticSearch <http://www.elasticsearch.org/>, are you > > thinking about including a module for it? If not I would be happy to > > contribute to your project by trying to add it. > > > > Kind regards, > > > > Alberto > > > > > > 2014-09-03 8:53 GMT+02:00 Hans Drexler <[email protected] > >: > > > > > Hi Rodriguez, > > > > > > I see the master of everything metamodel has already cracked your > > problem. > > > Have a great time using MetaModel! > > > > > > Hans > > > > > > -----Original Message----- > > > From: Alberto Rodriguez [mailto:[email protected]] > > > Sent: Tuesday, September 02, 2014 4:54 PM > > > To: [email protected] > > > Subject: Problem executing string-format queries > > > > > > Hi all, > > > > > > I have just come across your awesome library and am integrating it in > > > my project. > > > > > > I have just written a couple of tests and noticed that I can execute a > > > string-format query against a JdbcDataContext whereas I am getting an > > > IllegarArgumentException ( Expression-based filters cannot be manually > > > evaluated) when I execute the same query using a CsvDataContext. > > > > > > This is working fine: > > > > > > val dataContext = DataContextFactory.createJdbcDataContext(connection) > > > val dataSet = dataContext.executeQuery("""SELECT * FROM > > > public.data_sources WHERE TYPE='rest'""") > > > > > > This is returning the exception: > > > > > > val dataContext = DataContextFactory.createCsvDataContext(csvFile) > > > WHERE name='rojo'""") > > > > > > Is there any way of executing string queries against all the > > > datacontext types? > > > > > > Thank you! > > > > > >
