Need "OR" in DisMax Query

2009-10-05 Thread David Giffin
Hi There, Maybe I'm missing something, but I can't seem to get the dismax request handler to perform and OR query. It appears that OR is removed by the stop words. I like to do something like "qt=dismax&q=red+OR+green" and get all green and all red results. Thanks, David

Re: Need "OR" in DisMax Query

2009-10-05 Thread David Giffin
f your schema includes fields with analyzers that use the StopFilterFactory > and the dismax QueryHandler is set-up to search within those fields, then > you are correct. > > > On 10/05/2009 01:36 PM, David Giffin wrote: >> >> Hi There, >> >> Maybe I'm mis

facet.query and fq

2009-10-27 Thread David Giffin
Hi There, Is there a way to get facet.query= to ignore the fq= param? We want to do a query like this: select?fl=*&start=0&q=cool&fq=in_stock:true&facet=true&facet.query=in_stock:false&qt=dismax To understand the count of items not in stock, when someone has filtered items that are in stock. Or

Re: facet.query and fq

2009-10-27 Thread David Giffin
_and_excluding_Filters > > J. > > 2009/10/27 David Giffin : >> Hi There, >> >> Is there a way to get facet.query= to ignore the fq= param? We want to >> do a query like this: >> >> select?fl=*&start=0&q=cool&fq=in_stock:true&facet=true&am

Solr Replication Performance

2009-01-08 Thread David Giffin
Hi There, I have been building a Solr environment that indexes roughly 3 million products. The current index is roughly 9gig in size. We have bumped into some issues performance issues with Solr's Replication. During the Solr slave snapshot installation, query times take longer and may in some cas

New Searcher / Commit / Cache Warming Time

2009-01-15 Thread David Giffin
Hi All, I have been trying to reduce the cpu load and time it takes to put a new snapshot in place on our slave servers. I have tried tweaking many of the system memory, jvm and cache size setting used by Solr. When running a commit from the command line I'm seeing roughly 16 seconds before the co

Custom Sorting Based on Relevancy

2009-05-04 Thread David Giffin
Hi There, I'm working on a sorting issue. Our site currently sorts by creation date descending, so users list similar products multiple times to show up at the top of the results. When sorting based on score, we want to move items by the "same user" with the "same title" down search results. It wo

Token filter on multivalue field

2009-06-03 Thread David Giffin
Hi There, I'm working on a unique token filter, to eliminate duplicates on a multivalue field. My filter works properly for a single value field. It seems that a new TokenFilter is created for each value in the multivalue field. I need to maintain an array of used tokens across all of the values i

Re: Token filter on multivalue field

2009-06-06 Thread David Giffin
M, Otis Gospodnetic > wrote: >> >> Hello, >> >> It's ugly, but the first thing that came to mind was ThreadLocal. >> >>  Otis >> -- >> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch >> >> >> >> - Original M