Hi Nilani
GSearch updates the index through the lucene library, and then solr has access
to it. I have not met the need to use the solr commit command myself, so maybe
you should put the question to the users list, where some of the gsearch users
may respond, if they have met the problem.
Regards,
Gert
On 21/09/2010, at 13.15, Nilani Ganeshwaran wrote:
Hi Gert
Things are the same when I tested with solr 1.3
When I am using solr 1.4 I can see in the solr logs when document is added.
But I need to restart solr to get the results in solr admin page. Normally
when we add a document to solr commit command needs to be is issued to save. Is
this step missing?
Regards
Nilani
Nilani Ganeshwaran
eScholar Software Developer
The University of Manchester
Tel: 0161 2758728
From: Gert Schmeltz Pedersen [mailto:[email protected]]
Sent: 21 September 2010 11:53
To:
[email protected]<mailto:[email protected]>
Cc:
[email protected]<mailto:[email protected]>
Subject: Re: [fcrepo-dev] gsearch with solr
Hi Nilani
Is this different from when you were using solr1.3 with lucene 2.4?
Before the updateIndex, could you see no hits in solr/admin, or those that were
there at the time?
I think you have to look at the solr log, maybe there is a clue.
Regards,
Gert
On 21/09/2010, at 12.16, Nilani Ganeshwaran wrote:
Hi Gert
I am using solr 1.4 with gsearch. When I go the fedoragserach/rest url in the
web browser and update index and then index from foxml file, it is indexing.
But when I go to solr/admin and do a search I can’t see any results. When I
restart solr then I can see the results. Why this is happening?
Regards
Nilani
Nilani Ganeshwaran
eScholar Software Developer
The University of Manchester
Tel: 0161 2758728
From: Gert Schmeltz Pedersen [mailto:[email protected]]
Sent: 21 September 2010 09:09
To:
[email protected]<mailto:[email protected]>
Cc:
[email protected]<mailto:[email protected]>
Subject: Re: gsearch with solr
Hi Nilani
solr should see the lucene index, there is not a separate solr index, but I
need some more details to understand what is going on.
Regards,
Gert
On 20/09/2010, at 16.33, Nilani Ganeshwaran wrote:
Hi Gert
Update index is working. But solr needs to be restarted to do see the indexes;
I think although documents getting added without commit. How can I solve this?
When I add a document through fedora’s admin interface, no updates are
happening to the solr index. I have configured the update listener. Am I
missing any configuration?
Regards
Nilani
Nilani Ganeshwaran
eScholar Software Developer
The University of Manchester
Tel: 0161 2758728
From: Gert Schmeltz Pedersen [mailto:[email protected]]
Sent: 20 September 2010 13:10
To:
[email protected]<mailto:[email protected]>
Cc:
[email protected]<mailto:[email protected]>
Subject: Re: gsearch with solr
Hi Nilani
Currently, I have a gsearch 2.2 test installation, where I have installed
lucene 2.9.2 instead of 2.4 and solr 1.4.0 instead of 1.3, it works. If you try
it, remember to include also lucene-memory-2.9.2.jar
Let me hear if it works for you.
Regards,
Gert
On 20/09/2010, at 13.57, Nilani Ganeshwaran wrote:
Hi Gert
I am wondering whether gsearch 2.2 can be used with solr 1.4.1?
Regards
Nilani
Nilani Ganeshwaran
eScholar Software Developer
The University of Manchester
Tel: 0161 2758728
From: Gert Schmeltz Pedersen [mailto:[email protected]]
Sent: 09 August 2010 11:15
To:
'[email protected]<mailto:'[email protected]>'
Subject: RE: gsearch with solr
Hi Nilani
You need to add a symbolic link from
C:\fedora\gsearch\DemoOnSolr\example\solr\data\index
(where solr thinks it is) to C:\fedora\gsearch\DemoOnSolr (where the index is,
presumably)
Hope this helps, else let me hear about it.
Best
Gert
From: Nilani Ganeshwaran [mailto:[email protected]]
Sent: 5. august 2010 13:09
To: Gert Schmeltz Pedersen
Subject: gsearch with solr
Hi Gert
I am using fedora 3.1, gsearch 2.2 and solr 1.3.
When I click “updateIndex crateEmpty” on the gsearch web interface I got
IndexReader open error indexName=DemoOnSolr : ; nested exception is:
java.io.FileNotFoundException: no segments* file found in
org.apache.lucene.store.fsdirect...@c:\fedora\gsearch\DemoOnSolr\example\solr\data\index:
files:
Could you please guide me to solve this problem.
Regards
Nilani
Nilani Ganeshwaran
eScholar Software Developer
Red 1.1, The John Rylands University Library
The University of Manchester
Oxford Road, Manchester, M13 9PP
Tel: 0161 2758728
Web: http://www.escholar.manchester.ac.uk
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers