lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Blythe <j...@curvolabs.com>
Subject Re: storing the analyzed value
Date Sat, 01 Apr 2017 23:21:14 GMT
All good info guys. Appreciate the responses.

Some more on the use case: I'm wanting to display the platonic ideal of
sorts for a given set of potential vendor names.

In some cases I can get away w a lookup in our database based on the term
in the document (not its other synonyms) brought back from the search (in
the analytics related query we do, for instance, leveraging the stats
component). But when we show the user the constituent data id like to show
the same platonic ideal. I could do the same lookup mentioned above for
display purposes. But if they want to sort on that column then my tricks
are suddenly exposed and I'm at a loss.

Does that make sense?

On Sat, Apr 1, 2017 at 6:28 PM Joel Bernstein <joelsolr@gmail.com> wrote:

> You may find this blog interesting.
>
> http://joelsolr.blogspot.com/2017/03/streaming-nlp-is-coming-in-solr-66.html
>
> It deals with how the analyzer chain can now be applied in Streaming
> Expressions. It will be part of the 6.6 release and is in master and
> branch_6x already.
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Sat, Apr 1, 2017 at 5:23 PM, Rick Leir <rleir@leirtech.com> wrote:
>
> > On 2017-04-01 10:51 AM, John Blythe wrote:
> >
> >> Hi Rick. I should explain further. I'm not looking to have the input
> >> stored
> >> but rather the final product, specifically the synonym that an input may
> >> be
> >> mapped to.
> >>
> >> If I have McDonald, McD's, and Mac Donald all mapped to "McDonald's" I'd
> >> like to be able to not only access which one was sent to solr for search
> >> (e.g. "McD's") but _also_ the synonym it mapped to: "McDonald's"
> >>
> >> Does this make more sense?
> >>
> >> Thanks for any continued discussion
> >>
> > Shawn answered well, as always.
> > Here is possibly another way. You can enable highlighting, and scan the
> > output to find the passage which is highlighted. But it can be a
> challenge
> > to get highlighting working correctly (I have not yet used the new
> > highlighter).
> > cheers -- Rick
> >
>
-- 
-- 
*John Blythe*
Product Manager & Lead Developer

251.605.3071 | john@curvolabs.com
www.curvolabs.com

58 Adams Ave
Evansville, IN 47713

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message