Hello Willy,

As a first step, could you please look into the fedoragsearch.log and find the 
entries for the updateIndex fromPid from the starting INFO entry to the ending 
INFO entry. If you have no DEBUG entries in between please set the log level to 
DEBUG and rerun and let me see the log entries for it. If you need help for the 
details of this, please let me know. The point of this is to see whether your 
indexing document as generated be the indexing stylesheet is empty, e.g. 
because the indexing stylesheet (as distributed) only indexes documents with 
PID starting with 'demo', while your documents probably are different.

There is an autoCommit element in your solrconfig.xml, in the gsearch 
distribution this is set to commit after each update, check what you have. This 
gives the solr administrator more options than if the gsearch code had a commit 
after each update.

Best,
Gert

> -----Original Message-----
> From: Willy Mene [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 15, 2008 12:10 AM
> To: [email protected]
> Subject: [Fedora-commons-users] Gsearch, solr, and commits
>
> Hello,
>
> I setup gsearch on top of solr, and have it listening for messages
> from fedora 3.  Gsearch is picking up the API-M changes via JMS, and
> POSTing the new documents to solr.  However, if I try to use gsearch
> or solr directly to look for this document/object, my changes are not
> there (simple changes such as modifying some DC strings).
>
> Looking at the gsearch code, I see that after POSTing the document to
> SOLR, ti does not send a <commit/> command to commit the changes.  Was
> this intentional, or is there another way to see the changes show up
> in a search after an update?  I'm new to fedora and solr, so
> hopefully, I didn't miss something obvious.
>
> Thanks,
> Willy
>
> -----------------------------------------------------------------------
> --
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to