Opened 7 years ago
Last modified 7 years ago
#13228 new defect
Plugin fails to index the trac components for searching in Solr
Reported by: | Owned by: | Alex Willmer | |
---|---|---|---|
Priority: | normal | Component: | FullTextSearchPlugin |
Severity: | blocker | Keywords: | Solr |
Cc: | Trac Release: | 1.0 |
Description (last modified by )
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)
Change History (7)
Changed 7 years ago by
Attachment: | fulltextsearchplugin_solrconfig.xml added |
---|
Changed 7 years ago by
Attachment: | fulltextsearchplugin_schema.xml added |
---|
comment:1 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 7 years ago by
comment:3 Changed 7 years ago by
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
comment:4 Changed 7 years ago by
Trac Release: | → 1.0 |
---|
Which Trac version are you running?