lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Ronge <mro...@theronge.com>
Subject Re: Faceting with payloads
Date Fri, 08 Feb 2008 23:53:18 GMT

On Feb 8, 2008, at 11:17 AM, Karl Wettin wrote:

>
> 6 feb 2008 kl. 23.10 skrev Matt Ronge:
>
>> I may index the token "house" maybe found in different places with  
>> different types. If the user query contains house, I want to report  
>> the number of instances of the token house of type A, type B and so  
>> on.
>>
>> Should I be using payloads for this? If so, I'd like to be able to  
>> count up all the instances of for each type. Then I can show the  
>> results, along with TypeA (100 hits), TypeB (1000 hits) so on.
>
> Pehaps, what do you do with these numbers you extract?

I would like to display this to the user along with the search  
results. So then can see that there are 100 hits for TypeA, and then  
can specify to get results just of TypeA. So on top of being able to  
count hits based on the payload, I'll need to run a query that looks  
at the payloads.

--
Matt Ronge

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message