[TYPO3-Solr] Integrate solr and solrfile to index record files

Horea Negru horea.negru at arxia.com
Fri Apr 4 15:19:21 CEST 2014


Hi List,

I have found the problem.
My configuration was wrong:
Instead of :
plugin.tx_solr.index.queue {
 *booklets_release *= 1
*booklets_release *{
 table = tx_iapbooklets_domain_model_release

it should be

plugin.tx_solr.index.queue {
 *tx_iapbooklets_domain_model_release *= 1
*tx_iapbooklets_domain_model_release *{
table = tx_iapbooklets_domain_model_release

Have a nice day,

Horea

On Fri, Apr 4, 2014 at 2:45 PM, Horea Negru <horea.negru at arxia.com> wrote:

> Hi List,
>
> I have a table called tx_iapbooklets_domain_model_release.
> I've added this configuration :
> plugin.tx_solr.index.queue {
> booklets_release = 1
>  booklets_release {
> table = tx_iapbooklets_domain_model_release
>
> fields {
>  title = title
>                         content = description
> }
> attachments {
>  fields = pdf_file
> }
> }
>
> }
>
> I thought that this is enough so my pdf_file will be indexed. :)
>
> What I am trying to do is : index the content of the pdf (the pdf file name
> is found in the pdf_file field) so when I will search a word from the pdf
> text I should get a result pointing to the record containing that pdf.
>
> PS
> I know that the record url is not configured above.
> The pdf files are located in the folder uploads/tx_iapbooklets (the folder
> is of course set in the table TCA).
>
> Thanks in advance for your answers.
>
> Horea
> _______________________________________________
> TYPO3-project-solr mailing list
> TYPO3-project-solr at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr
>


More information about the TYPO3-project-solr mailing list