Re: DIH nested entities don't work

2012-10-23 Thread Gora Mohanty
On 24 October 2012 10:30, mroosendaal wrote: > > Hi, > > We have several oracle views which contain the result of an ETL process. I > want to index information from those views and have the following > data-config.xml > > driver="oracle.jdbc.driver.OracleDriver" > url="jdbc:oracle:thin:@//:1521/

DIH nested entities don't work

2012-10-23 Thread mroosendaal
Hi, We have several oracle views which contain the result of an ETL process. I want to index information from those views and have the following data-config.xml :1521/ user="a" password="a"/> ... products

Re: SolrJ CloudSolrServer throws ClassCastException

2012-10-23 Thread Kevin Osborn
It looks like this is where the problem lies. Here is the JSON that SolrJ is receiving from Zookeeper: "data":"{\\"manufacturer\\":{\\n\\"shard1\\":{\\n \\"range\\":\\"8000-\\",\\n \\"replicas\\":{\\"myhost:5270_solr_manufacturer\\":{\\n \\"shard\\":\\"shard1\\",\\n \\"

Re: SOLR capacity planning and Disaster relief

2012-10-23 Thread Otis Gospodnetic
Hi Worty, On Sun, Oct 21, 2012 at 2:30 AM, Worthy LaFollette wrote: > CAVEAT: I am a nubie w/r to SOLR (some Lucene experience, but not SOLR > itself. Trying to come up to speed. > > > What have you all done w/r to SOLR capacity planning and disaster relief? Re capacity planning - performance t

Re: Solr Implementation Plan and FTE for Install/Maintenance

2012-10-23 Thread Otis Gospodnetic
1 :) I'm not kidding. 1 server if HA is not needed. RAM depends, say 8 or 16GB 1 day, 1 person Devil's in the details though. Otis -- Performance Monitoring - http://sematext.com/spm On Oct 22, 2012 10:44 AM, "Seth Hynes" wrote: > All - I'm a bit new to Solr and looking for documentation or gui

Re: Solr Cloud Questions

2012-10-23 Thread Tomás Fernández Löbbe
Some of our clients have been using it. It still has a few problems as you > can see in jira, but nothing major. > Same here. > Otis > -- > Performance Monitoring - http://sematext.com/spm > On Oct 22, 2012 9:18 PM, "Mark" wrote: > > > I have a few questions regarding Solr Cloud. I've been foll

Re: Solr - Use Regex in the Query Phrase

2012-10-23 Thread Ahmet Arslan
> For the second one I have tried what iorixxx pointed out, > but I couldnt > proceed. I am not experienced with patching, However i tried > the steps > recommended by Ahmet Arslan  here >   > . > But it didnt works for me as it is always says class

Re: Data Writing Performance of Solr 4.0

2012-10-23 Thread higashihara_hdk
Mark, Otis, Thanks for the replies. I consider it. Hideki (2012/10/24 8:01), Otis Gospodnetic wrote: Hideki, Mark's answer is right. It depends. Solr 4 has NRT built in. Otis -- Performance Monitoring - http://sematext.com/spm On Oct 20, 2012 3:43 PM, "Nagendra Nagarajayya" < nnagaraja...@

SolrJ CloudSolrServer throws ClassCastException

2012-10-23 Thread Kevin Osborn
I am getting a ClassCastException when i call Solr. My code is pretty simple. SolrServer mySolrServer = new CloudSolrServer(zookeeperHost); ((CloudSolrServer)mySolrServer).setDefaultCollection("manufacturer") ((CloudSolrServer)mySolrServer).connect() The actual error is thrown on line 300 of Clu

Solr UI for File Search

2012-10-23 Thread 122jxgcn
Hello, I'm almost done with my file (rich document) searching system for server and client side. Now I have to do is configure search result interface so that it displays result properly and attach a link to the searched files. (It just shows xml result now) I cannot simply use other application b

Re: Solr - Use Regex in the Query Phrase

2012-10-23 Thread Daisy
Thanks very much, I have upgraded my solr to apache-solr-4.0 and my first query works fine. For the second one I have tried what iorixxx pointed out, but I couldnt proceed. I am not experienced with patching, However i tried the steps recommended by Ahmet Arslan here

Re: Failure to open existing log file (non fatal)

