Multi stores multi price modelling and range facets in Solr

2013-11-29 Thread Sreehareesh Kaipravan Meethaleveetil
Hi, We have a requirement where we need to display facet for price range. Firstly let me explain our data structure. We have products and product will be present on multiple stores and each store has it's own price. Now the requirement is, when customer is logged in price displayed should be fr

Re: How to remove a Solr Node and its cores from a cluster SolrCloud and from collection

2013-11-29 Thread Ryan Cutter
For people who run into this situation in the future: I had the exact same problem Sebastien had while using 4.4.0 (1 of my 6 nodes died). We rebuilt a host to take its place but gave it the same hostname instead of making a new one. It was configured the same way with the same config files but w

Re: ANNOUNCEMENT: GijutsuHyohronBook2013

2013-11-29 Thread Karl Wright
Good work, Abe-san! Karl On Thu, Nov 28, 2013 at 9:22 PM, Shinichiro Abe wrote: > Hi, > > In Japan, revised Apache Solr introduction book is released. > This book revises GijutsuHyohronBook2010, based on Solr 4.5.1. > This book includes Solr 4.x's many features, SolrCloud, and ManifoldCF > feat

Re: Why is 'solr.RegexReplaceProcessorFactory' not changing fields that are being indexed?

2013-11-29 Thread Dishanker Raj
I had prior to reindexing (following the recent changes to ‘solrconfig.xml’) removed all documents matching the undesired ‘url’ field value pattern (wildcard deletions using ‘curl’). What finally worked was to remove substitutions of values in the ‘id’ field, restart SolrCloud cluster, and rein

Re: SolrCloud - BadRequest error when adding records

2013-11-29 Thread Puneet Pawaia
Hi Raju, I am trying curl " http://192.168.0.10:8983/solr/test/update/csv?separator=%%23&commit=true"; --data-binary "@file.txt" -H "Content-type:text/plain; charset=utf-8" The text file contains about 5000 records that are single line (less than 256 chars) I'll try with the second option once I

Re: Function query matching

2013-11-29 Thread Peter Keegan
Instead of using a function query, could I use the edismax query (plus some low cost filters not shown in the example) and implement the scale/sum/product computation in a PostFilter? Is the query's maxScore available there? Thanks, Peter On Wed, Nov 27, 2013 at 1:58 PM, Peter Keegan wrote: > A

Re: Why is 'solr.RegexReplaceProcessorFactory' not changing fields that are being indexed?

2013-11-29 Thread Jack Krupansky
Any chance that you had already indexed some data before your finalized these configuration settings? That pre-existing data would need to be manually reindexed for the update processor to be effective. -- Jack Krupansky -Original Message- From: Dishanker Raj Sent: Friday, November 2

Re: Solr search part of the word

2013-11-29 Thread Ahmet Arslan
Hi Harsh,  DictionaryCompoundWordTokenFilter could be used. On Friday, November 29, 2013 1:25 PM, harsh kapoor wrote: I am indexing data in Solr. My search keyword is "bieber" Then a word like justinbieber, Solr is unable to tokenize it and highlight the searched keyword. I am familar with

Re: Why is 'solr.RegexReplaceProcessorFactory' not changing fields that are being indexed?

2013-11-29 Thread Erick Erickson
Hmmm, need more data. This works just fine for me when I copy/paste your example. Best, Erick On Fri, Nov 29, 2013 at 5:04 AM, Dishanker Raj wrote: > Hello! > > The following entries in file ‘solrconfig.xml’ are supposed to match and > replace an obsolete URL string to a newer one. But after do

RE: How to remove a Solr Node and its cores from a cluster SolrCloud and from collection

2013-11-29 Thread Eric Bus
Hi Sébastien, Maybe this can help? "Add a collection admin command to remove a replica" https://issues.apache.org/jira/browse/SOLR-5310 It's part of the new 4.6.0 update. Best regards, Eric -Oorspronkelijk bericht- Van: Seb Geek [mailto:geek...@gmail.com] Verzonden: vrijdag 29 novemb

Re: Constantly increasing time of full data import

2013-11-29 Thread michallos
One more info that may be important: this index is divided into 64 logical shards (4 replica factor). -- View this message in context: http://lucene.472066.n3.nabble.com/Constantly-increasing-time-of-full-data-import-tp4103873p4103874.html Sent from the Solr - User mailing list archive at Nabbl

Constantly increasing time of full data import

