Re: Solr 4 memory usage increase

2013-05-16 Thread Walter Underwood
It is past time to get off of Java 6. That is dead. End of life. No more updates, not even for security bugs. What version of Java 6? Some earlier versions had bad bugs that Solr would run into. We hit them in prod until we upgraded. wunder On May 16, 2013, at 11:28 PM, Wei Zhao wrote: > No,

Re: Solr 4 memory usage increase

2013-05-16 Thread Wei Zhao
No, exactly the same JVM of Java6 -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-memory-usage-increase-tp4064066p4064108.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: error while switching from log4j back to slf4j with solr 4.3

2013-05-16 Thread Bernd Fehling
Am 16.05.2013 17:19, schrieb Shawn Heisey: > On 5/16/2013 3:24 AM, Bernd Fehling wrote: >> OK, solved. >> I have now run-jetty-run with log4j running. >> Just copied log4j libs from example/lib/ext to webapp/WEB-INF/classes and >> set -Dlog4j.configuration in run-jetty-run VM classpath. > > The

Re: Deleting an entry from a collection when they key has ":" in it

2013-05-16 Thread Jason Hellman
The first rule of Solr without Unique Key is that we don't talk about Solr without a Unique Key. The second rule... On May 16, 2013, at 8:47 PM, Jack Krupansky wrote: > Technically, core Solr does not require a unique key. A lot of features in > Solr do require unique keys, and it is recommen

Re: Oracle Timestamp in SOLR

2013-05-16 Thread Peter Sch�tt
Hallo, > >: > SELECT ... CAST(LAST_ACTION_TIMESTAMP AS DATE) AS LAT >: >: This removes the time part of the timestamp in SOLR. althought it is >: shown in PL/SQL-Developer (Tool for Oracle). > > Hmmm... that makes no sense to me based on 10 seconds of googling... > > http://docs.oracle.com

Re: Solr 4 memory usage increase

2013-05-16 Thread William Bell
Did you switch the JVM too? On Thu, May 16, 2013 at 7:14 PM, Wei Zhao wrote: > We are migrating from Solr 3.5 to Solr 4.2. > > After some performance testing, we found 4.2's memory usage is a lot higher > than 3.5. Our 12GM max heap process used to handle the test pretty well > with > 3.5. whil

Re: SurroundQParser does not analyze the query text