2012-10-23 Thread Mark Miller
Why the process died, I cannot say. Seems like the world of guesses is just too large :) If there is nothing in the logs, it's likely a the OS level? But if there are no dump files or evidence of it in system logs, I don't even know where to start. All I can help with is that the exception is an e

Re: Failure to open existing log file (non fatal)

2012-10-23 Thread Mark Miller
On Tue, Oct 23, 2012 at 6:33 PM, Chris Hostetter wrote: > > : Perhaps we can improve the appearance of this - but it's expected to happen > in crash cases. > > in case it wasn't clear: there's no indication that this "Failure to open > existing log file" *caused* any sort of crash -- it comes fro

Re: Solr Cloud Questions

2012-10-23 Thread Otis Gospodnetic
Some of our clients have been using it. It still has a few problems as you can see in jira, but nothing major. Otis -- Performance Monitoring - http://sematext.com/spm On Oct 22, 2012 9:18 PM, "Mark" wrote: > I have a few questions regarding Solr Cloud. I've been following it for > quite some ti

Re: Data Writing Performance of Solr 4.0

2012-10-23 Thread Otis Gospodnetic
Hideki, Mark's answer is right. It depends. Solr 4 has NRT built in. Otis -- Performance Monitoring - http://sematext.com/spm On Oct 20, 2012 3:43 PM, "Nagendra Nagarajayya" < nnagaraja...@transaxtions.com> wrote: > > You may want to look at realtime NRT for this kind of performance: > https://

RE: Failure to open existing log file (non fatal)

2012-10-23 Thread Markus Jelsma
Hi, I checked the logs and it confirms the error is not fatal, it was logged just a few seconds before it was restarted. The node runs fine after it was restarted but logged this non fatal error replayed the log twice. This leaves the question why it died, there is no log of it dying anywhere.

Re: Failure to open existing log file (non fatal)

2012-10-23 Thread Chris Hostetter
: Perhaps we can improve the appearance of this - but it's expected to happen in crash cases. in case it wasn't clear: there's no indication that this "Failure to open existing log file" *caused* any sort of crash -- it comes from the initialization code of the UpdateHandler when a SolrCore is

Re: Failure to open existing log file (non fatal)

2012-10-23 Thread Mark Miller
It depends I think. Is that shard missing any data? Those two exceptions belong together it appears to me - the first says that there was an error loading the transaction log and that it's not a fatal error - the second looks like the stack trace from the low level spot that loading the tran lo

Re: Questions about HttpSolrServer

2012-10-23 Thread Anirudha Jadhav
try reading up on : LBHttpSolrServer. We have a layer on top of solr to manage such scenarios. On Tue, Oct 23, 2012 at 4:52 PM, Benjamin, Roy wrote: > Assuming one has hundreds of Solr nodes should an indexing application > pool HttpSolrServer instances ala a connection pool ? > > Thanks > Roy

Questions about HttpSolrServer

2012-10-23 Thread Benjamin, Roy
Assuming one has hundreds of Solr nodes should an indexing application pool HttpSolrServer instances ala a connection pool ? Thanks Roy Solr 3.6

Solr/Lucene + Oracle Database seamless integration

2012-10-23 Thread Maximiliano Keen
*Scotas* brings a remarkable advancement to Enterprise Text Search. Scotas combines and synchronize the high-performance, full-featured Solr/Lucene text search engine with the industry leading Oracle Database's performance, scalability, security, and reliability. Main features are: - Full Inte

Re: SolrCloud - Replication - Runtime

2012-10-23 Thread Otis Gospodnetic
Are you looking to rebalance existing docs? I don't think that is currently possible. Otis -- Performance Monitoring - http://sematext.com/spm On Oct 23, 2012 1:03 PM, "balaji.gandhi" wrote: > Hi, > > I am trying to add new Solr nodes to an existing cluster for replication. > Only newly added d

Failure to open existing log file (non fatal)

2012-10-23 Thread Markus Jelsma
Hi, We're testing a 10 node cluster running trunk and write a few million documents to it from Hadoop. We just saw a node die for no apparent reason. Tomcat was completely dead before it was automatically restarted again. Indexing failed when it received the typical Internal Server Error. The l

Re: WordDelimiterFilter preserveOriginal & position increment

2012-10-23 Thread Jay Luker
Bah... While attempting to duplicate this on our 4.x instance I realized I was mis-reading the analysis output. In the example I mentioned it was actually a SynonymFilter in the analysis chain that was affecting the term position (we have several synonyms for "telescope"). Regardless, it seems to

