Enhanced output of SearchComponent not visible in SolrCloud

2017-03-17 Thread Markus, Sascha
Hi, I created a serch component which enriches the response for a query. So my json result looks like { "responseHeader":{...}, "response":{"numFound":116652,"start":0,"maxScore":1.0,"docs":...}, "facet_counts":{...}, "facets":{...}, "expand.entities":{... } } I did this using rb.

Re: Why QueryWeight with Custom Similarity

2016-02-25 Thread Markus, Sascha
12 PM, Markus, Sascha wrote: > Hi, > I finally found the source of the problem I'm having with the custom > similarity. > > The setting: > - Solr 5.4.1 > - the SpecialSimilarity extends ClassicSimilarity > - for one field this similarity is configured. Everything els

Re: Why QueryWeight with Custom Similarity

2016-02-25 Thread Markus, Sascha
float valueForNormalization) { return get("").queryNorm(valueForNormalization); } On Mon, Feb 15, 2016 at 10:28 AM, Markus, Sascha wrote: > Hi, > I created a custom similarity and factory which extends > DefaultSimilarity/-Factory to have > > to achive this I my similarity overw

Why QueryWeight with Custom Similarity

2016-02-15 Thread Markus, Sascha
Hi, I created a custom similarity and factory which extends DefaultSimilarity/-Factory to have to achive this I my similarity overwrites idfExplain like this and also the method for an array of terms. public Explanation idfExplain(CollectionStatistics collectionStats, TermStatistics termStats)

Different Similarities for the same field

2015-11-24 Thread Markus, Sascha
Hi, I implemented a Similarity which is based on the DefaultSimilarity changing the calculation for the idf. To work with this CustomSimilarity and the DefaultSimilarity from our application I have one field with the default and a copyfield with my similarity. Concerning the extra space needed for