2013-11-29 Thread michallos
Hi, On our Solr Cloud based application we use full data import (as a delta import) every minute (http://HOST:PORT/solr/collection1/dataimport/?command=full-import&commit=true&optimize=false&clean=false&synchronous=true). Solr cloud is deployed on 4 nodes. When Solr starts, this full import takes

RE: How to remove a Solr Node and its cores from a cluster SolrCloud and from collection

2013-11-29 Thread Raju Shikha
Hi Sébastien, Are you using Zookeeper to maintain your 4 node cluster? If Yes, then clean the Zookeeper using zkCli.sh. It is present in zookeeper/bin Sample query is ./zkCli.sh -server 127.0.0.1:2181 ls/ it lists all files.delete them all like aliases.json,clusterstate.json etc..except zookeep

Block join and child doc facet counts

2013-11-29 Thread Stefan Moises
Hi, I was playing around with the relatively new block join features in Solr 4.6., because I need parent-child relations in my documents. Until now, we are using Solr 4.2.1 with custom plugins, where we have integrated some JIRA patches (mainly https://issues.apache.org/jira/browse/SOLR-2272)

Re: Phonetic filter factory for indian languages

2013-11-29 Thread astroindia
I think you should Google it. Because there you could easily get any good tool. --- Vastu Shastra for Home -- View this message in context: http://lucene.472066.n3.nabble.com/Phonetic-filter-factory-for-indian-languages-tp4015104p4

Re: Lowercase field

2013-11-29 Thread Erik Hatcher
No, there's no simpler thing to do here. When a StrField is indexed, it is indexed as-is, CaseAndAll. Unless you're using fuzzy/regex/multi-term queries, the terms have to be exact. I suppose you could do some kind of regex query: q=field:/[Ff][Oo][Oo]/ , maybe? Erik On Nov 29, 2

Re: Lowercase field

2013-11-29 Thread michallos
Unfortunately indexing takes more than 3 days (hundreds of millions of documents) so it is impossible to do that right now. Any other ideas to do simple .toLowerCase() on one field? -- View this message in context: http://lucene.472066.n3.nabble.com/Lowercase-field-tp4103848p4103866.html Sent f

How to remove a Solr Node and its cores from a cluster SolrCloud and from collection

2013-11-29 Thread Seb Geek
Hello, I have a cluster of 4 Solr Cloud Nodes (nodes N1, N2, N3, N4). I use Solr version 4.5.1 . One (N4) of these node have completely died (all cpu, ram and disks are lost), I have added an other node (N5) to the Solr Cloud cluster and copied all core configuration previously on node N4 to that

Solr search part of the word

2013-11-29 Thread harsh kapoor
I am indexing data in Solr. My search keyword is "bieber" Then a word like justinbieber, Solr is unable to tokenize it and highlight the searched keyword. I am familar with NGramFilterFactory. I just want the specific keyword to get filtered out from the lowercase word. Can anyone help me out.

Re: Re: LanguageIdentifierUpdateProcessor uses only firstValue() on multivalued fields

2013-11-29 Thread Müller , Stephan
Hello Trey, thank you for this example. We've solved it by omitting the multivalued field and passing the distinct string fields instead, still I go with proposing a patch, so the language processor is able to concatenate multivalues by default. I think it's a reasonable feature (and can't reme

Re: Lowercase field

2013-11-29 Thread Erik Hatcher
You can't change the field type or the request then what can you change? Sounds like the right thing to do here is use a TextField with a KeywordTokenizer followed by a LowercaseFilter. If you can't for some reason make that change then I'm at a loss to recommend something different. Erik

Lowercase field

2013-11-29 Thread michallos
Hi, How can process one of the fields in query to be lower case? This field is of type StrField and what is very important I can't change schema (for example to TextField with LowerCase filter). I also can't change query that is passed by HTTP. Is it possible to do that in configuration? Example:

Why is 'solr.RegexReplaceProcessorFactory' not changing fields that are being indexed?

2013-11-29 Thread Dishanker Raj
Hello! The following entries in file ‘solrconfig.xml’ are supposed to match and replace an obsolete URL string to a newer one. But after documents are indexed using the ‘/update’ handler I still see the old URL string in the index that should have been replaced while indexing.

Re: problems with boolean query

2013-11-29 Thread tkurz
Thank you very mutch! That fixed the problem! -- View this message in context: http://lucene.472066.n3.nabble.com/problems-with-boolean-query-tp4103770p4103839.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr 4.3.1 :: Error loading class 'solr.ICUFoldingFilterFactory'

2013-11-29 Thread Raheel Hasan
Thanks Shawn. Always grateful for your help... On Wed, Nov 27, 2013 at 10:37 PM, Shawn Heisey wrote: > On 11/27/2013 9:37 AM, Raheel Hasan wrote: > >> I got a new issue now. I have Solr 4.3.0 running just fine. However on >> Solr >> 4.3.1, it wont load. I get this issue: >> >> >> {msg=SolrC