Re: Solr 4.0.0 - index version and generation not changed after delete by query on master

2012-10-23 Thread Chris Hostetter
: Just discovered that the replication admin REST API reports the correct : index version and generation: : : http://master_host:port/solr/replication?command=indexversion : : So is this a bug in the admin UI? Ya gotta be specific Bill: where in the admin UI do you think it's displaying the inc

Anyone running Solr in WebSphere on a mainframe?

2012-10-23 Thread re_buchanan
Yes, you heard that correctly on a mainframe. I've had no trouble setting up Solr on Tomcat on a Linux box sitting on my desk, however as it's getting closer to time go to production and I need it on our "real" environment. We've managed to get Solr installed and running without too much troubl

SolrCloud - Replication - Runtime

2012-10-23 Thread balaji.gandhi
Hi, I am trying to add new Solr nodes to an existing cluster for replication. Only newly added documents are added to the replicas. Please let me know the config for syncing the documents on adding the new nodes. Thanks, Balaji -- View this message in context: http://lucene.472066.n3.nabble.c

Re: Best and quickest Solr Search Front end

2012-10-23 Thread Erik Hatcher
A blank search (in Blacklight) is actually a search underneath for *:* (match all documents), so searching is working. But searching for actual words depends on a lot of things, what fields they're in, what analyzers are or are not being used, what query parser is being used, etc. And in the B

Re: WordDelimiterFilter preserveOriginal & position increment

2012-10-23 Thread Shawn Heisey
On 10/23/2012 8:16 AM, Jay Luker wrote: From looking at the analysis debugger I can see that the WDF is getting the term "Telescope,SALT" and correctly splitting on the comma. The problem seems to be that the original term is given the 1st position, e.g.: Pos Term 1 Southern 2 Africa

Re: WordDelimiterFilter preserveOriginal & position increment

2012-10-23 Thread Jack Krupansky
Your "query" analyzer should not have preserveOriginal="1". You should have separate "index" and "query" analyzers; they may be almost identical, but the "query" analyzer must not have preserveOriginal="1" so that it generate a clean sequence of terms that were indexed in that exact order. --

WordDelimiterFilter preserveOriginal & position increment

2012-10-23 Thread Jay Luker
Hi, I'm having an issue with the WDF preserveOriginal="1" setting and the matching of a phrase query. Here's an example of the text that is being indexed: "...obtained with the Southern African Large Telescope,SALT..." A lot of our text is extracted from PDFs, so this kind of formatting junk is

Re: Best and quickest Solr Search Front end

2012-10-23 Thread Muwonge Ronald
On Tue, Oct 23, 2012 at 4:49 PM, Erik Hatcher wrote: > Ronny - > > Your best bets will be to engage the Blacklight team at their mailing list or > in the #blacklight IRC room, both of which are active every day. Thanks will do that > > The links in your search UI will need to be adjusted, as Rail

Re: Best and quickest Solr Search Front end

2012-10-23 Thread Erik Hatcher
Ronny - Your best bets will be to engage the Blacklight team at their mailing list or in the #blacklight IRC room, both of which are active every day. The links in your search UI will need to be adjusted, as Rails doesn't like having the URL formatted id's as part of the path - this is somethin

Re: SolrCloud - loop in recovery mode

2012-10-23 Thread Mark Miller
This sounds like two issues. One, you are triggering a leader election somehow. Do you see session expiration errors in the logs? You may need to raise the timeout. The second issue is probably related to what came out of https://issues.apache.org/jira/browse/SOLR-3939 Shards that have no version

Re: Occasional Solr performance issues

