It is correct that the GSearch operation gfindObjects goes directly to the 
Lucene index. That is one option you have, in addition to the option you have 
by going directly to Solr with a search url. The Solr search allows you to do 
facetted search as well, using that same Lucene index. If that operation should 
have gone through GSearch, it would only mean added overhead. GSearch has in 
addition the operation browseIndex, which Solr does not have. (To complete the 
picture, the GSearch operation updateIndex makes it easier for you to create 
Solr index documents from foxml records, than if you had to write the code for 
that yourself.)

Best regards,
Gert


On 05/11/2010, at 12.28, <a...@europe.com<mailto:a...@europe.com>> 
<a...@europe.com<mailto:a...@europe.com>> wrote:

Hi Nigel,
Thank you very much for your answer.

Finally I think I have to switch the search directly to solr.

I have had a look at the source code of the gsearch/solr plug-in that is in the 
package

dk.defxws.fgssolr

It seems to me that Gsearch accesses directly the lucene index on the 
filesystem that is configured in the the parameter

fgsindex.indexDir

in the index.properties

In other words, it seems that GSearch doesn’t use SOLR for searching at all. Is 
this actually the case?


Regards
Alessandro


-----Original Message-----
From: Nigel V Thomas <nigel.tho...@york.ac.uk<mailto:nigel.tho...@york.ac.uk>>
To: 
fedora-commons-users@lists.sourceforge.net<mailto:fedora-commons-users@lists.sourceforge.net>
Sent: Thu, Nov 4, 2010 12:49 pm
Subject: Re: [fcrepo-user] gsearch/solr with faeting


Hi Alex,





>> Hi all,


>> I'm implementing a search interface  on top of gsearch two solr cores. In


That interface I like to have the results trough gsearch with in addition


some facet information that comes from solr.


>> Do you think it's possible? Did someone implemented something like that?





Faceting is not available in GSearch however does support basic search.


Faceting data can be retrieved from SOLR using plugin like


http://wiki.apache.org/solr/Solrj.





We have similar requirement and decided to keep GSearch for managing


indexing related tasks, and developed an interface which uses Solrj to


handle faceting and other search features.





Take a look at some of the community developed search interfaces, some of


them support faceting:


https://wiki.duraspace.org/display/FCR30/Getting+Started+with+Fedora#Getting


StartedwithFedora-FedorabasedApplications





Regards,





Nigel Thomas


ext 3881


Digital Library Systems Developer


University Library & Archives, J.B. Morrell Library University of York,


Heslington, York, YO10 5DD, UK


tel: ++44 (0) 1904 433881


web: http://tinyurl.com/dcd6a5








------------------------------------------------------------------------------


The Next 800 Companies to Lead America's Growth: New Video Whitepaper


David G. Thomson, author of the best-selling book "Blueprint to a


Billion" shares his insights and actions to help propel your


business during the next growth cycle. Listen Now!


http://p.sf.net/sfu/SAP-dev2dev


_______________________________________________


Fedora-commons-users mailing list


Fedora-commons-users@lists.sourceforge.net<mailto:Fedora-commons-users@lists.sourceforge.net>


https://lists.sourceforge.net/lists/listinfo/fedora-commons-users




<ATT00001.c><ATT00002.c>

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to