Re: Setting up two cores in solr.xml for Solr 4.0

2012-09-04 Thread veena rani
try the above code snippet , in solr.xml. But it works on Tomcat. On Wed, Sep 5, 2012 at 1:10 AM, Chris Hostetter wrote: > > : > > I'm pretty sure what you hav above tells solr that core MYCORE_test it > should use the instanceDir MYCORE but ignore the in that > solrconfig.xml a

Re: Solr 4.0 BETA Replication problems on Tomcat

2012-09-04 Thread Sami Siren
I opened SOLR-3789. As a workaround you can remove internal from the config and it should work. -- Sami Siren On Wed, Sep 5, 2012 at 5:58 AM, Ravi Solr wrote: > Hello, > I have a very simple setup one master and one slave configured > as below, but replication keeps failing with stacktr

Problem after replication using solr 1.4

2012-09-04 Thread ravicv
Hi, We have configured replication in our solr setup. After replication master index size grows to double the size even though maxNumberOfBackups is not configured in my solrconfig.xml Master replication handler optimize Slave replication handler ${solr.ma

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-04 Thread aniljayanti
Hi, thanks, I m sending my whole configurations in schema and solrconfig.xml files. schema.xml --- ***

Solr 4.0 BETA Replication problems on Tomcat

2012-09-04 Thread Ravi Solr
Hello, I have a very simple setup one master and one slave configured as below, but replication keeps failing with stacktrace as shown below. Note that 3.6 works fine on the same machines so I am thinking that Iam missing something in configuration with regards to solr 4.0...can somebody ki

Re: Using a sum of fields in a filter query

2012-09-04 Thread Chris Hostetter
: The piece I was also missing as well was to add: : a) the FunctionQParserPlugin is already registered by default using hte name "func" -- you shouldn't need to register it explicitly unless you want to use it with a custom name. b) the FunctionQParserPlugin is not even required in order to

Re: Using a sum of fields in a filter query

2012-09-04 Thread Mark Mandel
Thanks! The piece I was also missing as well was to add: To my solrconfig.xml. Once I did that, it all worked perfectly! Much appreciated! Mark On Tue, Sep 4, 2012 at 5:25 PM, Rafał Kuć wrote: > Hello! > > Try something like > > fq={!frange l=0 u=100}sum(fielda, fieldb, fieldc) > > -- >

Re: Adding config to SolrCloud without creating any shards/slices

2012-09-04 Thread Mark Miller
FYI - this should be no problem now. You can upload config and make config -> collection links before starting Solr - using the ZkCLI cmd tool or just modifying zk yourself. On Fri, May 18, 2012 at 10:12 AM, Mark Miller wrote: > > On May 18, 2012, at 3:06 AM, Per Steffensen wrote: > >> First of a

Re: Replication lag after cache optimizations

2012-09-04 Thread Chris Hostetter
: However, with these modifications we noticed an important replication I'm not sure how exactly you are measuring/defining "replication lag" but if you mean "lag in how long until the newly replicated documents are visible in searches" then that _may_ be fairly easy to explain... : My previo

Re: Missing Features - AndMaybe and Otherwise

2012-09-04 Thread Lance Norskog
Solr uses Lucene- everything I described in Solr with text queries. - Original Message - | From: "Ramzi Alqrainy" | To: solr-user@lucene.apache.org | Sent: Tuesday, September 4, 2012 12:30:44 AM | Subject: Re: Missing Features - AndMaybe and Otherwise | | Many thanks for your email, but

Re: SolrCloud - Basic Auth - 401 error

