Re: MUST operator across grouped documents

2015-05-20 Thread Eduardo Manrique
I was searching a solution for this cross doc AND and found this: TwoPhaseIterator: Description Currently some scorers have to do a lot of per-document work to determine if a document is a match. The simplest example is a phrase scorer, but there are others (spans, sloppy phrase, geospatial, etc

Re: MUST operator across grouped documents

2015-05-19 Thread Eduardo Manrique
I think it is not possible. There is another problem putting everything in one document, we need also filter by the number of times a user accessed a url in a period of time. The doc size would be too big. There are other informations we gather too. Do you think it is possible to solve this wit

Re: MUST operator across grouped documents

2015-05-19 Thread Erick Erickson
Eduardo: Just noticed that we got off the user's list, so replying to the user's list to move the conversation back there. In the case you outlined, I don't think there's much choice except to index the URLs in a multiValued field. Otherwise the use-case of asking for a user that's visited URL1 A

Re: MUST operator across grouped documents

2015-05-18 Thread Erick Erickson
Take a look at the Solr join (not block join in this case). Be aware that it isn't quite what you think of with SQL joins. so approach with caution. Best, Erick On Mon, May 18, 2015 at 4:33 PM, Eduardo Manrique wrote: > Hi, > > I need to search using group join with AND through fields in differe

MUST operator across grouped documents

2015-05-18 Thread Eduardo Manrique
Hi, I need to search using group join with AND through fields in different documents. For example I might have the documents: doc1: field1=a, parentId=1 doc2: field2=b, parentId=1 What a need is to make a join using parentId and a search like: field1 = a AND field2 = b