Setting up Solr

2013-06-04 Thread Aaron Greenspan
Hi everyone, I thought I'd document my process of getting set up with Solr 4.3.0 on a Linux server in case it's of use to anyone. I'm a moderately experienced Linux system administrator, so without passing judgment (at least for now), let me just say that I found getting Solr to work to be extr

Setting up Solr

2013-06-04 Thread Aaron Greenspan
Hi everyone, I thought I'd document my process of getting set up with Solr 4.3.0 on a Linux server in case it's of use to anyone. I'm a moderately experienced Linux system administrator, so without passing judgment (at least for now), let me just say that I found getting Solr to work to be extr

After Upgrade to 4.3 - EmbeddedServer errors with SSL context error

2013-06-04 Thread ld
After upgrading to 4.3 (4.1 was working fine), when creating a corecontainer in order to create an embedded server, i get an SSL error. Apache is running in front of tomcat so there is no need for the SSL connnection. Also, i see the exception occurs with shards, i am not currently using shards

Re: Images in the Solr Wiki

2013-06-04 Thread Michael Della Bitta
OK, maybe I'll throw my stuff up on Imgur for now. Thanks! On Jun 4, 2013 7:15 PM, "Chris Hostetter" wrote: > : I'm having a little trouble with image attachments in the Solr wiki. > : Apparently you can't see the ones I've attached to > : https://wiki.apache.org/solr/SolrOnAmazonEC2 if you're no

Re: Leader election deadlock after restarting leader in 4.2.1

2013-06-04 Thread John Guerrero
https://issues.apache.org/jira/browse/SOLR-4900 -- View this message in context: http://lucene.472066.n3.nabble.com/Leader-election-deadlock-after-restarting-leader-in-4-2-1-tp4067988p4068238.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: java.lang.NumberFormatException when adding latitude,longitude using DIH

2013-06-04 Thread Chris Hostetter
: : : : : I assume this error is due to the fact that I am not converting the values : to double prior to concatenation..Do I need to convert the value to double : (when concatenating ${x.addr_latitude},${x.addr_longitude})? Whats the best : way to do that? I don't think tha

solr-user@lucene.apache.org

2013-06-04 Thread Doug Turnbull
After saying that though if index speed matters I would go with csv like Otis suggests. -- From: Doug Turnbull Sent: 6/4/2013 7:19 PM To: solr-user@lucene.apache.org Subject: Re: search&scroll Actually under the conf/xslt/ folder there's example XSLTs that can be us

Re: Solr 4.2.1 + Distribution scripts (rsync) Issue

2013-06-04 Thread Chris Hostetter
: However, we haven't yet implemented SolrCloud and still relying on : distribution scripts - rsync, indexpuller mechanism. Well, for starters -- have you considered at least looking into using hte java based Replicationhandler instead of the rsync scripts? Script based replication has not bee

java.lang.NumberFormatException when adding latitude,longitude using DIH

2013-06-04 Thread bbarani
I am trying to combine latitude and longitude data extracted from text file using data import handler but I am getting the below error whenever I run my data import with the geo(lat,long) field.. The import works fine without geo field. I assume this error is due to the fact

solr-user@lucene.apache.org

2013-06-04 Thread Doug Turnbull
Actually under the conf/xslt/ folder there's example XSLTs that can be used in conjunction with the XSLT Update Request Handler that take the Solr XML that's output and transforms it to Solr update XML. -Doug On Tue, Jun 4, 2013 at 5:54 PM, O

Re: Images in the Solr Wiki

2013-06-04 Thread Chris Hostetter
: I'm having a little trouble with image attachments in the Solr wiki. : Apparently you can't see the ones I've attached to : https://wiki.apache.org/solr/SolrOnAmazonEC2 if you're not logged in... Is : there something I can do to fix this? FWIW: i didn't even think wiki attachments were allowed u

Re: Solr query performance tool

2013-06-04 Thread Otis Gospodnetic
Right. The main takeway is that QTime is not exactly what user sees. What users sees is always > QTime. To see what end users experience one needs RUM (and I don't mean the tasty kind, but http://en.wikipedia.org/wiki/Real_user_monitoring . Otis -- Solr & ElasticSearch Support http://sematext.co

Re: Lucene/Solr Filesystem tunings

2013-06-04 Thread Otis Gospodnetic
Hi, You can use noatime, nodiratime, nothing in Solr depends on that as far as I know. We tend to use ext4. Some people love xfs. Want to run some benchmarks and publish the results? :) Otis -- Solr & ElasticSearch Support http://sematext.com/ On Tue, Jun 4, 2013 at 6:48 PM, Tim Vaillanco

