how to update document with DIH (FileDataSource)

2013-04-14 Thread Jeong-dae Ha
Hi, all I am trying to index from both DB and file. and informations from DB and file make one document. so I decided update document which I have already indexed from DB. I will use DIH because of millions of files if I find how to update document with DIH. I need your help. Thanks in advance.

Re: Does solr cloud support rename or swap function for collection?

2013-04-14 Thread Tim Vaillancourt
I added a brief description on CREATEALIAS here, feel free to tweak: http://wiki.apache.org/solr/SolrCloud#Managing_collections_via_the_Collections_API Tim On 07/04/13 05:29 PM, Mark Miller wrote: It's pretty simple - just as Brad said, it's just http://localhost:8983/solr/admin/collections?a

Re: solr spell correction help

2013-04-14 Thread Rohan Thakur
but jack im not using lavanstine distance measures im using jarowinker distance On Mon, Apr 15, 2013 at 11:50 AM, Rohan Thakur wrote: > k thanks jack but then why does cattle not giving kettle as suggestions?? > > > On Fri, Apr 12, 2013 at 6:46 PM, Jack Krupansky > wrote: > >> "blandars it

Re: solr spell correction help

2013-04-14 Thread Rohan Thakur
k thanks jack but then why does cattle not giving kettle as suggestions?? On Fri, Apr 12, 2013 at 6:46 PM, Jack Krupansky wrote: > "blandars its not giving correction as blender" > > They have an edit distance of 3. Direct Spell is limited to a maximum ED > of 2. > > -- Jack Krupansky > > -O

Re: updateLog in Solr 4.2

2013-04-14 Thread samarth s
I have a similar problem on this one. The reason for this is my application performs back to back updates. And, as came out of my performance tests, the update immediately after the first one, seems to be a lot slower than as compared to not having any update logs. Is this a genuine case, or did I

Solr-Jetty Request handling

2013-04-14 Thread hupadhyay
I am using solr4.0 with jetty server.when i am posting a query to the solr,which is off course large (not too much) but solr server prints following:2013-04-15 10:15:22.600:WARN:oejh.HttpParser:Full [1160919745,-1,m=4,g=6144,p=6144,c=6144]= Same query works fine with solrj client.More over i have h

Re: Downloaded Solr 4.2.1 Source: Build Failing

2013-04-14 Thread Jack Park
What I learned is that I needed to upgrade Ant, then needed to install Ivy; the build.xml in the outer subversion directory has an ant target to install Ivy, and one to run-maven-build. I ran that, then switched to /solr and ran "ant dist" which finished in under 2 minutes. On Sun, Apr 14, 2013 at

