Re: Faceting MoreLikeThisComponent results

2008-09-08 Thread wojtekpia

Thanks Hoss. I created SOLR 760:
https://issues.apache.org/jira/browse/SOLR-760



hossman wrote:
 
 
 : When using the MoreLikeThisHandler with facets turned on, the facets
 show
 : counts of things that are more like my original document. When I use the
 : MoreLikeThisComponent, the facets show counts of things that match my
 : original document (I'm querying by document ID), so there is only one
   ...
 : How can I facet the results of the MoreLikeThisComponent?
 
 I don't think you can at this point.  The good news is MoreLikeThisHandler 
 isn't getting removed anytime soon.
 
 
 What we need to do is provide more options on the componets to dictate 
 their behavior when deciding what to process and how to return it ... your 
 example could be solved be either adding an option to MLTComponent telling 
 it to overwrite hte main result set; or by adding an option to 
 FacetComponent specifying the name of a DocSet in the response to use in 
 it's intersections.
 
 I think it would be good to do both.
 
 (HighlightComponent should probably also have an option just like the one 
 i discribed for FacetComponent)
 
 Would you mind filing a feature request?
 
 
 -Hoss
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Faceting-MoreLikeThisComponent-results-tp19206833p19376403.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Faceting MoreLikeThisComponent results

2008-09-06 Thread Chris Hostetter

: When using the MoreLikeThisHandler with facets turned on, the facets show
: counts of things that are more like my original document. When I use the
: MoreLikeThisComponent, the facets show counts of things that match my
: original document (I'm querying by document ID), so there is only one
...
: How can I facet the results of the MoreLikeThisComponent?

I don't think you can at this point.  The good news is MoreLikeThisHandler 
isn't getting removed anytime soon.


What we need to do is provide more options on the componets to dictate 
their behavior when deciding what to process and how to return it ... your 
example could be solved be either adding an option to MLTComponent telling 
it to overwrite hte main result set; or by adding an option to 
FacetComponent specifying the name of a DocSet in the response to use in 
it's intersections.

I think it would be good to do both.

(HighlightComponent should probably also have an option just like the one 
i discribed for FacetComponent)

Would you mind filing a feature request?


-Hoss



Faceting MoreLikeThisComponent results

2008-08-28 Thread wojtekpia

When using the MoreLikeThisHandler with facets turned on, the facets show
counts of things that are more like my original document. When I use the
MoreLikeThisComponent, the facets show counts of things that match my
original document (I'm querying by document ID), so there is only one
result, and the facets are not interesting. I tried changing the order of
search components (facet after mlt), but that didn't change the behavior.
How can I facet the results of the MoreLikeThisComponent?

-- 
View this message in context: 
http://www.nabble.com/Faceting-MoreLikeThisComponent-results-tp19206833p19206833.html
Sent from the Solr - User mailing list archive at Nabble.com.