You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "cmd.ares" <cm...@gmail.com> on 2013/04/25 05:58:35 UTC

Hierarchical Facets filter the current(or first) level?

since the path is very large,so i want to show the path like dos commend
cmd>dir /ad
ratherthan 
cmd>dir /s/ad
how to filer the query faceting?It would be return the first level only!to
be like this:
<lst name="facet_counts">
	<lst name="facet_queries"/>
	<lst name="facet_fields">
		<lst name="DIR">
			<int name="dir001">1674480</int>
			<int name="dir002">123123</int>
			<int name="FIRST_LEV_DIR">123123</int>
		</lst>
	</lst>
	<lst name="facet_dates"/>
	<lst name="facet_ranges"/>
</lst>
----------DIR----------
/dir001/a/b/c/d
/dir001/a/b/c1/d1
/dir002/a/b/c1/d1
/dir002/a/b/c1/d1
/?/?/?.....
...
...



--
View this message in context: http://lucene.472066.n3.nabble.com/Hierarchical-Facets-filter-the-current-or-first-level-tp4058822.html
Sent from the Solr - User mailing list archive at Nabble.com.