Re: Field Query After Collapse.Field?

2013-06-28 Thread slevytam
Unfortunately not. That would require an object for every single entry for every single user. Generating millions of basically empty objects just for this query is likely impossible. :( -- View this message in context: http://lucene.472066.n3.nabble.com/Field-Query-After-Collapse-Field-t

Re: Field Query After Collapse.Field?

2013-06-28 Thread slevytam
Hi Erick, I have no idea how I managed to get that working. I was messing around a lot. I may have added org.apache.solr.handler.component.CollapseComponent to an older version :- Unfortunately, I've formatted the server since to try some other options. I did find the official wiki page for th

Re: Field Query After Collapse.Field?

2013-06-28 Thread Bryan Bende
Can you just use two queries to achieve the desired results ? Query1 to get all actions where !entry_read:1 for some range of rows (your page size) Query2 to get all the entries with an entry_id in the results of Query1 The second query would be very direct and only query for a set of entries equ

Re: Field Query After Collapse.Field?

2013-06-28 Thread Erick Erickson
Well, now I'm really puzzled. The link you referenced was from when grouping/field collapsing was under development. I did a quick look through the entire 4x code base fo "collapse" and there's no place I saw that looks like it accepts that parameter. Of course I may have just missed it. What vers

Re: Field Query After Collapse.Field?

2013-06-28 Thread slevytam
Hi Erick, I actually did mean collapse.field, as per: http://blog.trifork.com/2009/10/20/result-grouping-field-collapsing-with-solr/ On high level I am trying to avoid the use of a join between a list of entries and a list of actions that users have performed on a entry (since it's not supported

Re: Field Query After Collapse.Field?

2013-06-28 Thread Erick Erickson
bq: Is there anyway to perform the field query after the results are collapsed? I'm not quite sure what you mean here. The intent of fq clauses it that they apply to the entire query before anything else, including field collapsing (and I'm assuming you mean group.field, not collapse.field) What'

Field Query After Collapse.Field?

2013-06-27 Thread slevytam
Hello, I've struggling to find a way to query after collapse.field is performed and I'm hoping someone can help. I'm doing a multiple core(index) search which generates results that can have varying fields. ex. entry_id, entry_starred entry_id, entry_read I perform a collapse.field on entry_id w