highlighting more-like-this

2018-10-12 Thread Matt Work Coarr
I want to get highlighted results for more like this queries. More like this doesn't support highlighting. So what I did was ran a more like this query (I have the source document A and say I get three similar documents back A1, A2, and A3). I then create a second query where I use the contents

highlighting in more like this?

2018-09-18 Thread Matt Work Coarr
Is it possible to get highlighting in more like this queries? My initial attempts seem to indicate that it isn't possible (I've only attempted this via modifying MLT query urls) (I'm looking for something similar to hl=true&hl.fl=field1,field5,field6 in a normal search) Thanks, Matt

Re: any way to post json document to a MoreLikeThisHandler?

2018-09-13 Thread Matt Work Coarr
is may not exist right now. Though maybe some combination of > DumpRequestHandler and MLT as a search component could do the trick? > > I would be curious to know if it can be made to work out of the box. > Otherwise, patches are welcome But they should not expect just JSON > input format

Re: any way to post json document to a MoreLikeThisHandler?

2018-09-11 Thread Matt Work Coarr
> https://lucene.apache.org/solr/guide/7_4/morelikethis.html > > MoreLikeThisHandler allows to supply text externally. Unfortunately, I > can't find the specific example demonstrating it, so not sure if it > just a blob of text or a document. > > Regards, >Alex. > &g

any way to post json document to a MoreLikeThisHandler?

2018-09-11 Thread Matt Work Coarr
Hello, Using a MoreLikeThisHandler, I was hoping to be able to pass in in the post body a json document (the same format as a document indexed in my core, but the document in the request is not and should not be added to the core). I'm thinking it would handle an incoming document similar to how

Re: problem setting default params for /browse (velocity) queries

2016-09-20 Thread Matt Work Coarr
It would be nice to have a link to that films example in the cwiki "Request Parameters API" page. Erik H, in your Lucidworks blog post, what is the meaning of the empty string keyed entries in each of the param sets? "":{"v":0} Matt

Re: problem setting default params for /browse (velocity) queries

2016-09-20 Thread Matt Work Coarr
Awesome! Thanks Erik and Erick!! To close the loop on this, I was able to create a paramset via the rest api and then use it in a query via ?paramSet=myParams and it's working!! Hopefully this information will help someone else... My dataset has some text fields that should be used in more-like-

Re: problem setting default params for /browse (velocity) queries

2016-09-20 Thread Matt Work Coarr
Thanks Erick. The pre-existing request handler for /browse (the velocity template driven interface) already had this: I just added an entry for "myParams" and added the initParams element in solrconfig.xml. I also tried adding a initParam with a path of /browse (similar to how the existing ini

problem setting default params for /browse (velocity) queries

2016-09-20 Thread Matt Work Coarr
Good morning. I'm attempting to set some default query parameters via solrconfig.xml but they are not taking effect. I'm using the /browse interface (e.g. velocity templates). To keep it simple, let's start with "fl". When I specify fl as a url parameter, it does take effect. But when I put it