I know I'm using SolR for a task that is better suited for the DB to handle but I'm doing this for reasons related to the overall design of my system. My DB is going to become very large over time and it is constantly being updated via Hadoop jobs that collect,analyze some data and generate the final (report) results. The front end web-app needs to be VERY fast and only needs access to a subset of the data. It also let's us decouple the state of the DB and the front end, ie we can control when we sync the data from the DB to the SolR indexes. You could say I'm using SolR as an in memory cache of my DB indexes.
We're also a small team and all our development is in java Hadoop, GWT so it was very easy for us to integrate SolR and Solrj into our app. If somebody could toss in an example of what the scheme might look like that'd be great. I have a very simple VALUE table that has columns: value_pk INTEGER ; primary-key report_fk INT ; foreign-key to report table tstamp TIMESTAMP value NUMERIC(7,4) Alan On Dec 5, 2011, at 14:34, Erick Erickson <erickerick...@gmail.com> wrote: > Well, Solr is a text search engine, and a good one. But this sure > feels like a problem that RDBMSs were built to handle. Why do > you want to do this? Is your current performance a problem? > Are you blowing your space resources out of the water? Do you > want to distribute your app to places not connected to your RDBMS? > Is there too much traffic on your RDBMS machine? > > Something about "if it ain't broke, don't fix it". > > In general, you have to tell us the problem you're trying to solve > so we don't go off into XY land. > http://people.apache.org/~hossman/#xyproblem > > Best > Erick > > On Fri, Dec 2, 2011 at 1:33 PM, Alan Miller <alan.mill...@gmail.com> wrote: >> Hi I have a webapp that plots a bunch of time series >> Data which are just doubles coupled with a timestamp >> >> Every chart in my webapp has a reportid in my db and i am wondering if it >> would be effective to usr solr to serve the data th my app instead of >> keeping the data in my rdbms. >> >> Currently im using hadoop to calc and generate the report data and the >> sticking it in my rdbms but i could use solrj client to upload the data to a >> solr index >> >> I know solr if for indexing text documents but would it be effective to use >> solr in this way? >> >> I want to query by reportid and get back a series of timestamp:double pairs. >> >> Regards >> Alan