Isn't this just a field on your document and an AND in the query with the websiteID in question? Or are you saying you want to group results by multiple website IDs in a single query? As in
webid1 resulta resultb resultc webid2 resulte resultf resultg etc. If the latter, search the archive for "facets", "faceted" and there are extensive discussions that'll help a great deal. Best Erick On 2/6/07, poeta simbolista <[EMAIL PROTECTED]> wrote:
Hi all, First of all thanks for this forum, I have read stuff that helped me a lot. Second, I would like to query a Lucene index in this way: I want to do operations on groups of entries. These entries I want them to be grouped by a field, (called websiteid), so the queries will only go to those listings. What would it be the best approach for this? Thanks a lot D -- View this message in context: http://www.nabble.com/query-problem%3A-grouping-%22with-same-field%22-tf3181355.html#a8828462 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]