2013-05-16 Thread Jack Krupansky
(Erik: Or he can get the LucidWorks Search product and then use "near" and "before" operators so that he doesn't need the surround query parser!) -- Jack Krupansky -Original Message- From: Erik Hatcher Sent: Thursday, May 16, 2013 6:11 PM To: solr-user@lucene.apache.org Subject: Re: S

Re: Question about Edismax - Solr 4.0

2013-05-16 Thread Jack Krupansky
Ah... I think your issue is the preserveOriginal=1 on the query analyzer as well as the fact that you have all of these catenatexx="1" options on the query analyzer - I indicated that you should remove them all. The problem is that the whitespace analyzer leaves the leading comma in place, and

Hierarchical Data

2013-05-16 Thread varsha.yadav
Hi, I have been following http://wiki.apache.org/solr/HierarchicalFaceting I have hierarchical data for facet . Some documents also have multiple hierarchy. like : Doc#1 London > UK > 51.5 Doc#2 UK >54.0 Doc#3 Indiana > United States > 40.0, London >UK>51.5 Doc#4 United States > 39.7, Washingto

Re: Deleting an entry from a collection when they key has ":" in it

2013-05-16 Thread Jack Krupansky
Technically, core Solr does not require a unique key. A lot of features in Solr do require unique keys, and it is recommended that you have unique keys, but it is not an absolute requirement. -- Jack Krupansky -Original Message- From: Daniel Baughman Sent: Thursday, May 16, 2013 1:50

Re: Controlling which node(s) hold(s) a collection

2013-05-16 Thread Otis Gospodnetic
Thanks Mark. > The collections api also takes a list of nodes names to use optionally. I just tried looking for this, but I don't see it on http://wiki.apache.org/solr/SolrCloud - either I need new glasses or it's not mentioned there? Thanks, Otis -- Search Analytics - http://sematext.com/search

Solr 4 memory usage increase

2013-05-16 Thread Wei Zhao
We are migrating from Solr 3.5 to Solr 4.2. After some performance testing, we found 4.2's memory usage is a lot higher than 3.5. Our 12GM max heap process used to handle the test pretty well with 3.5. while, with 4.2, the same test runs into serious GC half way (20 minutes) into the test. Anyone

Re: Null identity service When Running Solr 4.2.1 with log4j

2013-05-16 Thread Furkan KAMACI
Ok, I have used 4.3.0's jetty and lib folder (of course plus log4j.properties) and it works with 4.2.1 now. 2013/5/17 Furkan KAMACI > Thanks Shawn. I have just wondered that how other people could used log4j > with 4.2.1 because of there is a paragraph for "Using log4j with Solr from > source, 4

Re: Controlling which node(s) hold(s) a collection

2013-05-16 Thread Mark Miller
You can control simply with the CoreAdmin api - the core is created at the location of whatever url you use…simply fire the creates at whatever nodes you want the collection to live on. The collections api also takes a list of nodes names to use optionally. - Mark On May 16, 2013, at 7:34 PM,

Re: Null identity service When Running Solr 4.2.1 with log4j

2013-05-16 Thread Furkan KAMACI
Thanks Shawn. I have just wondered that how other people could used log4j with 4.2.1 because of there is a paragraph for "Using log4j with Solr from source, 4.2.1 or earlier" at wiki. 2013/5/17 Shawn Heisey > On 5/16/2013 5:22 PM, Furkan KAMACI wrote: > >> *Null identity service, trying login se

Re: Null identity service When Running Solr 4.2.1 with log4j

2013-05-16 Thread Shawn Heisey
On 5/16/2013 5:22 PM, Furkan KAMACI wrote: *Null identity service, trying login service: null Finding identity service: null* What I am missing? That's a message from jetty that has nothing to do with Solr. https://bugs.eclipse.org/bugs/show_bug.cgi?id=396295 You'll probably need to upgrade

Controlling which node(s) hold(s) a collection

2013-05-16 Thread Otis Gospodnetic
Hi, Is it possible to control on which node(s) a collection should be placed? I've looked at http://wiki.apache.org/solr/SolrCloud and http://wiki.apache.org/solr/CoreAdmin and have searched the ML archives, but couldn't find any mentions of that. Use case: * Want to use SolrCloud for large indi

Re: Null identity service When Running Solr 4.2.1 with log4j

2013-05-16 Thread Furkan KAMACI
When I check under logs folder I see that there is a file called solr.log and has that line: WARN - 2013-05-17 02:16:47.688; org.apache.solr.core.CoreContainer; Log watching is not yet implemented for log4j 2013/5/17 Furkan KAMACI > I have Solr 4.2.1 and want to use log4j. I have followed wiki

Null identity service When Running Solr 4.2.1 with log4j

2013-05-16 Thread Furkan KAMACI
I have Solr 4.2.1 and want to use log4j. I have followed wiki. Here are my jar versions: java -jar start.jar --version Active Options: [default, *] Version Information on 15 entries in the classpath. Note: order presented here is how they would appear on the classpath. changes to the OPTIONS=[opti

Solr httpCaching for distinct handlers

2013-05-16 Thread mat0112
Hi everybody, I would like to have distinct httpCaching configuration for distinct handlers, i.e if a request comes for select, send a cache control header of 1 minute ; and if receive a request for mlt then send a cache control header of 5 minutes. Is there a way to do that in my solrconfig.xml ?

Re: SOLR test framework- ERROR: SolrIndexSearcher opens=1 closes=0

2013-05-16 Thread bbarani
Thanks a lot for your response. I figured out that I am not closing the LocalSolrQueryRequest after handling the response..The error got resolved after closing the request object. -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-test-framework-ERROR-SolrIndexSearcher-op

Re: SurroundQParser does not analyze the query text

2013-05-16 Thread Erik Hatcher
The issue can certainly be "solved". But to me, it's actually a bit of a "feature" by design for the Lucene-level surround query parser to not do analysis, as it seems to have been meant for advanced query writers to piece together sophisticated SpanQuery-based pattern matching kinds of things

RE: Deleting an entry from a collection when they key has ":" in it

2013-05-16 Thread Chris Hostetter
: If in my schema, I have the "key" field set to indexed=false, then is that : maybe the issue? I'm going to try to set that to true and rebuild the : repository and see if that does it. if a field is indexed="false" you can not query on it. if you can not query on a field, then you can not del

RE: Speed up import of Hierarchical Data

2013-05-16 Thread O. Olson
Thank you James. Are there any examples of SortedMapBackedCache? I am new to Solr and I do not find many tutorials in this regard. I just modified the examples and they worked for me. What is a good way to learn these basics? O. O. Dyer, James-2 wrote > See https://issues.apache.org/jira/browse

Re: Question about Edismax - Solr 4.0

2013-05-16 Thread Sandeep Mestry
Hi Jack, Thanks for your response again and for helping me out to get through this. The URL is definitely encoded for spaces and it looks like below. As I mentioned in my previous mail, I can't add it to query parameter as that searches on multiple fields. The title field is defined as below:

Re: Aggregate word counts over a subset of documents

2013-05-16 Thread David Larochelle
Jason, Thanks so much for your suggestion. This seems to do what I need. -- David On Thu, May 16, 2013 at 3:59 PM, Jason Hellman < jhell...@innoventsolutions.com> wrote: > David, > > A Pivot Facet could possibly provide these results by the following syntax: > > facet.pivot=category,includes >

Re: Speed up import of Hierarchical Data

2013-05-16 Thread O. Olson
Thank you Stefan. I am new to Solr and I would need to read up more on CachedSqlEntityProcessor. Do you have any clue where to begin? There do not seem to be any tutorials online. The link you provided seems to have a very short and unclear explanation. After “Example 1” you have “The usage is exa

Re: SOLR Junit test - How to resolve error - 'thread leaked from SUITE scope'?

2013-05-16 Thread Shawn Heisey
On 5/16/2013 3:05 PM, bbarani wrote: I am using SOLR 4.3.0...I am currently getting the below error when running test for custom SOLR components. The tests pass without any issues but I am getting the below error after the tests are done.. Can someone let me how to resolve this issue? thread le

Re: Zookeeper Ensemble Startup Parameters For SolrCloud?

2013-05-16 Thread Furkan KAMACI
Hi Shawn; I will have totally 18 Solr nodes at my current pre-prototype environment over one collection and I don't have large config files. I know that best and only recommend practice for estimating the heap size of my system needs is to run load tests and I will. I asked this question because

SOLR Junit test - How to resolve error - 'thread leaked from SUITE scope'?

2013-05-16 Thread bbarani
I am using SOLR 4.3.0...I am currently getting the below error when running test for custom SOLR components. The tests pass without any issues but I am getting the below error after the tests are done.. Can someone let me how to resolve this issue? thread leaked from SUITE scope at com.solr.acti

Re: Migrating from 4.2.1 to 4.3.0

2013-05-16 Thread M. Flatterie
Great it works, I am back on track!  Thank you!!! Nic From: Shawn Heisey To: solr-user@lucene.apache.org Sent: Thursday, May 16, 2013 4:25:09 PM Subject: Re: Migrating from 4.2.1 to 4.3.0 On 5/16/2013 1:40 PM, M. Flatterie wrote: > Oups sorry about that, si

Re: Zookeeper Ensemble Startup Parameters For SolrCloud?

2013-05-16 Thread Shawn Heisey
On 5/16/2013 2:34 PM, Furkan KAMACI wrote: You have some tips about JVM parameters starting a Solr node. What do you have special for Solr when you start a Zookeeper ensemble. i.e. heap size? I haven't given it any JVM options. The ZK process on my primary server has a 5GB virtual memory size

SurroundQParser does not analyze the query text

2013-05-16 Thread Isaac Hebsh
Hi, I'm trying to use Surround Query Parser for two reasons, which are not covered by proximity slops: 1. find documents with two words within a given distance, *unordered* 2. given two lists of words, find documents with (at least) one word from list A and (at least) one word from list B, within

Re: Zookeeper Ensemble Startup Parameters For SolrCloud?

2013-05-16 Thread Furkan KAMACI
Hi Shawn; You have some tips about JVM parameters starting a Solr node. What do you have special for Solr when you start a Zookeeper ensemble. i.e. heap size? 2013/5/16 Shawn Heisey > On 5/16/2013 9:25 AM, Furkan KAMACI wrote: > >> I know that there have been many conversations about SolrCloud

Re: wiki versus downloads versus archives

2013-05-16 Thread Benson Margulies
tanks. On Thu, May 16, 2013 at 4:28 PM, Shawn Heisey wrote: > On 5/16/2013 2:21 PM, Benson Margulies wrote: > >> http://wiki.apache.org/solr/**Solr3.1claims >> that Solr3.1 is available in a >> place where it is not, and I can't find a link on the front pag

Re: wiki versus downloads versus archives

2013-05-16 Thread Shawn Heisey
On 5/16/2013 2:21 PM, Benson Margulies wrote: http://wiki.apache.org/solr/Solr3.1 claims that Solr3.1 is available in a place where it is not, and I can't find a link on the front page to the archive for old releases. Download links fixed on the wiki pages for 3.1 and 3.2. Thanks, Shawn

Re: Migrating from 4.2.1 to 4.3.0

2013-05-16 Thread Shawn Heisey
On 5/16/2013 1:40 PM, M. Flatterie wrote: Oups sorry about that, since it was referring context I thought it was the Tomcat one. Here is the /home/solradm1/solr.xml file (comments removed!) The hostContext attribute needs changin

wiki versus downloads versus archives

2013-05-16 Thread Benson Margulies
http://wiki.apache.org/solr/Solr3.1 claims that Solr3.1 is available in a place where it is not, and I can't find a link on the front page to the archive for old releases.

Re: Aggregate word counts over a subset of documents

2013-05-16 Thread Jason Hellman
David, A Pivot Facet could possibly provide these results by the following syntax: facet.pivot=category,includes We would presume that includes is a tokenized field and thus a set of facet values would be rendered from the terms resoling from that tokenization. This would be nested in each ca

Re: Migrating from 4.2.1 to 4.3.0

2013-05-16 Thread M. Flatterie
Oups sorry about that, since it was referring context I thought it was the Tomcat one. Here is the /home/solradm1/solr.xml file (comments removed!)                         Note: I configure solr.data.dir and solr.ulog.dir so I can run two instances on the sam

Re: Migrating from 4.2.1 to 4.3.0

2013-05-16 Thread Shawn Heisey
On 5/16/2013 12:37 PM, M. Flatterie wrote: Afternoon, my solr.xml file is the following (and has not changed from 4.2.1 to 4.3.0): That is not the solr.xml Mark is referring to. This solr.xml configures tomcat to load Solr. You will have /home/solradm1/sol

Aggregate word counts over a subset of documents

2013-05-16 Thread David Larochelle
Is there a way to get aggregate word counts over a subset of documents? For example given the following data: { "id": "1", "category": "cat1", "includes": "The green car.", }, { "id": "2", "category": "cat1", "includes": "The red car.", }, { "id": "3", "c

Re: Oracle Timestamp in SOLR

2013-05-16 Thread Shawn Heisey
On 5/16/2013 11:00 AM, Chris Hostetter wrote: There must be *some* way to either tweak your SQL or tweak your JDBC connection properties such that Oracle's JDBC driver will give you a legitimate java.sql.Date or java.sql.Timestamp instead of it's own internal class (that doesn't extend java.util.

Re: Facets referenced by key

2013-05-16 Thread Brendan Grainger
Thanks for the excellent clarification. I'll ask the sunspot guys about the localparams issue. I have a patch that would fix it Thanks Brendan On May 16, 2013, at 1:42 PM, Chris Hostetter wrote: > > : I would then like to refer to these 'pseudo' field later in the request > : string. I thoug

Re: Migrating from 4.2.1 to 4.3.0

2013-05-16 Thread M. Flatterie
Afternoon, my solr.xml file is the following (and has not changed from 4.2.1 to 4.3.0):             From: Mark Miller To: solr-user@lucene.apache.org Sent: Thursday, May 16, 2013 2:28:52 PM Subject: Re: Migrating from 4.2.1 to 4.3.0 You

having trouble storing large text blob fields - returns binary address in search results

2013-05-16 Thread geeky2
hello environment: solr 3.5 can someone help me with the correct configuration for some large text blob fields? we have two fields in informix tables that are of type text. when we do a search the results for these fields come back looking like this: [B@17c232ee i have tried setting them u

Re: Migrating from 4.2.1 to 4.3.0

2013-05-16 Thread Mark Miller
Your solr webapp context appears to be "" rather than "solr". There was a JIRA issue in 4.3 that may have affected this, but I only saw it from a distance, so just a guess. What does it say in solr.xml for the context (an attribute on ) - Mark On May 16, 2013, at 2:02 PM, "M. Flatterie" wrote

Migrating from 4.2.1 to 4.3.0

2013-05-16 Thread M. Flatterie
Greetings, I just started with Solr a couple weeks ago, with version 4.2.1. I installed the following setup: - ZooKeeper: 3 instances ensemble - Solr: on Tomcat, 4 instances     - WebOrder_Collection: instances 1 and 2, 1 shard, 1 master, 1 replica     - other_collectionA: instances 3 and 4, 1 sh

RE: Deleting an entry from a collection when they key has ":" in it

2013-05-16 Thread Daniel Baughman
Thanks for the idea http://localhost:8983/solr/docrepo/update/?stream.body=%3Cdelete%3E%3Cquery% 3Ekey%3AD\:\\Webdocs\\sw4\\docRepo\\documents\\Hiring%20Manager\\Disciplinar y\\asdfasdf\.docx%3C%2Fquery%3E%3C%2Fdelete%3E I do have :'s and \'s escaped, I believe. If in my schema, I have the "

Re: Facets referenced by key

2013-05-16 Thread Chris Hostetter
: I would then like to refer to these 'pseudo' field later in the request : string. I thought this would be how I'd do it: : : f.my_facet_key.facet.prefix=a_given_prefix ... that syntax was proposed in SOLR-1351 and a patch was made available, but it was never commited (it only support

Re: Deleting an entry from a collection when they key has ":" in it

2013-05-16 Thread Jack Krupansky
You need to escape colons in queries, using either a backslash or enclosing the full query term in quotes. In your case, you have backslashes as well in your query, which the query parser will interpret as an escape! So, you need to escape those backslashes as well: D\:\\somedir\\somefile.pd

Re: Strange fuzzy behavior in 4.2.1

2013-05-16 Thread Jack Krupansky
Go ahead and file a Jira and hopefully that will attract some committer attention that might shed some more light. Beyond that, sure you can build Solr yourself and change the query parser code to put a larger number in for maxExpansion. You might also try developing a test case, say 100 smal

RE: Speed up import of Hierarchical Data

2013-05-16 Thread Dyer, James
See https://issues.apache.org/jira/browse/SOLR-2943 . You can set up 2 DIH handlers. The first would query the "CAT_TABLE" and save it to a disk-backed cache, using DIHCacheWriter. You then would replace your 3 child entities in the 2nd DIH handler to use DIHCacheProcessor to read back the ca

Re: Question about Edismax - Solr 4.0

2013-05-16 Thread Jack Krupansky
Could you show us the full query URL - spaces must be encoded in URL query parameters. Also show the actual field XML - you omitted that. Try the same query as a main query, using both defType=edismax and defType=lucene. Note that the filter query is parsed using the Lucene query parser, not

Re: Oracle Timestamp in SOLR

2013-05-16 Thread Chris Hostetter
: > SELECT ... CAST(LAST_ACTION_TIMESTAMP AS DATE) AS LAT : : This removes the time part of the timestamp in SOLR. althought it is shown : in PL/SQL-Developer (Tool for Oracle). Hmmm... that makes no sense to me based on 10 seconds of googling... http://docs.oracle.com/cd/B28359_01/server

Re: SOLR test framework- ERROR: SolrIndexSearcher opens=1 closes=0

2013-05-16 Thread Shawn Heisey
On 5/16/2013 10:46 AM, bbarani wrote: I am using SOLR 4.3.0, I have created multiple custom components. I am getting the below error when I run tests (using SOLR 4.3 test framework) against one of the custom componentAll the tests pass but I still get the below error once test gets completed

SOLR test framework- ERROR: SolrIndexSearcher opens=1 closes=0

2013-05-16 Thread bbarani
I am using SOLR 4.3.0, I have created multiple custom components. I am getting the below error when I run tests (using SOLR 4.3 test framework) against one of the custom componentAll the tests pass but I still get the below error once test gets completed. Can someone help me resolve this error

Re: Question about Edismax - Solr 4.0

2013-05-16 Thread Sandeep Mestry
Thanks Jack for your reply.. The problem is, I'm finding results for fq=title:(,10) but not for fq=title:(, 10) - apologies if that was not clear from my first mail. I have already mentioned the debug analysis in my previous mail. Additionally, the title field is defined as below:

Re: Speed up import of Hierarchical Data

2013-05-16 Thread Stefan Matheis
That sounds like a perfect match for http://wiki.apache.org/solr/DataImportHandler#CachedSqlEntityProcessor :) On Thursday, May 16, 2013 at 6:01 PM, O. Olson wrote: > I am using the DataImportHandler to Query a SQL Server and populate Solr. > Unfortunately, SQL does not have an understanding of

Re: Ho to adjust maxDocs and maxTime for autoCommit?

2013-05-16 Thread Jack Krupansky
Unless you have a specific reason to change the settings (any settings), the general recommendation is to leave them as is. That's not to say that these are the best settings or optimal for all situations, but simply that they are all considered to be reasonable. If you or anybody else has goo

Speed up import of Hierarchical Data

2013-05-16 Thread O. Olson
I am using the DataImportHandler to Query a SQL Server and populate Solr. Unfortunately, SQL does not have an understanding of hierarchical relationships, and hence I use Table Joins. The following is an outline of my table structure: PROD_TABLE -> SKU (Primary Key) -> Title (varchar) -> Descr

Re: What is 503 Status For Admin Ping

2013-05-16 Thread Shawn Heisey
On 5/16/2013 9:18 AM, Furkan KAMACI wrote: It is a single node, started as standalone. I have just started a Solr instance without SolrCloud. 2013/5/16 Yago Riveiro Probably one or more shards of your collection are not available at ping operation time and the server returns the 503 code --

Re: Ho to adjust maxDocs and maxTime for autoCommit?

2013-05-16 Thread Shawn Heisey
On 5/16/2013 9:36 AM, Furkan KAMACI wrote: I will start my pre-production step soon. How can I adjust maxDocs and maxTime for autoCommit? What do you suggest for me to adjust that parameters? Change the numbers for those settings in your solrconfig.xml. Look at the example solrconfig.xml. T

RE: Solr 4.3.0: Shard instances using incorrect data directory on machine boot

2013-05-16 Thread Hoggarth, Gil
Thanks for your response Shawn, very much appreciated. Gil -Original Message- From: Shawn Heisey [mailto:s...@elyograg.org] Sent: 16 May 2013 15:59 To: solr-user@lucene.apache.org Subject: RE: Solr 4.3.0: Shard instances using incorrect data directory on machine boot > The dataDir is set

Re: Apache solr error

2013-05-16 Thread Shawn Heisey
On 5/16/2013 6:30 AM, Nilesh Gaikwad wrote: Number of documents in index: 0 Number of pending deletions: 0 The search index is generated by running cron <#12>. *0%* of the site content has been sent to the server. There are 3587 items left to send. But as I can see, there should be around 4000

Re: Strange fuzzy behavior in 4.2.1

2013-05-16 Thread Ryan Wilson
This might explain why our dev database of 400,000 records doesn't seem to suffer from this. When we started seeing this in our test environment of 300,000,000 records, we thought we just weren't finding records in dev that were having the problem. One thing that this does not explain is that we

Re: Zookeeper Ensemble Startup Parameters For SolrCloud?

2013-05-16 Thread Shawn Heisey
On 5/16/2013 9:25 AM, Furkan KAMACI wrote: I know that there have been many conversations about SolrCloud startup tips i.e. which type of garbage collector to use etc. Also I know that there is no an exact answer for this question. However I think that folks have some tips about this question.

Ho to adjust maxDocs and maxTime for autoCommit?

2013-05-16 Thread Furkan KAMACI
I will start my pre-production step soon. How can I adjust maxDocs and maxTime for autoCommit? What do you suggest for me to adjust that parameters?

Zookeeper Ensemble Startup Parameters For SolrCloud?

2013-05-16 Thread Furkan KAMACI
I know that there have been many conversations about SolrCloud startup tips i.e. which type of garbage collector to use etc. Also I know that there is no an exact answer for this question. However I think that folks have some tips about this question. How do you start up your external Zookeeper,

Re: error while switching from log4j back to slf4j with solr 4.3

2013-05-16 Thread Shawn Heisey
On 5/16/2013 3:24 AM, Bernd Fehling wrote: OK, solved. I have now run-jetty-run with log4j running. Just copied log4j libs from example/lib/ext to webapp/WEB-INF/classes and set -Dlog4j.configuration in run-jetty-run VM classpath. The location where you copied those files is in the extracted .w

Re: What is 503 Status For Admin Ping

2013-05-16 Thread Furkan KAMACI
It is a single node, started as standalone. I have just started a Solr instance without SolrCloud. 2013/5/16 Yago Riveiro > Probably one or more shards of your collection are not available at ping > operation time and the server returns the 503 code > > -- > Yago Riveiro > Sent with Sparrow (htt

Re: What is 503 Status For Admin Ping

2013-05-16 Thread Yago Riveiro
Probably one or more shards of your collection are not available at ping operation time and the server returns the 503 code -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, May 16, 2013 at 3:58 PM, Furkan KAMACI wrote: > I have made some little changes at ex

RE: Solr 4.3.0: Shard instances using incorrect data directory on machine boot

2013-05-16 Thread Shawn Heisey
> The dataDir is set in each solrconfig.xml; each one has been checked to > ensure it points to its corresponding location. The error we see is that > on machine reboot not all of the shards start successfully, and if the > fail was to be a leader the replicas can't take its place (presumably > bec

What is 503 Status For Admin Ping

2013-05-16 Thread Furkan KAMACI
I have made some little changes at example folder of Solr 4.2.1 When I start up it just with: java -jar start.jar I get that status: INFO: [collection1] webapp=/solr path=/admin/ping params={action=status&_=1368715926563&wt=json} status=503 QTime=0 When I click ping at (just once time )admin p

Re: Explicite update or delete of a dataset

2013-05-16 Thread Jack Krupansky
Update is the same as add in Solr. To delete: curl http://localhost:8983/solr/update?commit=true \ -H 'Content-type:application/json' \ -d '{"delete": {"id":"doc-0001"}}' -- Jack Krupansky -Original Message- From: Peter Schütt Sent: Thursday, May 16, 2013 10:27 AM To: solr-u

Re: Lucene-Solr indexing document via Post method

2013-05-16 Thread Jack Krupansky
Have you completed the Solr tutorial yet? If so, please ask a more specific question so we can understand what your problem is. http://lucene.apache.org/solr/tutorial.html -- Jack Krupansky -Original Message- From: Rider Carrion Cleger Sent: Thursday, May 16, 2013 6:43 AM To: solr-us

Re: Transaction Logs Leaking FileDescriptors

2013-05-16 Thread Steven Bower
Created https://issues.apache.org/jira/browse/SOLR-4831 to capture this issue On Thu, May 16, 2013 at 10:10 AM, Steven Bower wrote: > Looking at the timestamps on the tlog files they seem to have all been > created around the same time (04:55).. starting around this time I start > seeing the ex

Explicite update or delete of a dataset

2013-05-16 Thread Peter Sch�tt
Hallo, how can I update or delete a single dataset by a given ID? Thanks for any hint. Ciao Peter Schütt

Re: Oracle Timestamp in SOLR

2013-05-16 Thread Peter Sch�tt
Hallo, >: I have a field with the type TIMESTAMP(6) in an oracle view. > ... >: What is the best way to import it? > ... >: This way works but I do not know if this is the best practise: > ... >: TO_CHAR(LAST_ACTION_TIMESTAMP, '-MM-DD HH24:MI:SS') as >: LAT

Re: Transaction Logs Leaking FileDescriptors

2013-05-16 Thread Steven Bower
Looking at the timestamps on the tlog files they seem to have all been created around the same time (04:55).. starting around this time I start seeing the exception below (there were 1628).. in fact its getting tons of these (200k+) but most of the time inside regular commits... 2013-15-05 04:55:0

RE: Solr 4.3.0: Shard instances using incorrect data directory on machine boot

2013-05-16 Thread Hoggarth, Gil
Thanks for your reply Daniel. The dataDir is set in each solrconfig.xml; each one has been checked to ensure it points to its corresponding location. The error we see is that on machine reboot not all of the shards start successfully, and if the fail was to be a leader the replicas can't take its

Multi-select faceting with OR operand

2013-05-16 Thread Aleksandra Nowak
Hi all! Please tell me if it is posible to create multi-select facets ( http://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters) but with OR as operand? I would like to accomplish something like this: === Document Type === [ ] Word (42) [x] PDF (96) [X] Excel(11) [ ] H

Re: indexing unrelated tables in single core

2013-05-16 Thread Rohan Thakur
hi Mohanty I tried what you suggested of using id as common field and changing the SQL query to point to id and using id as uniqueKey it is working but now what it is doing is just keeping the id's that are not same in both the tables and discarding the id's that are same in both the tablesbut

Re: Strange fuzzy behavior in 4.2.1

2013-05-16 Thread Jack Krupansky
Maybe you are running into the same problem I posted on another message thread about the hard-coded maxExpansions limit of 50. In other words, once Lucene finds 50 terms that do match, it won't find the additional matches. And that is not necessarily the top 50, but the first 50 in the index.

Re: Transaction Logs Leaking FileDescriptors

2013-05-16 Thread Yonik Seeley
See https://issues.apache.org/jira/browse/SOLR-3939 Do you see these log messages from this in your logs? log.info("I may be the new leader - try and sync"); How reproducible is this bug for you? It would be great to know if the patch in the issue fixes things. -Yonik http://lucidworks.co

RE: Strange fuzzy behavior in 4.2.1

2013-05-16 Thread Ryan Wilson
In answering your first questions, any changes we’ve been making have been followed by a reindex. The data that is being indexed generally looks something like this ( indicating an actual space): TIM , JULIO JULIE , JIM So based off what we see from looking at top terms in the field a

Re: Can we search some mandatory words and some optional words in SOLR

2013-05-16 Thread Kamal Palei
Hi Hoss I was wondering between this two keys. Though they look similar, but result set differs. In 1st case I give key as +c +c++ +sip +( *tcl* perl "shell script") -"manual testing" -ss7 In 2nd case I give key as +c +c++ +sip +(*tcl* perl "shell script") -"manual testing" -ss7 Please note t

Re: Question about Edismax - Solr 4.0

2013-05-16 Thread Jack Krupansky
You haven't indicated any problem here! What is the symptom that you actually think is a problem. There is no comma operator in any of the Solr query parsers. Comma is just another character that may or may not be included or discarded depending on the specific field type and analyzer. For exa

Re: How to find the routing algorithm used?

2013-05-16 Thread Santoash Rajaram
I tried looking for it there but I don't see the word router in my clusterstate. I'm trying to figure out the router info since I have duplicate documents in my cluster (document with the same id). In the worst case I was expecting to see something like "router": "implicit". But I don't see any

Re: Concurrent connections

2013-05-16 Thread Arkadi Colson
Thx! I found the topic. Any idea what this is? SEVERE: The web application [/solr] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.store.CharUtil$1] (value [org.apache.xmlbeans.impl.store.CharUtil$1@2af27db1]) and a value of type [java.lang.ref.SoftReference] (value [java.la

Adding a field in schema , storing it and use it to search

2013-05-16 Thread Kamal Palei
Hi All Need help in adding a new field and making use of it during search. As of today I just search some keywords and whatever document (actually these are resumes of individuals) is retrieved from SOLR search I take these as input, then search in mysql for experience, salary etc and then select

Re: Concurrent connections

2013-05-16 Thread Otis Gospodnetic
Hi This is controlled by servlet container, so any errors should be in its logs. The same sort of question was asked just a few days ago... Otis Solr & ElasticSearch Support http://sematext.com/ On May 16, 2013 8:00 AM, "Arkadi Colson" wrote: > Is there a limitation on the number concurrent co

FW:

2013-05-16 Thread Michael Lorz
http://hardonfonts.com/mmndsejat.php Michael Lorz

Re: Solr 4.3.0: Shard instances using incorrect data directory on machine boot

2013-05-16 Thread Daniel Collins
What actual error do you see in Solr? Is there an exception and if so, can you post that? As I understand it, datatDir is set from the solrconfig.xml file, so either your instances are picking up the "wrong" file, or you have some override which is incorrect? Where do you set solr.data.dir, at t

Re: Hierarchical Faceting

2013-05-16 Thread varsha.yadav
Hi, Thanks Upayavira . But still i am not getting results well. I have been followinghttp://wiki.apache.org/solr/HierarchicalFaceting I have hierarchical data for facet . Some documents also have multiple hierarchy. like : Doc#1 London > UK > 51.5 Doc#2 UK >54.0 Doc#3 Indiana > United States >

Is payload the right solution for my problem?

2013-05-16 Thread NabbleUser
Hi, I recently read about payloads in the Apache Solr 4 Cookbook and would like to know if this is the right solution for my problem or if other methods are more suitable. Generally, I need to perform fulltext search in a field (including highlighting) where I need metadata per token in the searc

Concurrent connections

2013-05-16 Thread Arkadi Colson
Is there a limitation on the number concurrent connections to a Solr host? Because we have some scripts running simultaious to fill Solr and when starting up to many we are getting this error: exception 'SolrClientException' with message 'Unsuccessful update request. Response Code 0. (null)'

Re: Can we search some mandatory words and some optional words in SOLR

2013-05-16 Thread Kamal Palei
Thanks Hoss, I modified accordingly. One more thing I observed, if I give search key as one of the below 1. +Java +mysql +php +(TCL Perl Selenium) -ethernet -switching -routing 2. +(TCL Perl Selenium) -ethernet -switching -routing 3. +(TCL Perl Selenium) It works as expected. Like if key is +(TCL

Re: indexing unrelated tables in single core

2013-05-16 Thread Rohan Thakur
hi mohanty I appreciate it but dint get that can you please elaborate? my dataconfig is like: my schema is like: value_id title thanks regards Rohan On

Re: indexing unrelated tables in single core

2013-05-16 Thread Gora Mohanty
On 16 May 2013 16:24, Rohan Thakur wrote: > hi > > I got the problem it is with the unique key defined in the schema.xml > if i difine it to be query_id then while indexing it says > missing mandatory key query_id which is not present in the root > entity(data-config.xml) which is indexing the pro

  1   2   >