Re: Basic auth on SolrCloud /admin/* calls

2013-04-14 Thread Gopal Patwa
I was looking too for this feature and it seems SOLR-4470 can work but I haven't tried yet. +1 On Sun, Apr 14, 2013 at 12:14 PM, Tim Vaillancourt wrote: > I've thought about this too, and have heard of some people running a > lightweight http proxy upstream of Solr. > > With the right network r

Re: Some Questions About Using Solr as Cloud

2013-04-14 Thread Furkan KAMACI
5) When I use multi core design can I transfer one index data into another core or anywhere else? 6) Does Solr holds old versions of documents or remove them? 2013/4/15 Furkan KAMACI > I read wiki and reading SolrGuide of Lucidworks. However I want to clear > something in my mind. Here are my qu

Re: Some Questions About Using Solr as Cloud

2013-04-14 Thread Jack Krupansky
There are no masters or slaves in SolrCloud - it's fully distributed. Some cluster nodes will be "leaders" (of the shard on that node) at a given point in time, but different nodes may be leaders at different points in time as they become "elected". In a distributed cluster you would never wan

Some Questions About Using Solr as Cloud

2013-04-14 Thread Furkan KAMACI
I read wiki and reading SolrGuide of Lucidworks. However I want to clear something in my mind. Here are my questions: 1) Does SolrCloud lets a multi master design (is there any document that I can read about it)? 2) Let's assume that I use multiple cores i.e. core A and core B. Let's assume that t

Re: Listing Priority

2013-04-14 Thread Alexandre Rafalovitch
You may find the work and code contributions by Jan Høydahl quite relevant. See the presentation from 2 years ago: http://www.slideshare.net/lucenerevolution/jan-hoydahl-improving-solrs-update-chain-eurocon2011 One of the things he/they contributed is URLClassify Update Processor, it might be quit

RE: Listing Priority

2013-04-14 Thread Markus Jelsma
You can use boost queries to boost documents that match some query e.g. suffix:co.uk but you'll need to have URL suffixes indexed. Nutch knows about URL suffixes but does not index them. You would need to add a custom indexing filter or patch an existing filter to add a suffix field. URLUtil has

Listing Priority

2013-04-14 Thread Furkan KAMACI
I have crawled some internet pages and indexed them at Solr. When I list my results via Solr I want that: if a page has a URL(my schema includes a field for URL) that ends with .edu, .edu.az or .co.uk I will give more priority to them. How can I do it in a more efficient way at Solr?

Solr Indexing My SQL Timestamp or Date Time field

2013-04-14 Thread ursswak...@gmail.com
Hi, To index Date in Solr, Date should be in ISO format. Can we index MySQL Timestamp or Date Time feild with out modifying SQL Select Statement ? I have used CreatedDate is of Type Date Time in MySQL I am getting following exception 11:23:39,117 WARN [org.apache.solr.handler.dataimpo

Re: Basic auth on SolrCloud /admin/* calls

2013-04-14 Thread Tim Vaillancourt
I've thought about this too, and have heard of some people running a lightweight http proxy upstream of Solr. With the right network restrictions (only way for a client to reach solr is via a proxy + the nodes can still talk to each other), you could achieve the same thing SOLR-4470 is doing,

Re: Score field statistics

2013-04-14 Thread lexus
Solution found here: http://hokiesuns.blogspot.com/2012/11/using-solrs-postfiltering-to-collect.html -- View this message in context: http://lucene.472066.n3.nabble.com/Score-field-statistics-tp4055089p4055915.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Downloaded Solr 4.2.1 Source: Build Failing

2013-04-14 Thread Steve Rowe
Hi Umesh, I have the exact same Java 1.6 version as you, on OS X v10.8.3. I downloaded the source distribution from the same mirror as you did, and ran 'ant dist' under the solr/ directory, and got "BUILD SUCCESSFUL". (FYI, building the source distribution is part of the "smoke testing" we do a

Re: CloudSolrServer vs ConcurrentUpdateSolrServer for indexing

2013-04-14 Thread J Mohamed Zahoor
Thanks.. Will try multithreading with CloudSolrServer. ./zahoor On 13-Apr-2013, at 9:11 PM, Mark Miller wrote: > > On Apr 13, 2013, at 11:07 AM, J Mohamed Zahoor wrote: > >> Hi >> >> This question has come up many times in the list with lots of variations >> (which confuses me a lot). >>

Re: Is any way to return the number of indexed tokens in a field?

2013-04-14 Thread Mikhail Khludnev
Alex, It's not what do you need to count, pre-analyzed values or tokens as an analysis result. if former, I suggest you to look into something like FieldLengthUpdateProcessorFactory, in case of later you need to override Similarity.computeNorm(String, FieldInvertState) / encode/decodeNorm. On S

solrcloud dih dead

2013-04-14 Thread ??????
Hello, I am a machine zookeeper opened the three ports, as well as a machine deployed three solr composition solrcloud, when running dih often die without any error message, does the problem where

Re: Downloaded Solr 4.2.1 Source: Build Failing

2013-04-14 Thread Umesh Prasad
Further update on same. Build on Branch http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_2_1 succeeds fine. Build fails only for Source code downloaded from http://apache.techartifact.com/mirror/lucene/solr/4.2.1/solr-4.2.1-src.tgz On Sun, Apr 14, 2013 at 1:05 PM, Umesh Prasad wro

Re: Downloaded Solr 4.2.1 Source: Build Failing

2013-04-14 Thread Umesh Prasad
j*ava version "1.6.0_43" Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-11M4203) Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode) * Mac OS X : Version 10.7.5 -- Umesh On Sat, Apr 13, 2013 at 12:08 AM, Chris Hostetter wrote: > > : > /Users/umeshprasad/Downloads/solr

Re: Solr Thrift APIs

2013-04-14 Thread Shalin Shekhar Mangar
No, Solr does not have any thrift bindings. On Sun, Apr 14, 2013 at 12:24 PM, Kiran J wrote: > Hi, > > Is it possible to access Solr through thrift APIs ? > > Thanks > -- Regards, Shalin Shekhar Mangar.

Re: Basic auth on SolrCloud /admin/* calls

2013-04-14 Thread adfel70
Did anyone try blocking access to the ports in the firewall level, and allowing all the solr servers in the cluster+given control-machines? Assuming that search request to solr run though a proxy.. -- View this message in context: http://lucene.472066.n3.nabble.com/Basic-auth-on-SolrCloud-adm