2012-09-04 Thread Sudhakar Maddineni
Thanks Mark! > I changed the filter url pattern to {my core name}/admin/* instead of > /admin/* and it worked. -Sudhakar. On Tue, Sep 4, 2012 at 12:33 PM, Mark Miller wrote: > Don't protect /admin/cores or (admin/collections probably). > > On Tue, Sep 4, 2012 at 2:54 PM, Sudhakar Maddineni >

Re: Maximum index size on single instance of Solr

2012-09-04 Thread Michael Brandt
Thanks everyone! On Thu, Aug 30, 2012 at 11:11 AM, pravesh wrote: > We have a 48GB index size on a single shard. 20+ million documents. > Recently > migrated to SOLR 3.5 > But we have a cluster of SOLR servers for hosting searches. But i do see to > migrate to SOLR sharding going forward. > > >

Re: Setting up two cores in solr.xml for Solr 4.0

2012-09-04 Thread Chris Hostetter
: I'm pretty sure what you hav above tells solr that core MYCORE_test it should use the instanceDir MYCORE but ignore the in that solrconfig.xml and use the one you specified. This on the other hand... : > : > : > ...tells solr that the MYCORE_test SolrCore should use the in

Re: Setting up two cores in solr.xml for Solr 4.0

2012-09-04 Thread Mark Miller
Sounds weird. It's just parsing xml with an xml parser, so offhand, I don't see why that should matter. On Tue, Sep 4, 2012 at 3:09 PM, Paul wrote: > By trial an error, I found that you evidently need to put that > property inline, so this version works: > > > > > > > Is the documentation

Re: SolrCloud - Basic Auth - 401 error

2012-09-04 Thread Mark Miller
Don't protect /admin/cores or (admin/collections probably). On Tue, Sep 4, 2012 at 2:54 PM, Sudhakar Maddineni wrote: > Hi, > I setup a two shard cluster using tomcat 6.0.35 with solr 4.0.0-BETA > version and zookeeper 3.3.4. I wanted to secure the solr admin page and > added a BASIC auth to th

Re: Setting up two cores in solr.xml for Solr 4.0

2012-09-04 Thread Paul
By trial an error, I found that you evidently need to put that property inline, so this version works: Is the documentation here in error? http://wiki.apache.org/solr/CoreAdmin On Tue, Sep 4, 2012 at 2:50 PM, Paul wrote: > I'm trying to set up two cores that share everything except thei

SolrCloud - Basic Auth - 401 error

2012-09-04 Thread Sudhakar Maddineni
Hi, I setup a two shard cluster using tomcat 6.0.35 with solr 4.0.0-BETA version and zookeeper 3.3.4. I wanted to secure the solr admin page and added a BASIC auth to the container so that all admin requests to the index will be protected.I did this by adding below security constraint tag in web.

Setting up two cores in solr.xml for Solr 4.0

2012-09-04 Thread Paul
I'm trying to set up two cores that share everything except their data. (This is for testing: I want to create a parallel index that is used when running my testing scripts.) I thought that would be straightforward, and according to the documentation, I thought the following would work:

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-09-04 Thread Kiran Jayakumar
I wonder why. I had a similar use case & works great for me. If you can send the snapshot of analysis for a sample string (say "hello world " for indexing, "hel" - positive case, "wo" - negative case for querying), then we can see whats going on. Also the debug query output would be helpful. On F

add dictionary

2012-09-04 Thread Emiliana Suci
how to add a dictionary in lucene? please give an example. -- View this message in context: http://lucene.472066.n3.nabble.com/add-dictionary-tp4005319.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: stem porter with tokenizer..

2012-09-04 Thread Emiliana Suci
thanx a lot :) -- View this message in context: http://lucene.472066.n3.nabble.com/stem-porter-with-tokenizer-tp4004913p4005316.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Maximum Phrase Length in edismax

2012-09-04 Thread Jack Krupansky
I tried the following query successfully with both Solr 3.6.1 and 4.0-BETA: http://localhost:8983/solr/select/?debugQuery=true&defType=edismax&qf=name+features+id&q="Notes,+Calendar,+Phone+book,+Hold+button,+Date+display,+Photo+wallet,+Built-in+games,+JPEG+photo+playback,+Upgradeable+firmware,+US

Re: StreamingUpdateSolrServer - Failure during indexing

2012-09-04 Thread Mark Miller
You can override the method that logs the error - then parse the msg for the doc ids? On Tue, Sep 4, 2012 at 6:03 AM, Kissue Kissue wrote: > Hi Lance, > > As far as i can see, one document failing does not fail the entire update. > From my logs i can see the error logged in the logs but indexing

Maximum Phrase Length in edismax

2012-09-04 Thread llee
I have a site where users need to be able to execute queries that contain long quoted strings. The site is using Apache Solr with the EDismax parser enabled. When users enter phrases that have more than ~128 characters, Solr fails to return any results. When they enter shorter phrases, Solr returns

Re: New SearchRaquestHandler (distinct field value in successive results)

2012-09-04 Thread Jamel ESSOUSSI
I have tested this (grouping), but the problem is : The grouping does not give me the one by one result -- View this message in context: http://lucene.472066.n3.nabble.com/New-SearchRaquestHandler-distinct-field-value-in-successive-results-tp4005253p4005256.html Sent from the Solr - User maili

Re: New SearchRaquestHandler (distinct field value in successive results)

2012-09-04 Thread Rafał Kuć
Hello! Look at http://wiki.apache.org/solr/FieldCollapsing -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch > Hi, > I have the following schema > field1 = shop_name > field2 = offer_id > field3 = offer_title > field4 = offer_price > In the se

New SearchRaquestHandler (distinct field value in successive results)

2012-09-04 Thread Jamel ESSOUSSI
Hi, I have the following schema field1 = shop_name field2 = offer_id field3 = offer_title field4 = offer_price In the search result, I would not have tow successive results that have the same shop_name. I should develop a new SearchRequestHandler ? Thanks for your help -- View this mes

exception in highlighter when using phrase search

2012-09-04 Thread Yoni Amir
I got this problem with solr 4 beta and the highlighting component. When I search for a phrase, such as "foo bar", everything works ok. When I add highlighting, I get this exception below. You can see according to the first log line that I am searching only one field (all_text), but what is not

Re: Start up errors

2012-09-04 Thread Jack Krupansky
As the exception suggests, you have an XML syntax error. Look for "{1}" and "source" and correct the error. Compare your schema.xml to the Solr example schema.xml to see how it is different. -- Jack Krupansky -Original Message- From: Tolga Sent: Tuesday, September 04, 2012 6:22 AM To

Doubts in Result Grouping in solr 3.6.1

2012-09-04 Thread mechravi25
Hi, I am currently using solr 3.6.1 version and for indexing data, i am using the data import handler for 3.5 because of the reason posted in the following forum link http://lucene.472066.n3.nabble.com/Dataimport-Handler-in-solr-3-6-1-td4001149.html I am trying to achieve result grouping based on

Re: solr issue with seaching words

2012-09-04 Thread Dikchant Sahi
Try debugging it using analysis page or running the query in debug mode (&debugQuery=true). In analysis page, add 'RCA-Jack/' to index and 'jacke' to query. This might help you understanding the behavior. If still unable to debug, some additional information would be required to help. On Tue, Se

Re: solr issue with seaching words

2012-09-04 Thread Rafał Kuć
Hello! I suppose, you may have word delimiter along with stemming in your configuration. You may see how your analysis chain works in Solr analysis pages (admin panel). You can paste the type configuration for the field you experiencing issues on and we will be able to see what is happening. --

solr issue with seaching words

2012-09-04 Thread zainu
I am facing a strange problem. I am searching for word "jacke" but solr also returns result where my description contains 'RCA-Jack/'. Íf i search "jacka" or "jackc" or "jackd", it works fine and does not return me any result which is what i am expecting in this case. Only when there is "jacke", i

Solr Clustering

2012-09-04 Thread Denis Kuzmenok
Hi, all. I know there is carrot2 and mahout for clustering. I want to implement such thing: I fetch documents and want to group them into clusters when they are added to index (i want to filter "similar" documents for example for 1 week). i need these documents quickly, so i cant rely on some po

Re: Solr Cloud Implementation with Apache Tomcat

2012-09-04 Thread Rafał Kuć
Hello! Try starting a standalone Zookeeper, which is very simple - look at http://zookeeper.apache.org/doc/r3.4.3/zookeeperStarted.html -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch > Hi folks, > I am trying the Solr cloud using Apache Tomcat

Solr Cloud Implementation with Apache Tomcat

2012-09-04 Thread bsargurunathan
Hi folks, I am trying the Solr cloud using Apache Tomcat. In first I tried with Jetty server, which is mentioned in wiki. It is working fine, but while I am trying with Tomcat it is failure. Means solr is working, but solr cloud is not working. My doubt is how to configure the zookeeper in Tomcat.

Start up errors

2012-09-04 Thread Tolga
Hi, When I started Solr, I got the following errors. The same are at http://www.example.com:8983/solr SEVERE: Exception during parsing file: schema:org.xml.sax.SAXParseException: Open quote is expected for attribute "{1}" associated with an element type "source". at com.sun.org.apache

Solr index doubles after replication

2012-09-04 Thread ravicv
Hi, We have configured replication in our solr setup. After replication master index size grows to double the size even though maxNumberOfBackups is not configured in my solrconfig.xml *Master replication handler* optimize *Slave replication handler* ${so

Re: StreamingUpdateSolrServer - Failure during indexing

2012-09-04 Thread Kissue Kissue
Hi Lance, As far as i can see, one document failing does not fail the entire update. >From my logs i can see the error logged in the logs but indexing just continues to the next document. This happens with the StreamingUpdateSolrServer which is multithreaded. Thanks. On Tue, Jun 19, 2012 at 9:58

Re: Solr Clustering

2012-09-04 Thread Chandan Tamrakar
yes there is a solr component if you want to cluster solr documents , check the following link http://wiki.apache.org/solr/ClusteringComponent Carrot2 might be good if you want to cluster few thousands of documents , for example when user search solr , just cluster the search results Mahout is m

Solr Clustering

2012-09-04 Thread Denis Kuzmenok
Hi, all. I know there is carrot2 and mahout for clustering. I want to implement such thing: I fetch documents and want to group them into clusters when they are added to index (i want to filter "similar" documents for example for 1 week). i need these documents quickly, so i cant rely on some po

Solr : Condition Before Group By

2012-09-04 Thread Ramzi Alqrainy
Hi, I would like to help me for certain problem. My problem is : I have documents and I do group by on certain field (e.g. Field1). I want to get documents with Field2 is [3 or 9 or 12] if exist, otherwise get any document. please see the below example. D1 :--- Field1

Solr Clustering

2012-09-04 Thread Denis Kuzmenok
Original Message Subject: Solr Clustering From: Denis Kuzmenok To: solr-user@lucene.apache.org CC: Hi, all. I know there is carrot2 and mahout for clustering. I want to implement such thing: I fetch documents and want to group them into clusters when they are added to index

Re: Is there any special meaning for # symbol in solr.

2012-09-04 Thread Oliver Schihin
You are not using a string type, but a TextField. And in your analysis chain, standardtokenizer strips the number sign (or #). You can check this in the "analysis" part of the solr backend. You can either use a string type for seaches like C#, C++ and the like, or map the characters to somethin

Re: Re: Is there any special meaning for # symbol in solr.

2012-09-04 Thread Ahmet Arslan
> this is the field type i m using for > techskill, > > name="techskill"   type="text_general"  > indexed="true" > stored="true" /> > > positionIncrementGap="100"> >       >         class="solr.StandardTokenizerFactory"/> >         class="solr.StopFilterFactory" ignoreCase="true" > words="

Re: Re: Is there any special meaning for # symbol in solr.

2012-09-04 Thread veena rani
this is the field type i m using for techskill, On Tue, Sep 4, 2012 at 1:16 PM, veena rani wrote: > No, # is not a stop word. > > > On Tue, Sep 4, 2012 at 12:59 PM, 李�S wrote: > >> Is

Re: Re: Is there any special meaning for # symbol in solr.

2012-09-04 Thread veena rani
No, # is not a stop word. On Tue, Sep 4, 2012 at 12:59 PM, 李�S wrote: > Is "#" in your stop words list ? > > > 2012-09-04 > > > > Li Yun > Software Engineer @ Netease > Mail: liyun2...@corp.netease.com > MSN: rockiee...@gmail.com > > > > > 发件人: veena rani > 发送时间: 2012-09-04 12:57:26 > 收件人: sol

Re: Missing Features - AndMaybe and Otherwise

2012-09-04 Thread Ramzi Alqrainy
Many thanks for your email, but what about Solr? and how we can handle my case ? Thanks, -- View this message in context: http://lucene.472066.n3.nabble.com/Missing-Features-AndMaybe-and-Otherwise-tp4005059p4005163.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Re: Is there any special meaning for # symbol in solr.

2012-09-04 Thread 李赟
Is "#" in your stop words list ? 2012-09-04 Li Yun Software Engineer @ Netease Mail: liyun2...@corp.netease.com MSN: rockiee...@gmail.com 发件人: veena rani 发送时间: 2012-09-04 12:57:26 收件人: solr-user; te 抄送: 主题: Re: Is there any special meaning for # symbol in solr. if i use this link