custom filter class on schema.xml on solrcloud
I have used a custom filter provided by a jar in schema.xml in standalone Solr like below And for this, I have loaded the jar in solrconfig.xml like below It's working fine But when I've tried to use it in solrcloud with external zookeeper mode I've got an error 'IO exception' maybe for uploading a large jar file in zookeeper. I've also tried to put this jar in the lib folder of solr home but got error 'Plugin init failure' After that, I've tried blob store api but the documentation says "Blob store can only be used to dynamically load components configured in solrconfig.xml. Components specified in schema.xml cannot be loaded from blob store" So, how can I use custom filter class in schema.xml in solrcloud mode with external zookeeper configuration -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
custom filter class on schema.xml on solrcloud
I have used a custom filter provided by a jar in schema.xml in standalone Solr like below And for this, I have loaded the jar in solrconfig.xml like below It's working fine But when I've tried to use it in solrcloud with external zookeeper mode I've got an error 'IO exception' maybe for uploading a large jar file in zookeeper. I've also tried to put this jar in the lib folder of solr home but got error 'Plugin init failure' After that, I've tried blob store api but the documentation says "Blob store can only be used to dynamically load components configured in solrconfig.xml. Components specified in schema.xml cannot be loaded from blob store" So, how can I use custom filter class in schema.xml in solrcloud mode with external zookeeper configuration -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Matching a string across multiple fields
Alex Thurlow wrote: So on with the questions. I'm indexing music, and I have artist and title fields. It works great if I just search for the artist or just for the title, but if I search for a string of both, that artist, title combination does not come up first. For example, I have: artist: Whitney Houston title: Saving All My Love For You artist: Whitney Houston title: If I Told You That artist: Whitney Houston title: Exhale If I search for "Whitney Houston Exhale", I would expect that song to come up first, but it doesn't. Is there a special kind of matching or field setup I need to do for that? Sounds like you need to copy those 2 fields into one and then just search that one field. Also checkout the min-should-match settings if you are using the dismax handler
Re: Random Field
What would be more useful would be randomizing closely related hits. IE hits within 5% of each other Sent from my iPhone On May 1, 2010, at 7:37 AM, Yonik Seeley wrote: On Sat, May 1, 2010 at 10:23 AM, Blargy wrote: Can someone explain a useful case for the RandomSortField? People sometimes have requirements to show different results to everyone (essentially randomly shuffling matches per person). -Yonik Apache Lucene Eurocon 2010 18-21 May 2010 | Prague indexed="true" />
Re: Random Field
Example use case: We have a bunch of items sold by multiple sellers. I would rather show closely related items distributed by seller rather than clumps of items by the same seller. This will be more of a "fair" scoring for sellers. The scores should be within a certain percentage of each other to still return relevant results. Would you mine providing an example of random sort in a boost function/ function query. Thanks Sent from my iPhone On May 1, 2010, at 9:37 AM, Yonik Seeley wrote: On Sat, May 1, 2010 at 12:32 PM, Static Void > wrote: What would be more useful would be randomizing closely related hits. IE hits within 5% of each other This is not the use case I've encountered multiple times in the past, but it should also be doable by using the random field in a function query. -Yonik Apache Lucene Eurocon 2010 18-21 May 2010 | Prague