The easiest way to get array of matched terms

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

The easiest way to get array of matched terms

SOLR4189
Hi all,

What is the easiest way to get array of matched terms per doc? I don't need
positions or offsets, matched terms only. I found a way - debug=results, but
it requires to parse result (for example, extract term from
weight(field_name: term). Maybe does somebody know another way? Without
parsing?



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Reply | Threaded
Open this post in threaded view
|

Re: The easiest way to get array of matched terms

Mikhail Khludnev-2
Hi,

debug.explain.structured=true parameter may be specified to return this
information as nested data structures native to the response format
requested by wt.

On Mon, May 6, 2019 at 10:01 AM SOLR4189 <[hidden email]> wrote:

> Hi all,
>
> What is the easiest way to get array of matched terms per doc? I don't need
> positions or offsets, matched terms only. I found a way - debug=results,
> but
> it requires to parse result (for example, extract term from
> weight(field_name: term). Maybe does somebody know another way? Without
> parsing?
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>


--
Sincerely yours
Mikhail Khludnev
Reply | Threaded
Open this post in threaded view
|

Re: The easiest way to get array of matched terms

SOLR4189
Nice feature, but it isn't what I search.



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html