Re: SpatialRecursivePrefixTreeFieldType Spatial Searching

2013-06-04 Thread David Smiley (@MITRE.org)
maxDistErr should be like 0.3 based on earlier parts of this discussion since your data is to one of a couple hours of the day, not whole days. If it was whole days, you would use 1. Changing this requires a re-index. So does changing worldBounds if you do so. distErrPct should be 0. Changing i

Re: SpatialRecursivePrefixTreeFieldType Spatial Searching

2013-06-04 Thread Chris Atkinson
Hi David, Thanks for your continued help. I think that you have nailed it on the head for me. I'm 100% sure that I had previously tried that query without success. I'm not sure if perhaps I had wrong distErrPct or maxDistErr values... It's getting late, so I'm going to call it a night (I'm on GM

Lucene/Solr Filesystem tunings

2013-06-04 Thread Tim Vaillancourt
Hey all, Does anyone have any advice or special filesytem tuning to share for Lucene/Solr, and which file systems they like more? Also, does Lucene/Solr care about access times if I turn them off (I think I doesn't care)? A bit unrelated: What are people's opinions on reducing some consiste

Re: Multitable import - uniqueKey

2013-06-04 Thread Chris Hostetter
: And I have register schema.xml these fields. : I tried to make full import but unfortunately only the last entity is : indexed. Other entities are not index. : : What should I do to import all the entities? See Gora's other reply... >> This will only work if your table IDs are different. Mi

Images in the Solr Wiki

2013-06-04 Thread Michael Della Bitta
Hi everyone, I'm having a little trouble with image attachments in the Solr wiki. Apparently you can't see the ones I've attached to https://wiki.apache.org/solr/SolrOnAmazonEC2 if you're not logged in... Is there something I can do to fix this? Thanks, Michael Della Bitta Applications Develope

Re: Two instances of solr - the same datadir?

2013-06-04 Thread Roman Chyla
Replication is fine, I am going to use it, but I wanted it for instances *distributed* across several (physical) machines - but here I have one physical machine, it has many cores. I want to run 2 instances of solr because I think it has these benefits: 1) I can give less RAM to the writer (4GB),

solr-user@lucene.apache.org

2013-06-04 Thread Otis Gospodnetic
Hi, The short answer is: doesn't exist. Probably the fastest way is to use csv output and then, after making modifications, feed that back in or use the streaming upload functionality from the location that's local to the Solr server. If there are faster ways, I'm all eyeballs. Otis -- Solr & El

Re: SpatialRecursivePrefixTreeFieldType Spatial Searching

2013-06-04 Thread Smiley, David W.
So "availability" is the absence of any other document's indexed time duration overlapping with your availability query duration. So I think you should negate an overlaps query. The overlaps query looks like: Intersects(-Inf start end Inf). And remember the slight buffering needed as described o

solr-user@lucene.apache.org

2013-06-04 Thread Marcin Rzewucki
Hi, Jack: I'd like to be able to dump some documents, modify them and load back into solr. Let's say I don't have access to source documents and have to use Solr itself. Patricia: that's what I currently do - sort results and navigate through the pages, but I think that built-in functionality wou

Re: Two instances of solr - the same datadir?

2013-06-04 Thread Jason Hellman
Roman, Could you be more specific as to why replication doesn't meet your requirements? It was geared explicitly for this purpose, including the automatic discovery of changes to the data on the index master. Jason On Jun 4, 2013, at 1:50 PM, Roman Chyla wrote: > OK, so I have verified th

Re: HTTP Status 503 - Server is shutting down

2013-06-04 Thread srinalluri
Thanks Shawn for this help. After coping the log4j.properties file from example/resources/ to tomcat lib and changing the log file path, the logs are getting generated. thanks Srini -- View this message in context: http://lucene.472066.n3.nabble.com/HTTP-Status-503-Server-is-shutting-down-tp40

Re: Two instances of solr - the same datadir?

2013-06-04 Thread Roman Chyla
OK, so I have verified the two instances can run alongside, sharing the same datadir All update handlers are unaccessible in the read-only master java -Dsolr.can.write=false . And I can reload the index manually: curl " http://localhost:5005/solr/admin/cores?wt=json&action=RELOAD&core=col

Can Solr3.5 and Solr4.2 work in parallel

2013-06-04 Thread jsuo
We have solr cluster which has a few solr 3.5 node. Now we plan to perform online deployment and upgrade solr node from 3.5 to 4.2. Our plan is to shutdown one solr node and do the upgrade and restart it, and rolling other solr nodes. For some reason we will keep a few node running solr 3.5 for 2

Can Solr3.5 and Solr4.2 work in parallel

2013-06-04 Thread Jian Suo
We have solr cluster which has a few solr 3.5 node. Now we plan to perform online deployment and upgrade solr node from 3.5 to 4.2. Our plan is to shutdown one solr node and do the upgrade and restart it, and rolling other solr nodes. For some reason we will keep a few node running solr 3.5 for

Re: SpatialRecursivePrefixTreeFieldType Spatial Searching

2013-06-04 Thread Chris Atkinson
Here is an example I have tried. So let's assume that I want to checkIn on the 30th day, and leave on the 115th day. My query would be: -availability_spatial:"Intersects( 30 0 3650 115 )" However, that wouldn't match anything. Here is an example document below so you can see. (I've not negat

Re: SpatialRecursivePrefixTreeFieldType Spatial Searching

2013-06-04 Thread Chris Atkinson
Thanks David. Query times are really quick and my index is only 20Mb now which is about what I would expect. I'm having some problems figuring out what type of query I want to find *Available* properties with this new points system. I'm storing bookings against each document. So I have X Y coordi

Re: facet.missing=true returns null records with zero count also

2013-06-04 Thread Chris Hostetter
: that facet value and see all documents. I thought facet.missing=true was : the answer. ... : facquery.setFacetMinCount(1); Hmm, yeah -- it looks like facet.missing doesn't take facet.mincount into consideration. I don't remember if that was intentional or not, but as a special case

Two instances of solr - the same datadir?

2013-06-04 Thread Roman Chyla
Hello, I need your expert advice. I am thinking about running two instances of solr that share the same datadirectory. The *reason* being: indexing instance is constantly building cache after every commit (we have a big cache) and this slows it down. But indexing doesn't need much RAM, only the se

Re: Solr 4.2.1 higher memory footprint vs Solr 3.5

2013-06-04 Thread SandeepM
Thanks Eric and Shawn, Your explanations help understand where SOLR may be spending its time. Sounds like compression can be a CPU and heap hog. (I'll try to confirm this with the heapdumps) Initially we tried to keep the JVM heap sizes the same on both Solr 3.5 and 4.2.1, which was around 3GB ,

RE: Creating a new core programmicatically in solr

2013-06-04 Thread Saikat Kanjilal
Thanks, good catch, completely forgot about the & and its meaning in unix. > From: j...@basetechnology.com > To: solr-user@lucene.apache.org > Subject: Re: Creating a new core programmicatically in solr > Date: Tue, 4 Jun 2013 13:22:34 -0400 > > The double quotes are required for curl simply beca

Re: Creating a new core programmicatically in solr

2013-06-04 Thread Jack Krupansky
The double quotes are required for curl simply because of the "&", which tells the shell to run the preceding command in the background. The quotes around the full URL escape the "&". -- Jack Krupansky -Original Message- From: Saikat Kanjilal Sent: Tuesday, June 04, 2013 12:56 PM To:

RE: Creating a new core programmicatically in solr

2013-06-04 Thread Saikat Kanjilal
I need to simulate this curl command line with java code: curl "http://10.42.6.74:8983/solr/admin/cores?action=CREATE&name=NEW_SCHEMA.solr"; Obviously doing a simple HttpGet with the appropriate query parameters is not the answer. I dont believe your example is not going to work because I am p

RE: Creating a new core programmicatically in solr

2013-06-04 Thread bbarani
did you try escaping double quotes when you are making the http request. HttpGet req = new HttpGet(\"+getSolrClient().getBaseUrl()+ADMIN_CORE_CONSTRUCT+"?action="+action+"&name="+name+\"); HttpResponse response = client.execute(request); -- View this message in context: http://lucene.472066

RE: Creating a new core programmicatically in solr

2013-06-04 Thread Saikat Kanjilal
I'm aware of the CoreAdminRequest API, however given the fact that our solr cluster machines have their own internal configurations I'd prefer to use the http approach rather then having to specify the instanceDir or the solrServer. One issue I was thinking of was the double quotes needed aro

Re: Why is my DIH delta import doing a full import?

2013-06-04 Thread Arun Rangarajan
Thanks, Raheel. That's the approach I took. I modified the deltaQuery like this: deltaQuery="SELECT l.list_id AS id FROM lists l LEFT JOIN agg_list_view_stats agglvs ON agglvs.list_id = l.list_id WHERE l.status = 'ACTIVE' AND l.is_public = 1 AND ( (('${dih.request.entity1}' = '

Re: Creating a new core programmicatically in solr

2013-06-04 Thread bbarani
I would use the below method to create new core on the fly... CoreAdminResponse e = CoreAdminRequest.createCore("name", "instanceDir", server); http://lucene.apache.org/solr/4_3_0/solr-solrj/org/apache/solr/client/solrj/response/CoreAdminResponse.html -- View this message in context: http://

Re: Creating a new core programmicatically in solr

2013-06-04 Thread Jack Krupansky
Best to submit your inquiry as a DataStax support ticket or on their support forum. They have people standing by ready to support you. -- Jack Krupansky -Original Message- From: Saikat Kanjilal Sent: Tuesday, June 04, 2013 12:41 PM To: solr-user@lucene.apache.org Subject: Creating a n

solr-user@lucene.apache.org

2013-06-04 Thread Patricia Gorla
Marcin, For a recent project we implemented search and scroll by paging through the result set. Basically, you'll want to just count through your rows and see if they're less than the `numFound` field returned by Solr if a user scrolls down. Does this help? Cheers, On Tue, Jun 4, 2013 at 6:38

Creating a new core programmicatically in solr

2013-06-04 Thread Saikat Kanjilal
Hello everyone, I have written some simple java code to create a core programmatically in solr and it seems to be returning 200 but I see no core being created inside the solr admin console, here's what I've tried, BTW for what its worth we are using the DSE implementation of solr which uses cas

Re: Why is my DIH delta import doing a full import?

2013-06-04 Thread Raheel Hasan
maybe this will help you: http://wiki.apache.org/solr/DataImportHandlerDeltaQueryViaFullImport On Tue, Jun 4, 2013 at 8:38 PM, Arun Rangarajan wrote: > Shawn, > > Thanks for your reply. My data-config.xml actually has two entities. I sent > only the first entity in my previous email. Since I had

Re: Solr query performance tool

2013-06-04 Thread Walter Underwood
On Jun 4, 2013, at 8:28 AM, Shawn Heisey wrote: > On 6/4/2013 8:45 AM, O'Regan, Mike wrote: >> Can't a GC also kick in before the timer starts, resulting a short QTime but >> a long time from the point of view of the client? Believe I have seen that >> phenomenon in action. > > You are correct.

Re: Solr/Lucene Champion List Support?

2013-06-04 Thread Chris Hostetter
: There is a term called champion list at information retrieval theory. Does : solr/lucene has an implementation of it? Here is some information: : http://en.wikipedia.org/wiki/Champion_list the most direct equivilent in Solr would be to configure static warming using the QuerySendListern in new

Re: Why is my DIH delta import doing a full import?

2013-06-04 Thread Arun Rangarajan
Shawn, Thanks for your reply. My data-config.xml actually has two entities. I sent only the first entity in my previous email. Since I had not run any imports on the 2nd entity, dataimport.properties did not have an entry for it yet. This worked fine in 3.6.2, so looks like a bug in 4.2.1. For no

Solr 4.2.1 + Distribution scripts (rsync) Issue

2013-06-04 Thread Sandeep Mestry
Dear All, *Background:* I have recently upgraded solr from 4.0 to 4.2.1 and have re-indexed all the data. All good so far, we received better query time, lesser index size and now it looks all shiny and nice. However, we haven't yet implemented SolrCloud and still relying on distribution scripts -

Re: Solr query performance tool

2013-06-04 Thread Shawn Heisey
On 6/4/2013 8:45 AM, O'Regan, Mike wrote: > Can't a GC also kick in before the timer starts, resulting a short QTime but > a long time from the point of view of the client? Believe I have seen that > phenomenon in action. You are correct. I don't know why I didn't think of that. Thanks, Shawn

problem with zkcli.sh linkconfig

2013-06-04 Thread Shawn Heisey
I've got Solr 4.2.1 running SolrCloud. I need to change the config set associated with a collection. I'm having a problem with this. Here's the command that I'm running, domain name redacted: /opt/mbsolr4/cloud-scripts/zkcli.sh -cp "/opt/mbsolr4/lib/ext/slf4j-api-1.7.2.jar:/opt/mbsolr4/lib/ext/

RE: Solr query performance tool

2013-06-04 Thread O'Regan, Mike
> From: Shawn Heisey [s...@elyograg.org] > >On 6/3/2013 3:33 PM, Greg Harris wrote: >> >> You have to be careful looking at the QTime's. They do not include garbage >> collection. I've run into issues where QTime is short (cause it was), it >> just happened that the query came in during a long ga

Re: Solr - ORM like layer

2013-06-04 Thread Guido Medina
If by ORM you mean Object Relational Mapping, Hibernate has annotations for Lucene and if my memory doesn't betray me I think you can configure a Solr server at Hibernate config. I have successfully mapped POJO's to Lucene and done text search, it all happens like magic once your annotations a

Re: Leader election deadlock after restarting leader in 4.2.1

2013-06-04 Thread John Guerrero
Thanks Mark, sure thing. I'll do that tonight. jlg On 6/3/13 9:03 PM, Mark Miller-3 [via Lucene] wrote: > Thanks - I can try and look into this perhaps next week. You might > copy the details into a JIRA issue to prevent it from getting lost > though... > > - Mark > > On Jun 3, 2013, at 4:46 P

Re: Solr - ORM like layer

2013-06-04 Thread Jack Krupansky
Solr doesn't support complex objects directly - you must flatten and otherwise denormalize them. If you do want to store something like a graph in Solr, make each node a separate document (and try to avoid the temptation to play games with dynamic and multivalued fields). But if you have a too

Re: Solr/Lucene Champion List Support?

2013-06-04 Thread Jack Krupansky
It is merely a performance optimization. Lucene is already blazing fast at basic tf-idf query, so that form of "hack" is not needed. -- Jack Krupansky -Original Message- From: Furkan KAMACI Sent: Tuesday, June 04, 2013 10:07 AM To: solr-user@lucene.apache.org Subject: Solr/Lucene Cham

Re: Solr 4.2.1 higher memory footprint vs Solr 3.5

2013-06-04 Thread Shawn Heisey
On 6/4/2013 6:06 AM, Erick Erickson wrote: > About shipping data back to the client. Well, you > say the documents are very large Solr 4.2 > automatically compresses stored data, you might > be spending a lot if time decompressing the data. > You could try turning that option off. Other than Erick

Re: Solr/Lucene Champion List Support?

2013-06-04 Thread Shawn Heisey
On 6/4/2013 8:07 AM, Furkan KAMACI wrote: > There is a term called champion list at information retrieval theory. Does > solr/lucene has an implementation of it? Here is some information: > http://en.wikipedia.org/wiki/Champion_list I think this is the closest thing we have to that concept: http:

Solr - ORM like layer

2013-06-04 Thread Tuğcem Oral
Hi folks, I wonder that there exist and ORM like layer for solr such that it generates the solr schema from given complex object type and index given list of corresponding objects. I wrote a simple module for that need in one of my projects and happyly ready to generalize it and contribute to solr

Solr/Lucene Champion List Support?

2013-06-04 Thread Furkan KAMACI
There is a term called champion list at information retrieval theory. Does solr/lucene has an implementation of it? Here is some information: http://en.wikipedia.org/wiki/Champion_list

Re: Why is my DIH delta import doing a full import?

2013-06-04 Thread Shawn Heisey
On 6/4/2013 7:52 AM, Arun Rangarajan wrote: > I upgraded from Solr 3.6.2 to 4.2.1 and I am noticing that my data import > handler's delta import is actually doing a full import. > What changed and how do I get delta import to only index the documents that > got modified after ${dih.Lists.last_in

Why is my DIH delta import doing a full import?

2013-06-04 Thread Arun Rangarajan
I upgraded from Solr 3.6.2 to 4.2.1 and I am noticing that my data import handler's delta import is actually doing a full import. In my data-config.xml, I have an entity named 'Lists' defined as follows: - ... followed by bunch of sub-entities ...

facet.missing=true returns null records with zero count also

2013-06-04 Thread Rahul R
All, We had a requirement in our solr powered application where customers want to see all the documents that have a blank value for a field. So when they facet on a field, if the field has null values, they should be able select that facet value and see all documents. I thought facet.missing=true w

solr-user@lucene.apache.org

2013-06-04 Thread Jack Krupansky
Try describing the problem you are trying to solve and we can help you address it properly in Solr. Here in Solr land we try to make a distinction between "problems to be solved" and "proposed solutions". We focus on the former before considering the latter, but often we find that people come h

Re: Solr directories in 4.3

2013-06-04 Thread Alexandre Rafalovitch
Raheel, The absolutely minimal set of files you need for Solr to work is schema.xml and solrconfig.xml, if you are happy for your collection to be called 'collection1'. If you want some other name , you also need solr.xml. Everything else is supporting files for schema (e.g. language files, etc, a

Re: Question on Copy filed

2013-06-04 Thread sathish_ix
thanks guys for your reply -- View this message in context: http://lucene.472066.n3.nabble.com/Question-on-Copy-filed-tp4068047p4068084.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Create index on few unrelated table in Solr

2013-06-04 Thread Alexandre Rafalovitch
Is the ID field used as unique key? Your entities could be overriding each other. Regards, Alex On 4 Jun 2013 06:29, "sodoo" wrote: > I want to create index few tables. All tables not related. > > In data-config.xml, that I created to create index > > > name="ds-1" >

Re: how are you handling killer queries?

2013-06-04 Thread Erick Erickson
Both the time limiting collector and timeAllowed are useful, but as far as I know not a complete solution (they may be good enough though). As I remember, they essentially bail out of the collector loop, but note that that is only _after_ the query starts to score. So collecting all the terms to a

Re: Inconsistent Full import document index counts.

2013-06-04 Thread Erick Erickson
Hmmm, could it be you aren't sending the docs to Solr? I'm guessing your delta-import is somehow missing the records in the select, but that's just a guess. FWIW, Erick On Mon, Jun 3, 2013 at 5:32 PM, wrote: > > Hello All, > > I've been working on a 2-shard SolrCloud instance with several mill

Re: Solr 4.2.1 higher memory footprint vs Solr 3.5

2013-06-04 Thread Erick Erickson
While the schema may be the same, did you also closely examine solrconfig.xml, particularly cache settings? Memory _should_ have gone down significantly, especially if you're dealing with much textual data or string types. So I'm guessing something innocent in your configs is showing this differen

Re: Solr: separating index and storage

2013-06-04 Thread Erick Erickson
You have to index something with your Solr documents that has meaning in _your_ system so you can find the original record. You don't search this field, you just return it with the search results and then use it to get the original document. If you're storing the original in a DB, this can be the

Re: Multitable import - uniqueKey

2013-06-04 Thread sodoo
Thank you. Solve the issue. Also I one problem. I want to create index few tables. All tables not related. In data-config.xml, that I created to create index

Re: Spell Checker (DirectSolrSpellChecker) correct settings

2013-06-04 Thread Raheel Hasan
Here is the query request string: http://localhost:8983/solr/.../select?q=Provinci+Courtt&wt=xml&indent=true So you see, its just simple. Thats because all items are defined in the solrconfig.xml requestHandler for select, instead of being passed in the query string. They were all posted in th

Re: Solr directories in 4.3

2013-06-04 Thread Raheel Hasan
ok thank alot for the fantastic explanation. Maybe your reply should be added into the README file that is in that folder.. On Tue, Jun 4, 2013 at 3:47 PM, Daniel Collins wrote: > The example is just that, its an example, not a cast iron base to work > from. > > contexts, etc, lib, resources, so

Re: Solr directories in 4.3

2013-06-04 Thread Daniel Collins
The example is just that, its an example, not a cast iron base to work from. contexts, etc, lib, resources, solr-webapp and webapps are part of/related to the Jetty deployment. You might not need all the files in them though. cloud-scripts is just some sample scripts for accessing ZK (optional an

solr-user@lucene.apache.org

2013-06-04 Thread Marcin Rzewucki
Hi, Is there something similar to ElasticSearch search&scroll function, but in Solr ? For me, it's very useful for making dump of some documents only. Regards.

Re: Multitable import - uniqueKey

2013-06-04 Thread Gora Mohanty
On 4 June 2013 16:03, Gora Mohanty wrote: > On 4 June 2013 14:14, sodoo wrote: >> >> Hi, >> >> My english is bad. But I try to explain do this. >> >> I have a 5 table in MySQL db. I try make data-config.xml. Then my >> data-config.xml is below. >> >> >> > name=

Re: Question on Copy filed

2013-06-04 Thread Daniel Collins
I guess the longer answer is it depends on the analyzer chain of Field 2. As Gora mentions, fields are copied before analysis, so they are re-analysed/tokenized in the destination field. If the destination field has different analysis rules, then those will be applied. We explicitly use that bene

Re: Multitable import - uniqueKey

2013-06-04 Thread Gora Mohanty
On 4 June 2013 14:14, sodoo wrote: > > Hi, > > My english is bad. But I try to explain do this. > > I have a 5 table in MySQL db. I try make data-config.xml. Then my > data-config.xml is below. > > > name="ds-1" > driver="com.mysql.jdbc.Driver" >

Create index on few unrelated table in Solr

2013-06-04 Thread sodoo
I want to create index few tables. All tables not related. In data-config.xml, that I created to create index And I have register schem

Re: Multitable import - uniqueKey

2013-06-04 Thread sodoo
Hi, My english is bad. But I try to explain do this. I have a 5 table in MySQL db. I try make data-config.xml. Then my data-config.xml is below.

StatsComponent with median

2013-06-04 Thread Marcin Rzewucki
Hi there, StatsComponent currently does not have median on the list of results. Is there a plan to add it in the next release(s) ? Shall I add a ticket in Jira for this ? Regards.

Re: Solr directories in 4.3

2013-06-04 Thread Yago Riveiro
Raheel, The folders are part of the jetty embedded into solr for run it. -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, June 4, 2013 at 10:49 AM, Raheel Hasan wrote: > ok, here you go: > http://picpaste.com/solr_folders-JYwLHoRP.png > > > On Tue, Jun 4, 2

Re: Solr directories in 4.3

2013-06-04 Thread Raheel Hasan
ok, here you go: http://picpaste.com/solr_folders-JYwLHoRP.png On Tue, Jun 4, 2013 at 2:45 PM, Yago Riveiro wrote: > Raheel, > > I can see the image, the mailing list doesn't work well with images, maybe > you can upload the image in a site like http://picpaste.com/ and after > share the link.

Re: Solr directories in 4.3

2013-06-04 Thread Yago Riveiro
Raheel, I can see the image, the mailing list doesn't work well with images, maybe you can upload the image in a site like http://picpaste.com/ and after share the link. -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, June 4, 2013 at 10:39 AM, Raheel Hasan

Solr directories in 4.3

2013-06-04 Thread Raheel Hasan
Hi, I am starting a fresh project. Could someone please explain to me what folders are needed here? [image: Inline image 1] I know "solr" and "lib" are needed. But what are all these other folders there for? Thanks. -- Regards, Raheel Hasan

Re: Question on Copy filed

2013-06-04 Thread Gora Mohanty
On 4 June 2013 13:45, sathish_ix wrote: > Hi , > > Few question on copy field, > > When a field is edgeNgram and stored into a field (field 1 ), > EdgeNgram field (field 1) is copied into another field ( field 2 ) , > will edgeNgram token will be stored in copyfield (field 2) ? Copyfields are c

Question on Copy filed

2013-06-04 Thread sathish_ix
Hi , Few question on copy field, When a field is edgeNgram and stored into a field (field 1 ), EdgeNgram field (field 1) is copied into another field ( field 2 ) , will edgeNgram token will be stored in copyfield (field 2) ? Field 1 : 123456 ( 12 , 123 .1234. 1245, 123456) Field 2 : 12, 123

Re: Multitable import - uniqueKey

2013-06-04 Thread Raheel Hasan
oh thanks a lot for the replies. Table 1, 2, 3 are just "normalized" form of the whole record and you can easily pull one from another... but thats RDBMS, I dont know if thats true in Solr as well. On Mon, Jun 3, 2013 at 8:33 PM, Shawn Heisey wrote: > > ok. But do we need it? Thats what I

Re: how are you handling killer queries?

2013-06-04 Thread Bernd Fehling
Wow, many thanks! Didn't notice that there is already something available. Will try it with my test-system. Bernd Am 03.06.2013 18:24, schrieb Jack Krupansky: > There is the "timeAllowed" parameter: > > http://wiki.apache.org/solr/CommonQueryParameters#timeAllowed > > -- Jack Krupansky > > --