Re: How to implement Index time boost via DIH?

2012-08-16 Thread Jienan Duan
Hi Why don't you do this at the searching time?ex: q=fullName:foo+lastUpdatedBy:bar&qf=fullName^2+lastUpdatedBy^0.5 2012/8/17 bbarani > Hi, > > I am trying to implement index time boost via DIH. but I want to boost at > field level rather than document level. Ex: > > Consider there are 2 fields

Re: MySQL Exception: Communications link failure WITH DataImportHandler

2012-08-16 Thread Jienan Duan
It happens immediately upon connection,the jdbc string is correct. This problem only happens when DIH trying get a connection to mysql,the network and database server are fine. So I guess it caused by some security configuration on the server and that config has blocked the connection. But other ap

Re: SOLR3.6:Field Collapsing/Grouping throws OOM

2012-08-16 Thread Tirthankar Chatterjee
Awesome, you rock !!!. Thanks to Eric too for coming up with the ideas. But honestly I am more interested to know this EFF concept. I will do my reading and then throw up questions if I don't get it. External File Field and function queries are something which i have not evaluated yet, but I a

Re: MySQL Exception: Communications link failure WITH DataImportHandler

2012-08-16 Thread Gora Mohanty
On 16 August 2012 14:07, Jienan Duan wrote: > Hi all: > I have resolved this problem by configuring a jndi datasource in tomcat. > But I still want to find out why it throw an exception in DIH when I > configure datasource in data-configure.xml but a jndi resource. [...] When does this error happ

Re: Solr4.0 BETA - Error when StempelPolishStemFilterFactory

2012-08-16 Thread sausarkar
Thank you. From: "steve_rowe [via Lucene]" mailto:ml-node+s472066n4001741...@n3.nabble.com>> Date: Thursday, August 16, 2012 5:05 PM To: "Sarkar, Sauvik" mailto:sausar...@ebay.com>> Subject: RE: Solr4.0 BETA - Error when StempelPolishStemFilterFactory I can reproduce - I agree, this seems like a

RE: Solr4.0 BETA - Error when StempelPolishStemFilterFactory

2012-08-16 Thread Steven A Rowe
I can reproduce - I agree, this seems like a bug. I've opened an issue: https://issues.apache.org/jira/browse/SOLR-3737 Thanks for reporting! Steve -Original Message- From: sausarkar [mailto:sausar...@ebay.com] Sent: Thursday, August 16, 2012 6:42 PM To: solr-user@lucene.apache.org Su

Re: Custom Geocoder with Solr and Autosuggest

2012-08-16 Thread Alexey Serba
> My first decision was to divide SOLR into two cores, since I am already > using SOLR as my search server. One core would be for the main search of the > site and one for the geocoding. Correct. And you can even use that location index/collection for locations extraction for a non structural docum

RE: Solr4.0 BETA - Error when StempelPolishStemFilterFactory

2012-08-16 Thread sausarkar
No I tried that, Solr is finding and loading all the other contrib jars but only for the Polish one it is complaining, it seems like this is a bug. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr4-0-BETA-Error-when-StempelPolishStemFilterFactory-is-used-tp4001724p400173

Re: MySQL Exception: Communications link failure WITH DataImportHandler

2012-08-16 Thread Alexey Serba
My memory is vague, but I think I've seen something similar with older versions of Solr. Is it possible that you have significant database import and there's a big segments merge happening in the middle causing blocking in dih indexing process (and reading records from database as well), since lon

RE: Solr4.0 BETA - Error when StempelPolishStemFilterFactory

2012-08-16 Thread Steven A Rowe
Hi sausarkar, You've probably been hit by the local configuration equivalent of - the Solr example configuration directory added a path segment, so references have to be changed to include an extra "../". Steve -Original Message- From

Re: splitOnCaseChange not working?

2012-08-16 Thread vod
Tested the change and it is indeed working. Thank you for the quick response. -- View this message in context: http://lucene.472066.n3.nabble.com/splitOnCaseChange-not-working-tp4001708p4001733.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: splitOnCaseChange not working?

2012-08-16 Thread Jack Krupansky
Just set autoGeneratePhraseQueries="false" on the ="text_en_splitting" field type. The current setting treated AirlineAlias as the quoted phrase "Airline Alias". -- Jack Krupansky -Original Message- From: vod Sent: Thursday, August 16, 2012 4:21 PM To: solr-user@lucene.apache.org S

Re: Running out of memory

