Facet? Search problem

2017-03-13 Thread Scott Smith
I'm trying to solve a search problem and wondering if facets (or something else) might solve the problem. Let's assume I have a bunch of documents (100 million+). Each document has a category (keyword) assigned to it. A single document my only have one category, but there may be multiple docu

RE: Facet? Search problem

2017-03-14 Thread Scott Smith
at search. Perfect. Thank you very much. -Original Message- From: Dave [mailto:hastings.recurs...@gmail.com] Sent: Monday, March 13, 2017 7:59 PM To: solr-user@lucene.apache.org Subject: Re: Facet? Search problem Perhaps look into grouping on that field. > On Mar 13, 2017, at 9:08

RE: Facet? Search problem

2017-03-14 Thread Scott Smith
apache.org/confluence/display/solr/Collapse+and+Expand+Results might be worth a look as well. -Stefan On Mar 14, 2017 7:25 PM, "Scott Smith" wrote: > Grouping appears to be exactly what I'm looking for. I added > "group=true&group.field=category" to my search

Tie breakers when sorting equal items

2014-01-26 Thread Scott Smith
I promised to ask this on the forum just to confirm what I assume is true. Suppose you're returning results using a sort order based on some field (so, not relevancy). For example, suppose it's a date field which indicates when the document was loaded into the solr index. Suppose two items hav

Help on custom sort

2014-09-20 Thread Scott Smith
I need to provide a custom sort option for sorting by price and I would like some suggestions. It's not the straightforward "just sort by a price field in the document" scenario or I wouldn't be asking for help. Here's the scenario I'm dealing with. I have 100 million+ documents (so multi-sha

RE: Help on custom sort

2014-09-21 Thread Scott Smith
the price returned by the function respects the group the user is in, perhaps even the min/max of all the groups the user is in. I admit I haven't really thought that through well though... Best, Erick On Sat, Sep 20, 2014 at 9:26 AM, Scott Smith wrote: > I need to provide a cust

RE: Help on custom sort

2014-09-22 Thread Scott Smith
g the price to solr; something like this http://java.dzone.com/articles/connecting-redis-solr-boosting On Mon, Sep 22, 2014 at 1:38 AM, Scott Smith wrote: > There are likely several hundred groups. Also, new groups will be > added and some groups will be deleted. So, I don't think

Accessing document stored fields in a custom function

2014-09-23 Thread Scott Smith
I'm creating a custom function (extends ValueSource). I'm generating a value that will both be returned as a value in the hit for each doc and also be used to sort. As I read the documentation, this is not difficult. To determine the value for a document, I need to access the "stored" fields f

Solr query processing

2013-09-23 Thread Scott Smith
I just want to state a couple of things and hear someone say, "that's right". 1. In a solr query you can have multiple fq's, but only a single q. And yes, I can simply AND the multiple "q"s together. Just want to avoid that if I'm wrong. 2. A subtler issue is that when a full que

Lucene->SOLR transition

2011-09-15 Thread Scott Smith
I've been using lucene for a number of years. We've now decided to move to SOLR. I have a couple of questions. 1. I'm used to creating Boolean queries, filter queries, term queries, etc. for lucene. Am I right in thinking that for SOLR my only option is creating string queries (with q

RE: Lucene->SOLR transition

2011-09-19 Thread Scott Smith
ote: > On 9/15/2011 8:30 PM, Scott Smith wrote: >> >> 2. Assuming that the answer to 1 is "correct", then is there an easy >> way to take a lucene query (with nested Boolean queries, filter queries, >> etc.) and generate a SOLR query string with q and

To optimize or not - Solr vs Lucene

2011-12-06 Thread Scott Smith
Wasn't sure which mailing list to send this to. I'm writing an application that can be configured to run directly with lucene or with solr and I'm trying to figure out whether optimization of the index should be totally eliminated, eliminated in the lucene case only or what. If I read the 3.5

MoreLikeThis questions

2011-12-09 Thread Scott Smith
I'm implementing a MoreLikeThis search. I have a couple of questions. I'm implementing this with solrj so I would appreciate it if any code snippets reflect that. First, I want to provide the text that Solr should check for "interesting words" and do the search on. This means I don't want t

RE: MoreLikeThis questions

2011-12-09 Thread Scott Smith
I realized I probably should have said Solr 3.5 in case that makes a difference. -Original Message- From: Scott Smith [mailto:ssm...@mainstreamdata.com] Sent: Friday, December 09, 2011 2:29 PM To: solr-user@lucene.apache.org Subject: MoreLikeThis questions I'm implement

RE: MoreLikeThis questions

2011-12-09 Thread Scott Smith
ts? Scott -Original Message----- From: Scott Smith [mailto:ssm...@mainstreamdata.com] Sent: Friday, December 09, 2011 3:14 PM To: solr-user@lucene.apache.org Subject: RE: MoreLikeThis questions I realized I probably should have said Solr 3.5 in case that makes a difference. -Origin

Exception in Solr server on "more like this"

2011-12-22 Thread Scott Smith
I've been trying to get "More like this" running under solr 3.5. I get the Exception below. The http request is also highlighted below. I've looked at the FieldType code and I don't understand what's going on there. So, while I know what a null pointer exception means, it isn't telling me what

RE: Exception in Solr server on "more like this"

2011-12-22 Thread Scott Smith
This turned out to be SOLR-2986. -Original Message- From: Scott Smith [mailto:ssm...@mainstreamdata.com] Sent: Thursday, December 22, 2011 1:24 PM To: solr-user@lucene.apache.org Subject: Exception in Solr server on "more like this" I've been trying to get "More like

ANTLR SOLR query/filter parser

2011-08-01 Thread Scott Smith
I'm looking for an ANTLR parser that consumes solr queries and filters. Before I write my own, thought I'd ask if anyone has one they are willing to share or can point me to one? Thanks Scott

Custom Solr indexer/searcher

2012-11-13 Thread Scott Smith
Suppose I have a special data search type (something different than a string or numeric value) that I want to integrate into the Solr server. For example, suppose I wanted to implement a KD-tree as a filter that would integrate with standard Solr filters and queries. I might want to say "find

RE: Custom Solr indexer/searcher

2012-11-16 Thread Scott Smith
Thanks for the suggestions. I'll take a look at these things. -Original Message- From: Mikhail Khludnev [mailto:mkhlud...@griddynamics.com] Sent: Thursday, November 15, 2012 11:54 PM To: solr-user@lucene.apache.org Subject: Re: Custom Solr indexer/searcher Scott, It sounds like you need