Modify

Opened 5 months ago

Last modified 5 months ago

#13228 new defect

Plugin fails to index the trac components for searching in Solr

Reported by: tgdrozda@… Owned by: Alex Willmer
Priority: normal Component: FullTextSearchPlugin
Severity: blocker Keywords: Solr
Cc: Trac Release: 1.0

Description (last modified by Ryan J Ollos)

I used the provided solrconfig.xml and schema.xml to configure Solr core for FullTextSearchPlugin.

After some modifications and "updates" to solrconfig.xml and schema.xml, I was able to create and load an empty Solr core to store my trac site indexing.

After executing

> trac-admin /home/my-trac fulltext index
Indexing new and changed items in realms: ticket, wiki, attachment
Indexing finished

I go to my Solr admin UI and reload the core however it is still empty.

I am somewhat familiar with Data Import Handler way of working with Solr, but it is not clear to me how the FullTextSearchPlugin is passing the data to Solr for indexing.

Any help would be appreciated.

I am attaching my modified solrconfig.xml and schema.xml files.

Attachments (2)

fulltextsearchplugin_solrconfig.xml (62.6 KB) - added by tgdrozda@… 5 months ago.
fulltextsearchplugin_schema.xml (35.8 KB) - added by tgdrozda@… 5 months ago.

Download all attachments as: .zip

Change History (7)

Changed 5 months ago by tgdrozda@…

Changed 5 months ago by tgdrozda@…

comment:1 Changed 5 months ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 5 months ago by Ryan J Ollos

Which Trac version are you running?

comment:3 Changed 5 months ago by tgdrozda@…

I am using Trac 1.0.13 (this is a version that can be installed via a yum on Centos 7)

I also modified the import of the TagModelProvider for the current version of tagsplugin:

-from tractags.model import TagModelProvider
+from tractags.db import TagSetup as TagModelProvider
Last edited 5 months ago by Jun Omae (previous) (diff)

comment:4 Changed 5 months ago by Ryan J Ollos

Trac Release: 1.0

comment:5 Changed 5 months ago by Ryan J Ollos

In 16711:

FullTextSearchPlugin 0.1: Require TracTags >= 0.7

Refs #13228.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Alex Willmer.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.