You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by WY-LAC <wa...@lac-bac.gc.ca> on 2008/07/22 15:53:06 UTC
Parametric/faceted Searching
I looking for sample code that would do the following :
On the first page a parametric Fields
Topics
ALL
Births, Marriages and Death (1200) - Major Category
- Divorces in Canada (750) - sub category
- Deaths (450) - sub category
Click on Major Category it would display
Topics
Births, Marriages and Death (1200) - Major Category
- Divorces in Canada (750) - sub category
- Deaths (450) - sub category
Click on sub Category ( Divorces in Canada ) it would display the
following
Topics
Births, Marriages and Death - Major Category
- Divorces in Canada (750) - sub category
--
View this message in context: http://www.nabble.com/Parametric-faceted-Searching-tp18587632p18587632.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Parametric/faceted Searching
Posted by "Karsten F." <ka...@fiz-technik.de>.
Hi,
my question: How did ebay solve this problem?
Take a look to the faceted browsing in the mark twain project:
http://www.marktwainproject.org/xtf/search?keyword=Berlin&style=mtp
http://tinyurl.com/5cvb3c
This solution is open source and from the xtf project (they use lucene).
http://xtf.wiki.sourceforge.net/programming_Faceted_Browsing
It also use the prefix search but it count the hits for the subtree without
extra search:
The tree of categories is very sufficient in the main memory, so the count
is quite fast.
"sufficient" means, that for each category and document -which belongs to
this category- one "int" is stored in main memory.
The faceted browsing of xtf can used without the rest of xtf (like the
sorting in lucene can used without lucene): you can breaking of the
coupling, but you should consinder to use xtf as a whole .
Keep me informed which solution you selected :-)
Best regards
Karsten
--
View this message in context: http://www.nabble.com/Parametric-faceted-Searching-tp18587632p18630935.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Parametric/faceted Searching
Posted by Konstantyn Smirnov <in...@yahoo.com>.
I soved that using a single field in the document.
It's content is based on a simple convention.
Say I have 2 docs with values BirthsMarriagesDeath_Deaths_Females and
BirthsMarriagesDeath_Divorces.
Now when I need to get the total count for BirthsMarriagesDeath category, I
run "BirthsMarriagesDeath*" query. If I need look in a sub-category, I use
"BirthsMarriagesDeath_Deaths*"
--
View this message in context: http://www.nabble.com/Parametric-faceted-Searching-tp18587632p18628000.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org