Anderson vasconcelos 2012-01-20, 03:08
Otis Gospodnetic 2012-01-20, 04:57
Anderson vasconcelos 2012-01-20, 13:33
-Re: HIbernate Search and SOLR Integration
Otis Gospodnetic 2012-01-20, 15:26
If you save all fields you want to display in search results, then you don't need to go to the database at search time.
If you do not save all fields you want to display in search results, then you will need to first query Solr, get IDs of all matches you want to display, and then from your application do a SELECT with those IDs.
DataImportHandler is for indexing data from DB and is not used at search-time.
Performance Monitoring SaaS for Solr - http://sematext.com/spm/solr-performance-monitoring/index.html
----- Original Message -----
> From: Anderson vasconcelos <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]; Otis Gospodnetic <[EMAIL PROTECTED]>
> Sent: Friday, January 20, 2012 8:33 AM
> Subject: Re: HIbernate Search and SOLR Integration
> The DataImportHandler is not only for import data from database? I don't
> wanna to import data from database. I just wanna to persist the object in
> my database and after send this saved object to SOLR. When the user find
> some document using the SOLR search, i need to return this persistent
> object (That was found in SOLR with the contents saved in database). It's
> possible do this with DataImporHandler? If not possible, has other solution
> or i have to make this "merge" in my aplication using "in
> clause" or
> temporary table?
> 2012/1/20 Otis Gospodnetic <[EMAIL PROTECTED]>
>> Hi Anderson,
>> Not sure if you saw http://wiki.apache.org/solr/DataImportHandler
>> Performance Monitoring SaaS for Solr -
>> ----- Original Message -----
>> > From: Anderson vasconcelos <[EMAIL PROTECTED]>
>> > To: solr-user <[EMAIL PROTECTED]>
>> > Cc:
>> > Sent: Thursday, January 19, 2012 10:08 PM
>> > Subject: HIbernate Search and SOLR Integration
>> > Hi.
>> > It's possible to integrate Hibernate Search with SOLR? I wanna use
>> > Hibernate Search in my entities and use SOLR to make the work of index
>> > and search. Hibernate Search call SOLR to find in index and than find
>> > the respective objects in database. Is that possible? Exists some
>> > configuration for this?
>> > If it's not possible, whats the best strategy to unify the search
>> > index with search in database using SOLR? Manually join of results
>> > from index in database query using temporary table or in clause?
>> > Thanks
Anderson vasconcelos 2012-01-20, 16:10