Re: function query apply only in the subset of the query

2011-04-13 Thread Yonik Seeley
On Wed, Apr 13, 2011 at 10:00 AM, Marco Martinez wrote: > Its seems that is a problem of my own query, now i need to investigate if > there is something different between a normal query and my implementation of > the query, because if you use it alone, its works properly. Look at your advance() i

Re: function query apply only in the subset of the query

2011-04-13 Thread Marco Martinez
Its seems that is a problem of my own query, now i need to investigate if there is something different between a normal query and my implementation of the query, because if you use it alone, its works properly. Thanks, Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa,

Re: function query apply only in the subset of the query

2011-04-13 Thread Marco Martinez
No, this query returns a few more documents than if a do it by lucene query parser. I'm going to generate another query parser that send a simple term query and see what is the output, when i have it, i will inform in the mail. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de

Re: function query apply only in the subset of the query

2011-04-12 Thread Yonik Seeley
On Tue, Apr 12, 2011 at 10:25 AM, Marco Martinez wrote: > Thanks but I tried this and I saw that this work in a standard scenario, but > in my query i use a my own query parser and it seems that they dont doing > the AND and returns all the docs in the index: > > My query: > _query_:"{!bm25}car" A

Re: function query apply only in the subset of the query

2011-04-12 Thread Marco Martinez
Thanks but I tried this and I saw that this work in a standard scenario, but in my query i use a my own query parser and it seems that they dont doing the AND and returns all the docs in the index: My query: _query_:"{!bm25}car" AND _val_:marketValue -> 67000 docs returned Solr query parser car

Re: function query apply only in the subset of the query

2011-04-12 Thread Erik Hatcher
Try using AND (or set q.op): q=car+AND+_val_:marketValue On Apr 12, 2011, at 07:11 , Marco Martinez wrote: > Hi everyone, > > My situation is the next, I need to sum the value of a field to the score to > the docs returned in the query, but not to all the docs, example: > > q=car returns 3