Range faceting or grouping on a String or count(field)

2013-11-08 Thread Chris Geeringh
I'm trying to achieve something I thought was relatively simple. "Range faceting" on a String, or count(String). I understand range faceting on a string isn't possible as per the docs, but is there any way to achieve something 'like' this functionality. Consider a document with the field "brand",

Fwd: Mobiles/Tablets for Repair

2013-11-08 Thread Rohan Thakur
Hey there, Currently, I am part of a company* ZurePro Warranty* which deals with providing warranties over the mobiles and tablets. If you have any such product which needs to be repaired (only mobiles & tablets) you can get in touch with me. ZurePro will arrange a free pick and drop for the gadge

Re: Is this a reasonable way to boost?

2013-11-08 Thread Upayavira
On Thu, Nov 7, 2013, at 10:51 PM, Michael Tracey wrote: > I'm trying to boost results slightly on a price (not currency) field that > are closer to a certain value. I want results that are not too expensive > or too inexpensive to be favored. Here is what we currently are trying: > > bf=sub(1,

Re: Disjuctive Queries (OR queries) and FilterCache

2013-11-08 Thread Erick Erickson
Glad to hear you have a solution Best, Erick On Thu, Nov 7, 2013 at 5:12 PM, Patanachai Tangchaisin < patanachai.tangchai...@wizecommerce.com> wrote: > Hi Erick, > > About the size of filter cache, previously we set it to 4,000. > After we faced this problem, we changed it to 10,000. > Stil

Re: SOLR keyword search with fq queries

2013-11-08 Thread Alvaro Cabrerizo
Please, check if "defaults", "appends" and "invariants" from http://wiki.apache.org/solr/SearchHandler can solve your problem. Regards. On Fri, Nov 8, 2013 at 6:05 AM, atuldj.jadhav wrote: > Hi All,I need your help to find a solution to one of the issue I am facing > with the keyword search.We

Re: fq efficiency

2013-11-08 Thread Erick Erickson
Have you tried this and measured or is this theoretical? Because filter queries are _designed_ for this kind of use case. bq: If the user has 100 documents, then finding the intersection requires checking each list ~100 times The cached fq is a bitset. Before checking each document, all that has

Re: Multi-core support for indexing multiple servers

2013-11-08 Thread Erick Erickson
Yep, you can define multiple data sources for use with DIH. Combining data from those multiple sources into a single index can be a bit tricky with DIH, personally I tend to prefer SolrJ, but that's mostly personal preference, especially if I want to get some parallelism going on. But whatever wo

Merging shards and replicating changes in SolrCloud

2013-11-08 Thread michael.boom
Here's the background of this topic: I have setup a collection with 4 shards, replicationFactor=2, on two machines. I started to index documents, but after hitting some update deadlocks and restarting servers my shards ranges in ZK state got nulled (i'm using implicit routing). Indexing continued

Re: Question on Lots Of cores - How do I know it's working

2013-11-08 Thread vybe3142
Thanks so much for the answer, and for "JIRA-fying" it. -- View this message in context: http://lucene.472066.n3.nabble.com/Question-on-Lots-Of-cores-How-do-I-know-it-s-working-tp4099847p415.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Error instantiating a Custom Filter in Solr

2013-11-08 Thread Erick Erickson
Well, I think Jack Krupansky's book has some examples, at $10 it's probably a steal. Best, Erick On Fri, Nov 8, 2013 at 1:49 AM, Dileepa Jayakody wrote: > Hi Erick, > > Thanks a lot for the pointer. > I looked at the LowerCaseFilterFactory class [1] and it's parent abstract > class AbstractAn

Unexpected query result

2013-11-08 Thread Patrick Duc
I'm using Solr 4.4.0 running on Tomcat 7.0.29. The solrconfig.xlm is as-delivered (excepted for the Solr home directory of course). I could pass on the schema.xml, though I doubt this would help much, as the following will show. If I select all documents containing "russia" in the text, which is t

Re: Unexpected query result

2013-11-08 Thread Yonik Seeley
On Fri, Nov 8, 2013 at 10:33 AM, Patrick Duc wrote: > "russia" ("web OR NOT(russia)" russia (web (*:* -russia)) Negative clauses often need something positive to subtract from... so replace "NOT russia" with "(*:* -russia)" -Yonik http://heliosearch.com -- making solr shine

Re: Unexpected query result

2013-11-08 Thread Erick Erickson
Good blog on the fact that Solr/Lucene query language is not strict boolean logic, and why: http://searchhub.org/dev/2011/12/28/why-not-and-or-and-not/ Best, Erick On Fri, Nov 8, 2013 at 10:45 AM, Yonik Seeley wrote: > On Fri, Nov 8, 2013 at 10:33 AM, Patrick Duc wrote: > > "russia" ("web OR

Re: Error instantiating a Custom Filter in Solr

2013-11-08 Thread Jack Krupansky
Thanks for the plug Erick, but my deep dive doesn't go quite that deep (yet.) But I'm sure a 2,500 page book on how to develop all manner of custom Solr plugin would indeed be valuable though. But I do have plenty of example of using the many builtin Solr analysis filters. -- Jack Krupansk

Re: Question on Lots Of cores - How do I know it's working

2013-11-08 Thread vybe3142
On a related note, .. In our application, the cores can get moderately large , and since we mostly use a subset of them on a roughly LRU basis, the dynamic core loading seems a good fit. We interact with our solr server via a solrj client. That said, we do require the capability to access older c

Re: Unexpected query result

2013-11-08 Thread Patrick Duc
Thank you for your very quick reply - and for your solution, that works perfectly well. Still, I wonder why this simple and straightforward syntax "web OR NOT(russia)" needs some translation to be processed correctly... >From the many related posts I read before asking my question, I know that I'm

core swap duplicates core entries in solr.xml

2013-11-08 Thread Branham, Jeremy [HR]
When performing a core swap in SOLR 4.5.1 with persistence on, the two core entries that were swapped are duplicated. Solr.xml Performed swap -

Re: Solr cloud : Changing properties of alreadt loaded collection

2013-11-08 Thread sriram
Thanks a lot Erick. I could get that working in my environment. Kind Regards, V.Sriram -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-cloud-Changing-properties-of-alreadt-loaded-collection-tp4099671p4100062.html Sent from the Solr - User mailing list archive at Nabble

Re: Question on Lots Of cores - How do I know it's working

2013-11-08 Thread Erick Erickson
Just send a query for that core I think Erick On Fri, Nov 8, 2013 at 11:14 AM, vybe3142 wrote: > On a related note, .. > In our application, the cores can get moderately large , and since we > mostly > use a subset of them on a roughly LRU basis, the dynamic core loading > seems > a good

creating collections dynamically.

2013-11-08 Thread mike st. john
Is there any way to create collections dynamically. Having some issues using collections api, need to pass dataDir etc to the cores doesn't seem to work correctly? thanks. msj

Re: creating collections dynamically.

2013-11-08 Thread Shawn Heisey
On 11/8/2013 7:39 PM, mike st. john wrote: Is there any way to create collections dynamically. Having some issues using collections api, need to pass dataDir etc to the cores doesn't seem to work correctly? You can't pass dataDir with the collections API. It is concerned with the entire col

Re: creating collections dynamically.

2013-11-08 Thread mike st. john
thanks shawn, i'll give it a try. msj On Fri, Nov 8, 2013 at 10:29 PM, Shawn Heisey wrote: > On 11/8/2013 7:39 PM, mike st. john wrote: > >> Is there any way to create collections dynamically. >> >> >> Having some issues using collections api, need to pass dataDir etc to the >> cores doesn'