[TYPO3-Solr] Results from only configured branches

Lienhart Woitok Lienhart.Woitok at netlogix.de
Tue Jan 21 18:18:15 CET 2014


Hi Claus,

as far as I know Solr is not able to handle queries with leading and trailing wildcard. You should take a look at what Solr indexes in rootline field and simply take the exact value for your filter. It should look something like 1-1/12101.

If you need to generate this value dynamically, that is actually possible with stdWrap and cObjects, but ugly.

Regards


Lienhart Woitok
Web-Entwickler

Telefon: +49 (911) 539909 - 0
E-Mail: Lienhart.Woitok at netlogix.de
Website: media.netlogix.de



--
netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Neuwieder Straße 10 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Internet: http://www.netlogix.de

netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt



-----Ursprüngliche Nachricht-----
Von: typo3-project-solr-bounces at lists.typo3.org [mailto:typo3-project-solr-bounces at lists.typo3.org] Im Auftrag von Claus Harup
Gesendet: Dienstag, 21. Januar 2014 17:44
An: Apache Solr search for TYPO3 project
Betreff: Re: [TYPO3-Solr] Results from only configured branches

So using filter is not the way to go?

I have tried:

search{
query{
filter{
rootLine = rootline:*12101*
    }
}
}

???


2014/1/20 Olivier Dobberkau <olivier.dobberkau at dkd.de>

> Am 20.01.14 16:25, schrieb Claus Harup:
>
>
>  How can I configure solr to only give me searchresults from a specific
>> branch of my (big) website?
>>
>> The scenario is; I a certain section of the website I should only show
>> results from from af section of the pagetree an recursively downwards....
>>
>
> Try to index the Path Info to the indexed page and create a hierarchy
> facet on it.
>
> root -> section 1 -> subsection -> subsubsection -> page
>
> Olivier
>
> _______________________________________________
> TYPO3-project-solr mailing list
> TYPO3-project-solr at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr
>



--
Claus Harup
Teknisk ansvarlig, partner
TypoConsult A/S
Rathsacksvej 1
1862 Frederiksberg C
Danmark
Tel: -45 70207036
Direkte: -45 88276075
Web: www.typoconsult.dk
Mail: ch at typoconsult.dk
_______________________________________________
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