Query Boosting and sort

2017-09-08 Thread Renuka Srishti
Hello All, I am trying to use sort parameter and phrase boosting together in search. But, if I use the sort parameter, it seems like Phrase Boosting does not work with it. Thanks Renuka Srishti

Re: Query Boosting and sort

2017-09-08 Thread Rick Leir
Renuka, You have not told us nearly enough about your issue. What query? config? cheers -- Rick On 2017-09-08 05:42 AM, Renuka Srishti wrote: Hello All, I am trying to use sort parameter and phrase boosting together in search. But, if I use the sort parameter, it seems like Phrase Boosting d

Re: Conditions with multiple boosts in bf exists query

2017-09-08 Thread Eric Kurzenberger
Thanks for the response, Erick. Unfortunately, no, these scores aren’t known at index time: they’re specific to the user doing the search, and they can change. Cheers, Eric On 9/7/17, 7:58 PM, "Erick Erickson" wrote: I'd sidestep the problem ;) Are these scores 1> known

Re: Consecutive calls to a query give different results

2017-09-08 Thread Webster Homer
We have several cloud collections, but this one is updated once a day with a partial load, and once a week with a full load, followed by a delete which is based upon an index_date field (timestamp of the solr record). For this and related collections optimizing once per day is probably acceptable.

Re: Consecutive calls to a query give different results

2017-09-08 Thread Shawn Heisey
On 9/7/2017 8:54 AM, Webster Homer wrote: > I am not concerned about deleted documents. I am concerned that the same > search gives different results after each search. The top document seems to > cycle between 3 different documents > > I have an enhanced collections info api call that calls the co

Facing Issue in SOLR 6.6 Indexing - solr unexpected eof in prolog

2017-09-08 Thread ashish sharma
Hello Everyone, I am trying the new Solr 6.6 and using SolrPhpClient to create index having info in an array. $parts = array( '0' => array( 'id' => '0060248025', 'name' => 'Falling Up', 'author' => 'Shel Silverstein', 'inStock' => true, ), '1' => array( 'id' => '0679805273', 'name' => 'Oh, The

Re: Consecutive calls to a query give different results

2017-09-08 Thread Webster Homer
Thank you, Erick Erickson and Shawn Heisey for your excellent answers. For some of our collections, it would seem that an occasional optimize would be a good thing. However we have some collections that are updated constantly Would using the commit expungeDeletes help mitigate the issue? I also c

commit time in solr cloud

2017-09-08 Thread Wei
Hi, In solr cloud we want to track the last commit time on each node. The information source is from the luke handler: admin/luke?numTerms=0&wt=json, e.g. - userData: { - commitTimeMSec: "1504895505447" }, - lastModified: "2017-09-08T18:31:45.447Z" I'm assuming the lastM

Re: Consecutive calls to a query give different results

2017-09-08 Thread Erick Erickson
Here's Mike McCandless' blog on the topic: https://www.elastic.co/blog/lucenes-handling-of-deleted-documents The same options he mentions are available in Solr as both use Lucene under the covers. The long and short of it is that you can have a significant amount of deleted documents in your ind

Re: Query Boosting and sort

2017-09-08 Thread Erick Erickson
Sorting completely overrides scoring. By specifying a sort parameter you're effectively telling Solr that you don't care about scoring, order the docs by the sort criteria. On Fri, Sep 8, 2017 at 3:35 AM, Rick Leir wrote: > Renuka, > > You have not told us nearly enough about your issue. What que

Re: Query Boosting and sort

2017-09-08 Thread Renuka Srishti
Thanks Rick and Erick for your response. Here is the situation where I want to use both sort and phrase boosting: - I have designed a screen where results are showing in tabular form, in each column I have applied sorting( using Solr sort parameter). There is one keyword search box, in wh