2012-08-16 Thread Amit Nithian
I am debugging an out of memory error myself and a few suggestions: 1) Are you looking at your search logs around the time of the memory error? In my case, I found a few bad queries requesting a ton of rows (basically the whole index's worth which I think is an error somewhere in our app just have

splitOnCaseChange not working?

2012-08-16 Thread vod
Hi, I'm getting unexpected results and hoping someone can help. My schema.xml has splitOnCaseChange="1" for the field I'm searching on (both index & query), and the default search behavior is "OR". I have a field with the word "Airline" indexed. When i search for "Airline" I get the match. When I

Re: solrcloud/solr4: how to specify a new configuration to use, superseding previous configs w/o deleting‏

2012-08-16 Thread Mark Miller
Another clarification: -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=myconf creates no actual link. It simply uploads a config set from a dir and calls it myconf. In the example we count on the rule of, if there is only one config set a new collection will be linked to it.

Re: solrcloud/solr4: how to specify a new configuration to use, superseding previous configs w/o deleting‏

2012-08-16 Thread Mark Miller
Check out some of the new documentation I added today: http://wiki.apache.org/solr/SolrCloud/#Command_Line_Util Collections link with config sets following these rules: 1. When a collection starts, if there is only one config set, the collection will link to it. 2. If a collection starts and

Solr4.0 BETA - Error when StempelPolishStemFilterFactory

2012-08-16 Thread sausarkar
I just upgrade to Solr 4.0.0-BETA and it seems there is a problem with the StempelPolishStemFilterFactory it cannot find a resource, it seems that the bug was introduced in the new beta release, this works fine in the alpha release. Here is the exception I am seeing in the logs: SEVERE: null:java

How to implement Index time boost via DIH?

2012-08-16 Thread bbarani
Hi, I am trying to implement index time boost via DIH. but I want to boost at field level rather than document level. Ex: Consider there are 2 fields in a document: LastUpdatedBy, fullName. After indexing both the fields, I am copying the data from both the field in to a default search field. Now

Re: Duplicated facet counts in solr 4 beta: user error

2012-08-16 Thread Erick Erickson
I say you updated the Wiki, thanks! Erick On Wed, Aug 15, 2012 at 9:34 AM, Erick Erickson wrote: > No problem, and thanks for posting the resolution > > If you have the time and energy, anyone can edit the Wiki if you > create a logon, so any clarification you'd like to provide to keep > oth

solrcloud/solr4: how to specify a new configuration to use, superseding previous configs w/o deleting‏

2012-08-16 Thread Zulu Chas
I am trying to set up a solrcloud/solr4.0.0-beta with multiple cores, multiple shards, and a separate zookeeper process, but I think the exact details are less important than the method of bootstrapping zookeeper with the configs.Since I'm running zookeeper separately, I'd like to be able

RE: solr 4 degraded behavior failure

2012-08-16 Thread Buttler, David
Is there a way to make the shards.tolerant=true behavior the default behavior? -Original Message- From: Buttler, David [mailto:buttl...@llnl.gov] Sent: Thursday, August 16, 2012 11:01 AM To: solr-user@lucene.apache.org Subject: solr 4 degraded behavior failure Hi all, I am testing out th

solr 4 degraded behavior failure

2012-08-16 Thread Buttler, David
Hi all, I am testing out the could features in Solr 4, and I have a observation about the behavior under failure. Following the cloud tutorial, I set up a collection with 2 shards. I started 4 servers (so each shard is replicated twice). I added the test documents, and everything works fine.

Re: SOLR3.6:Field Collapsing/Grouping throws OOM

2012-08-16 Thread prosens
"*Solr's sorting reads all the unique values into memory whether or not they satisfy the query...*" Is it not a overhead for any query? Any reason why it is done on entire result set and not on the query? Is there a way to avoid this? -- View this message in context: http://lucene.472066.n3.nab

Sharding and Replication setup

2012-08-16 Thread erolagnab
Hi all, I'm trying to setup Solr in current environment to provide high availabilty and fault torrenlance infrastucture. What I have is: 1. 2 physical servers running 2 Tomcats 2. A load balancer doing round-robin requests to 2 Tomcats After reading thru different posts (http://lucidworks.lucidim

Re: How to index multivalued field tokens by their attached metadata?

2012-08-16 Thread Jack Krupansky
It would help if you could give a simple, contrived example of the kind of input you want to process, what tokens you consider special, their metadata, and the Solr documents you hope to generate, with the schema definition (summarized.) But keep it simple, at first. That said, as a general ru

How to index multivalued field tokens by their attached metadata?

2012-08-16 Thread Fuu
Hello all Solrians. I'm fairly new to Solr, having only played with it for about a month now. I'm working with the Solr 4.0.0-Alpha release, trying to figure out a proper approach to an indexing problem, but the methods I've come up with are not panning out. I describe below the problem and my 3 a

Re: Sort on dynamic field

2012-08-16 Thread Yonik Seeley
On Thu, Aug 16, 2012 at 8:00 AM, Peter Kirk wrote: > Hi, a question about sorting and dynamic fields in "Solr Specification > Version: 3.6.0.2012.04.06.11.34.07". > > I have a field defined like > multiValued="false"/> > > Where type int is > omitNorms="true" positionIncrementGap="0"/> Try add

Your opinion please concerning prod' installation

2012-08-16 Thread Bruno Mannina
Dear All, I would like to present you what I want to do to install Solr on a brand new production server. 1. uninstall apache-tomcat provides with the standard Ubuntu 12.04 2. uninstall Sun Java provides with the standard Ubuntu 12.04 3. install Java 7 4. install apache-tomcat 5. download So

Re: missing core name in path

2012-08-16 Thread Muzaffer Tolga Özses
Sorry for the late reply. I didn't install it, our sysadmin did based on my tutorialised experience. The version is 3.6.1 On 08/16/2012 02:28 PM, Jack Krupansky wrote: Compare your current schema.xml to a previous known good copy (or to the original from the Solr example) and see what changes

Need Help - Solr - Sitecore integration

2012-08-16 Thread Samuthira Pandi S
Hi, Currently I am working as a Sitecore Developer. My client would like to implement SOLR search integration on my sitecore application. I don't have idea to implement, if you have any document related to this. Kindly share the configure document. Thanks & regards Samuthirapandi.S *

Sort on dynamic field

2012-08-16 Thread Peter Kirk
Hi, a question about sorting and dynamic fields in "Solr Specification Version: 3.6.0.2012.04.06.11.34.07". I have a field defined like Where type int is If I perform a search, which returns 13 documents, and sort by a field called "item_group_int", then it almost produces the results I expe

Re: missing core name in path

2012-08-16 Thread Jack Krupansky
Compare your current schema.xml to a previous known good copy (or to the original from the Solr example) and see what changes have occurred. Maybe you were viewing it in some editor and accidentally hit some keys that corrupted the format. And, tell us what release of Solr you are using. -- J

Re: missing core name in path

2012-08-16 Thread Yury Kats
On 8/16/2012 6:57 AM, Muzaffer Tolga Özses wrote: > > Also, below are the lines I got when starting it: > > SEVERE: org.apache.solr.common.SolrException: Schema Parsing Failed: > multiple points > ... > Caused by: java.lang.NumberFormatException: multiple points > at > sun.misc.FloatingDec

Re: Can two Solr share index?

2012-08-16 Thread Erik Hatcher
Alex - what you're looking for is called "replication" - http://wiki.apache.org/solr/SolrReplication Erik On Aug 16, 2012, at 04:48 , Alex King wrote: > Hi all, > We use Solr to build a search service for our customers. We have got one > core on one physical machine. When our site will

Chinese character not encoded for facet.prefix but encoded for q field

2012-08-16 Thread Rajani Maski
Chinese character not encoded for facet.prefix but encoded for q field - BODY * * *why?what might be the problem?* This is done : [image: Inline image 2]

missing core name in path

2012-08-16 Thread Muzaffer Tolga Özses
Hi, I've started Solr as usual, and when I browsed to http://www.example.com:8983/solr/admin, I got HTTP ERROR 404 Problem accessing /solr/admin/index.jsp. Reason: missing core name in path Powered by Jetty:// Also, below are the lines I got when starting it: SEVERE: org.apache.solr.co

org.apache.solr.client.solrj.SolrServerException: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind

2012-08-16 Thread Kashif Khan
Does anybody know why this error shows up? org.apache.solr.client.solrj.SolrServerException: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind I have developed a solr plugin and have been querying to my plugin with multiple requests then only this error shows up. if i req

Re: Atomic Multicore Operations - E.G. Move Docs

2012-08-16 Thread Nicholas Ball
I've been close to implementing a 2PC protocol before for something else, however for this it's not needed. As the move operation will be done on a single node which has both the cores, this could be done differently. Just not entirely sure how to do it. When a commit is done at the moment, the c

Can two Solr share index?

2012-08-16 Thread Alex King
Hi all, We use Solr to build a search service for our customers. We have got one core on one physical machine. When our site will be ready and running it could potentially be very busy with serving search results to users. But I want to perform indexing of new documents without affecting Solr searc

Re: MySQL Exception: Communications link failure WITH DataImportHandler

2012-08-16 Thread Jienan Duan
Hi all: I have resolved this problem by configuring a jndi datasource in tomcat. But I still want to find out why it throw an exception in DIH when I configure datasource in data-configure.xml but a jndi resource. Regards. 2012/8/16 Jienan Duan > Hi all: > I'm using DataImportHandler load data