Re: Limit fields returned in solr based on content

2015-12-24 Thread Jamie Johnson
Would the doc transformer have access to payloads? On Dec 24, 2015 4:21 PM, "Upayavira" wrote: > You could create a custom DocTransformer. They can enhance the fields > included in the search results. So, instead of fl=somefield you could > have fl=[my-filter:somefield], and your MyFieldDocTransf

Re: Limit fields returned in solr based on content

2015-12-24 Thread Jamie Johnson
I'm currently doing it in a middle tier, but it means I can't return results from the index to users, instead it needs to always hit the store, not the end of the world but was hoping I could use the fields in the index as a quick first view and then get the full result when the user selected an en

Re: Limit fields returned in solr based on content

2015-12-24 Thread Walter Underwood
I would do that in a middle tier. You can’t do every single thing in Solr. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Dec 24, 2015, at 1:21 PM, Upayavira wrote: > > You could create a custom DocTransformer. They can enhance the fields > includ

Re: Limit fields returned in solr based on content

2015-12-24 Thread Upayavira
You could create a custom DocTransformer. They can enhance the fields included in the search results. So, instead of fl=somefield you could have fl=[my-filter:somefield], and your MyFieldDocTransformer makes the decision as to whether or not to include somefield in the output. This would of course

Re: Limit fields returned in solr based on content

2015-12-24 Thread Jamie Johnson
Sorry hit send too early Is there a mechanism in solr/lucene that allows customization of the fields returned that would have access to the field content and payload? On Dec 24, 2015 4:15 PM, "Jamie Johnson" wrote: > I have what I believe is a unique requirement discussed here in the past > to l