2012-10-23 Thread Erick Erickson
Maybe you've been looking at it but one thing that I didn't see on a fast scan was that maybe the commit bit is the problem. When you commit, eventually the segments will be merged and a new searcher will be opened (this is true even if you're NOT optimizing). So you're effectively committing every

Partitioning data to Cores using a Solr plugin

2012-10-23 Thread Shahar Davidson
Hi all, I would like to partition my data (by date for example) into Solr Cores by implement some sort of *pluggable component* for Solr. In other words, I want Solr to handle distribution to partitions (rather than implementing an external "solr proxy" for sending requests to the right Solr Co

Re: Forming Solr Query for multiple operators against multiple fields

2012-10-23 Thread Ahmet Arslan
> Thanks Ahmet, however as I have > mentioned in my e-mail, we're using Solr > 1.4 here and edismax is supported from Solr 3.1. I think 1.4 has http://wiki.apache.org/solr/DisMaxQParserPlugin But you need to use - + unitary operators with this. (day AND world) NOT night => +day +world -night

Re: Forming Solr Query for multiple operators against multiple fields

2012-10-23 Thread Sandeep Mestry
Thanks Ahmet, however as I have mentioned in my e-mail, we're using Solr 1.4 here and edismax is supported from Solr 3.1. :-) On 23 October 2012 13:42, Ahmet Arslan wrote: > > > --- On Tue, 10/23/12, Sandeep Mestry wrote: > > > From: Sandeep Mestry > > Subject: Forming Solr Query for multiple

Re: Best and quickest Solr Search Front end

2012-10-23 Thread Muwonge Ronald
Yes this was the person I wanted to befriend Eric good to hear from you.I won't hide anything am working a search engine for particular content.I crawled some data with nutch and indexed to solr.I have been in search of a good solution and when reading the Apache_Solr_3_Enterprise_Search_Server i

Re: Forming Solr Query for multiple operators against multiple fields

2012-10-23 Thread Ahmet Arslan
--- On Tue, 10/23/12, Sandeep Mestry wrote: > From: Sandeep Mestry > Subject: Forming Solr Query for multiple operators against multiple fields > To: solr-user@lucene.apache.org > Date: Tuesday, October 23, 2012, 2:51 PM > Dear All, > > I have a requirement to search against multiple fields l

Re: uniqueKey not enforced

2012-10-23 Thread Erick Erickson
>From left field: Try looking at your admin/schema browser page for the ID in question. That actually gets stuff out of your index (the actual indexed terms). See if you have two values for that ID. In which case you _might_ have spaces before or after the value somehow. I notice your comment says

Re: Solr - Use Regex in the Query Phrase

2012-10-23 Thread Ahmet Arslan
> I think there is an alternative query parser that supports > wildcards in phrases, but the name escapes me at the > moment. Yes, https://issues.apache.org/jira/browse/SOLR-1604

Re: solr 4.0 point type distance unit

2012-10-23 Thread Erick Erickson
Not quite sure what you're asking here. In bold, on the page you mentioned is: "NOTE: Unless otherwise specified, all units of distance are kilometers and points are in degrees of latitude,longitude." Asking "default distance for point type" is meaningless, it's a lat/lon coordinate for a spot o

Re: Solr - Use Regex in the Query Phrase

2012-10-23 Thread Jack Krupansky
In 4.0, your first query can be done with a regex query - enclose the pattern in slashes: q=/art(.*?)le/ Wildcards, fuzzy query, and regex query can only be applied to a single term, so you can't do your latter "proximity" query. The best you can do is a conjunction: q=he+sa* Although in t

RE: Solr - Use Regex in the Query Phrase

2012-10-23 Thread Markus Jelsma
Hi - Regex is not available in Solr 3.6: https://issues.apache.org/jira/browse/LUCENE-2604 -Original message- > From:Daisy > Sent: Tue 23-Oct-2012 14:13 > To: solr-user@lucene.apache.org > Subject: Solr - Use Regex in the Query Phrase > > Hi; > > I am working with apache-solr-3.6.0 o

Solr - Use Regex in the Query Phrase

2012-10-23 Thread Daisy
Hi; I am working with apache-solr-3.6.0 on windows machine. I would like to be able to search for certain phrase which include some regex. For example: I want my query to be: "art(.*?)le" or another example of a phrase: "he sa*" I dont know how to do that in the url that will be sent to solr

Forming Solr Query for multiple operators against multiple fields

2012-10-23 Thread Sandeep Mestry
Dear All, I have a requirement to search against multiple fields like title, description, annotations, comments, text and the query can contain multiple boolean operators. So, can someone point me out in right direction. If the user enters a query like , - (day AND world) NOT night I want to fo

LockObtainFailedException and older segment_N files are present

2012-10-23 Thread jame vaalet
Hi, I have got a searcher server replicating index from master server. Recently I have noticed the huge difference in the index size between master and slave followed by LockObtainFailedException in catalin.out log. When I debugged the searcher index folder, I could see more that 100 segement_N fil