RE: json update moves doc to end

2013-12-04 Thread Andreas Owen
of: -Infinity = log(int(clicks)=0) 8.0 = boost 7.0840283E-4 = queryNorm /str -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Dienstag, 3. Dezember 2013 20:30 To: solr-user@lucene.apache.org Subject: Re: json update moves doc to end Try adding debug=all

Re: json update moves doc to end

2013-12-04 Thread Erick Erickson
= queryNorm /str -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Dienstag, 3. Dezember 2013 20:30 To: solr-user@lucene.apache.org Subject: Re: json update moves doc to end Try adding debug=all and you'll see exactly how docs are scored. Also, it'll show you

RE: json update moves doc to end

2013-12-04 Thread Andreas Owen
: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Mittwoch, 4. Dezember 2013 15:07 To: solr-user@lucene.apache.org Subject: Re: json update moves doc to end Well, both have a score of -Infinity. So they're equal and the tiebreaker is the internal Lucene doc ID. Now this is not helpful since

Re: json update moves doc to end

2013-12-04 Thread Chris Hostetter
: Well, both have a score of -Infinity. So they're equal and : the tiebreaker is the internal Lucene doc ID. : : Now this is not helpful since the question now is where : -Infinity comes from, this looks suspicious: : -Infinity = (MATCH) FunctionQuery(log(int(clicks))), product of: :

json update moves doc to end

2013-12-03 Thread Andreas Owen
When I search for “agenda” I get a lot of hits. Now if I update the 2. Result by json-update the doc is moved to the end of the index when I search for it again. The field I change is “editorschoice” and it never contains the search term “agenda” so I don’t see why it changes the order. Why does

Re: json update moves doc to end

2013-12-03 Thread Jonathan Rochkind
What order, the order if you supply no explicit sort at all? Solr does not make any guarantees about what order documents will come back in if you do not ask for a sort. In general in Solr/lucene, the only way to update a document is to re-add it as a new document, so that's probably what's

Re: json update moves doc to end

2013-12-03 Thread Andrea Gazzarini
AFAIK If you don't supply or configure a sort parameter, SOLR is sorting by score desc. In that case, you may want to understand (at least view) how each document score is calculated: you can run the query with queryDebug set and see the whole explain This great tool helped me a lot:

RE: json update moves doc to end

2013-12-03 Thread Andreas Owen
So isn't it sorted automaticly by relevance (boost value)? If not do should i set it in solrconfig? -Original Message- From: Jonathan Rochkind [mailto:rochk...@jhu.edu] Sent: Dienstag, 3. Dezember 2013 19:07 To: solr-user@lucene.apache.org Subject: Re: json update moves doc to end What

Re: json update moves doc to end

2013-12-03 Thread Erick Erickson
by relevance (boost value)? If not do should i set it in solrconfig? -Original Message- From: Jonathan Rochkind [mailto:rochk...@jhu.edu] Sent: Dienstag, 3. Dezember 2013 19:07 To: solr-user@lucene.apache.org Subject: Re: json update moves doc to end What order, the order if you supply

Re: json update moves doc to end

2013-12-03 Thread Upayavira
: Re: json update moves doc to end What order, the order if you supply no explicit sort at all? Solr does not make any guarantees about what order documents will come back in if you do not ask for a sort. In general in Solr/lucene, the only way to update a document is to re-add it as a new