lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Blythe <>
Subject complex query is stumping me
Date Tue, 07 Feb 2017 21:56:41 GMT
hi all.

i'm attempting to grab up a swath of data based on some parameters that i'm
finding difficult to express in a query:

   - i'd like to get all the data from a purchasing group (simple fq on
   their ids)
   - where items are grouped on one (or one of a few) unique identifiers
   (grouping? complex faceting?)
   - use either function fields or stats data to perform a calculation used
   to order them.
      - the specific data i'm looking for is the disparity in highest and
      lowest pricing in any group members per item, ordered by highest
      to lowest
   - limit to 100 rows so i can show them their biggest offenders

those two middle points are the rub, of course. i'm hoping to use solr's
capabilities to cut out a middleman of server side processing to loop
through all the data of a given purchasing group, get results specific to
each purchase, and then determine what's what. i may be asking too much
from solr, though.

i certainly don't want a query for an answer here, not looking for a
handout, but would love to walk through towards a solution if it is indeed
possible to satisfy the above reqs.

thanks for any thoughts!

*John Blythe*

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