Re: Solrcloud dataimport failed at first time after restart

2012-10-09 Thread jun Wang
I have found the reason. The reason is that I am using jboss JNDI datasource, and oracle driver is placed in WEB-INFO/lib, this is a very common error, driver should be placed in %JBOSS_HOME%\server\default\lib. 2012/10/10 jun Wang > Hi, all > I found that dataimport will failed at first time a

Re: Query foreign language "synonyms" / words of equivalent meaning?

2012-10-09 Thread Bernd Fehling
As far as I know, there is no built-in functionality for language translation. I would propose to write one, but there are many many pitfalls. If you want to translate from one language to another you might have to know the "starting" language. Otherwise you get problems with translation. Not (ge

Re: Anyone using mmseg analyzer in solr multi core?

2012-10-09 Thread 曹霖
MMSeg is better than ikanalyzer? is there anyone compare those open source Chinese word analyzers? which one is better overall? 2012/10/9 Peter Keegan > We're using MMSeg with Lucene, but not Solr. Since each SolrCore is > independent, I'm not sure how you can avoid each having a copy of the >

Re: Installing Solr on a shared hosting server?

2012-10-09 Thread Gora Mohanty
On 9 October 2012 21:35, Otis Gospodnetic wrote: > Hi, > > I don't know anything about Bluehost, but Solr works fine on EC2. [...] Have had very minimal experience with Bluehost, as we are hosted mostly from EC2. The main difference is that with Bluehost shared hosting---at least our version of i

Re: Help with Velocity in SolrItas

2012-10-09 Thread Lance Norskog
Thanks, everyone. This is the problem: $sentence is a NamedList node, with a name and a "value" (any Java object). I want its value subnode: #foreach($sentence in $outer) $sentence = $sentence.value | >> | >> Here is the XML from a search result: | >> | >> | >> 0 | >> | >> A bunch o

Re: SolrJ 4.0 Beta maxConnectionsPerHost

2012-10-09 Thread Briggs Thompson
Thanks all for your responses. For some reason the emails were getting filtered out of my inbox. *Otis* - jstack is a great suggestion, thanks! The problem didn't happen this morning but next time it does I will certainly get the dump to see exactly where the app is swimming around. I haven't used

Spatial Search response time complexity

2012-10-09 Thread TJ Tong
Hi all, Does anyone know the Solr (lucene)spatial search time complexity, such as geofilt on LatLonType fields? Is it logN? Thanks! TJ -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-Search-response-time-complexity-tp4012801.html Sent from the Solr - User mailing

Re: Auto Correction?

2012-10-09 Thread Otis Gospodnetic
Hi, Suggestion #1 is not always the best suggestion unfortunately. DYM ReSearcher at http://sematext.com/products/dym-researcher/index.html that Ahmet pointed to deals with this, among other things. Otis On Tue, Oct 9, 2012 at 12:24 PM, Amit Nithian wrote: > What's preventing you from using t

Re: Extract multiple streams into the same document

2012-10-09 Thread Yury Kats
Answering my own question, for archive's sake, I worked this out by creating my own UpdateRequestProcessor. On 10/4/2012 2:35 PM, Yury Kats wrote: > I'm sending streams of data to Solr, using ExtractingRequestHandler to be > parsed/extracted by Tika and then indexed. > > While multiple streams c

Re: solr1.4 code Example

2012-10-09 Thread Sujatha Arun
Thanks ,that worked. Regards Sujatha On Tue, Oct 9, 2012 at 5:57 PM, Iwan Hanjoyo wrote: > you can download the code directly from here > > http://www.solrenterprisesearchserver.com/ > > http://solrenterprisesearchserver.s3-website-us-east-1.amazonaws.com/downloads/5883-solr-enterprise-search2.

PostFilters, Grouping, Sorting Oh My!

2012-10-09 Thread Amit Nithian
Hi all, I've been working with using Solr's post filters/delegate collectors to collect some statistics about the scores of all the documents and had a few questions with regards to this when combined with grouping and sorting: 1) I noticed that if I don't include the "score" field as part of the

Re: Auto Correction?

2012-10-09 Thread Amit Nithian
What's preventing you from using the spell checker and take the #1 result and re-issue the query from a sub-class of the query component? It should be reasonably fast to re-execute the query from the server side since you are already within Solr. You can modify the response to indicate that the new

Re: SolrJ 4.0 Beta maxConnectionsPerHost

2012-10-09 Thread Chris Hostetter
: I did some digging and experimentation and found something interesting. : When starting up the application, I see the following in Solr logs: : Creating new http client, config:maxConnections=200&maxConnectionsPerHost=8 ... : It seems as though the maxConnections and maxConnectionsPerHos

Re: Installing Solr on a shared hosting server?

2012-10-09 Thread Otis Gospodnetic
Hi, I don't know anything about Bluehost, but Solr works fine on EC2. Otis -- Search Analytics - http://sematext.com/search-analytics/index.html Performance Monitoring - http://sematext.com/spm/index.html On Tue, Oct 9, 2012 at 9:27 AM, caiod wrote: > I was wondering if I can install Solr on b

Re: Solr Sharding Or Solr Cloud

2012-10-09 Thread Otis Gospodnetic
Hi, If I had to make the choice and I knew index and query growth were ahead of me I'd go with Solr 4. aka Solr Cloud. Very general answer to a very general question. :) Otis -- Search Analytics - http://sematext.com/search-analytics/index.html Performance Monitoring - http://sematext.com/spm/in

RE: solr user group

2012-10-09 Thread Chris Hostetter
: And still on the list... As Jack mentioned in his 18 Sep 2012 reply to your original email... https://mail-archives.apache.org/mod_mbox/lucene-solr-user/201209.mbox/%3CD8AD75DD68FD45618D83C8CE3F93803E@JackKrupansky%3E >> Did you send them from the exact same email address as the original >>

Re: Auto Correction?

2012-10-09 Thread Ahmet Arslan
> I would like to ask if there are any ways to correct user's > queries > automatically? I know there is spellchecker which *suggests* > possible > correct words... The thing i wanna do is *automatically > fixing* those > queries and running instead of the original one not out of the box, you need

Re: Problem with dataimporter.request

2012-10-09 Thread Ahmet Arslan
> In my data-config.xml, i have something like this > >     deltaQuery="SELECT max(id) AS id from > ${dataimporter.request.dataView}" >     deltaImportQuery="SELECT * FROM tableX WHERE > ${dataimporter.delta.id} < id"> > > > > However, everytime I execute delta-import > (/dataimport?comman

Re: SolrJ Apidoc - is there any comprehensive literature ?

2012-10-09 Thread Erick Erickson
The "javadocs" link here: http://lucene.apache.org/solr/index.html takes you to the API documentation... if you go to the frames view and click on org.apache.client.solrj in the upper left you'll see the solrj classes only I'll often get the source and execute "ant documentation" to get a loc

Re: Indexing in Solr: invalid UTF-8

2012-10-09 Thread Gora Mohanty
On 9 October 2012 17:42, Patrick Oliver Glauner wrote: > Hello everybody > > Meanwhile, I checked this issue in detail: we use pdftotext to extract text > from our PDFs (). Some generated text files contain > \u and \uD835. > > unicode(text, 'utf-8') does not throw any e

Solr Sharding Or Solr Cloud

2012-10-09 Thread Cool Techi
Hi, We have reached a state where a single solr server is not proving to be enough and are exploring options of sharding or solr cloud. Just wanted to check the pros and cons of each one of them if there are any. What would be the best size of the shards or Regards, R

Re: Installing Solr on a shared hosting server?

2012-10-09 Thread Michael Della Bitta
Bluehost doesn't seem to support Java processes, so unfortunately the answer seems to be no. You might want to look into getting a Linode or some other similar VPS hosting. Solr needs RAM to function well, though, so you're not going to be able to go with the cheapest option. Michael Della Bitta

Installing Solr on a shared hosting server?

2012-10-09 Thread caiod
I was wondering if I can install Solr on bluehost's shared hosting to use as a website search, and also how do I do so? Thank you... -- View this message in context: http://lucene.472066.n3.nabble.com/Installing-Solr-on-a-shared-hosting-server-tp4012708.html Sent from the Solr - User mailing li

Re: How to use complicated boolean query?

2012-10-09 Thread Jack Krupansky
You also do the full query with one level of BooleanQuery by using the BooleanQuery#setMinimumNumberShouldMatch(int min) method. The default minimum number of optional clauses to match is zero, but you can set it to 1 for your case. I don't know if there is any difference in performance or scor

Re: SolrJ 4.0 Beta maxConnectionsPerHost

2012-10-09 Thread balaji.gandhi
Hi Briggs, Did you try StreamingUpdateSolrServer? We are still facing the same issues but noticed this happens only when "Physical Memory" in Solr Admin is high. And yes SolrJ respects the connections. Hi Team, Another option we discussed was upgrading to HttpClient 4.2 in Solr war. Would that f

Re: Anyone using mmseg analyzer in solr multi core?

2012-10-09 Thread Peter Keegan
We're using MMSeg with Lucene, but not Solr. Since each SolrCore is independent, I'm not sure how you can avoid each having a copy of the dictionary, unless you modified MMSeg to use shared memory. Or, maybe I missing something. On Mon, Oct 8, 2012 at 3:37 AM, liyun wrote: > Hi all, > Is anybody

Re: Help with Velocity in SolrItas

2012-10-09 Thread Erik Hatcher
As Paul mentioned, printing the class name helps tremendously. The $response (SolrQueryResponse) can contain all sorts of nested objects of various types, so it's necessary to know what kind of object it is (generally, but not alway) to be able to navigate it effectively. A shortcut, you can a

Re: Search in body

2012-10-09 Thread Tolga
I was expecting to be able to search in the body, but apparently I don't need it according to Markus. Regards, On 10/09/2012 03:27 PM, Rafał Kuć wrote: Hello! I assume you've added the body field, but you don't populate it. As far as I remember Nutch don't fill the body field by default. What

RE: Search in body

2012-10-09 Thread Markus Jelsma
Hi - You should stick to Nutch' schema.xml and not manually add a text or body field that aren't going to be populated anyway. Nutch sends data, by default, to the content field. -Original message- > From:Rafał Kuć > Sent: Tue 09-Oct-2012 14:32 > To: solr-user@lucene.apache.org > Subj

Re: solr1.4 code Example

2012-10-09 Thread Iwan Hanjoyo
you can download the code directly from here http://www.solrenterprisesearchserver.com/ http://solrenterprisesearchserver.s3-website-us-east-1.amazonaws.com/downloads/5883-solr-enterprise-search2.zip regards, Hanjoyo

Re: Search in body

2012-10-09 Thread Rafał Kuć
Hello! I assume you've added the body field, but you don't populate it. As far as I remember Nutch don't fill the body field by default. What you are expecting to have in the body field ? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch > I've ju

Re: Search in body

2012-10-09 Thread Tolga
I've just indexed again, and no luck. Below is my schema sortMissingLast="true" omitNorms="true"/> precisionStep="0" omitNorms="true" positionIncrementGap="0"/>

Re: Search in body

2012-10-09 Thread Tolga
I had no idea I had to index again, thanks for the heads up. On 10/09/2012 02:58 PM, Rafał Kuć wrote: Hello! After altering your schema.xml have you indexed your documents again ? It would be nice to see how you schema.xml looks like and example of the data, because otherwise we can only guess

RE: Indexing in Solr: invalid UTF-8

2012-10-09 Thread Patrick Oliver Glauner
Hello everybody Meanwhile, I checked this issue in detail: we use pdftotext to extract text from our PDFs (). Some generated text files contain \u and \uD835. unicode(text, 'utf-8') does not throw any exception for these texts. Subsequently, Solr throws an exception wh

Re: Wildcards and fuzzy/phonetic query

2012-10-09 Thread Erick Erickson
It won't crash Solr if you include it, but it probably won't do what you expect either due to how wildcards are expanded. And it gets worse. DoubleMetaphone tries to reduce what it analyzes, well, phonetically with "close" letters (or multiple choices). Some phonetic filters change to fixed 4 lett

Re: Search in body

2012-10-09 Thread Rafał Kuć
Hello! After altering your schema.xml have you indexed your documents again ? It would be nice to see how you schema.xml looks like and example of the data, because otherwise we can only guess. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch >

RE: solr user group

2012-10-09 Thread David Hill
And still on the list... David Hill Iowa Student Loan | Lead Software Analyst / Developer | phone 515-273-7241 | fax 515-273-7241 | dh...@studentloan.org -Original Message- From: David Hill Sent: Tuesday, September 18, 2012 6:58 AM To: 'solr-user@lucene.apache.org' Subject: solr user

Search in body

2012-10-09 Thread Tolga
Hi, My previous schema didn't have the body defined as field, so I did and searched for "body:Smyrna", and no results turned up. What am I doing wrong? Regards,

Re: Wildcards and fuzzy/phonetic query

2012-10-09 Thread Jan Høydahl
Hi, Also be sure to check out the new BeiderMorse phonetic: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.BeiderMorseFilterFactory which handles middle eastern and eastern european names very well. Phonetic algorithms use tons of rules for how to transform an input depending

SolrJ Apidoc - is there any comprehensive literature ?

2012-10-09 Thread tomtom
Hi, is there a comprehensive documentation of the SolrJ Api? The given resources are hard to read and have only few information. The Guide from lucid imagination gave me a certain progress but is just a well organized compilation of the apache documents. For programming there's just few help and

Re: Wildcards and fuzzy/phonetic query

2012-10-09 Thread Haagen Hasle
I used the admin/analysis page (great tip, I had never used it before - thank you!) and it seems to me that the DoubleMetaphone filter converts "Hågen" to both "JN" and "KN". Will that crash the Solr analysis if I try to include this filter in the multiterm-analysis? Do you know where I can f

Re: Help with Velocity in SolrItas

2012-10-09 Thread jmlucjav
Paul Libbrecht-4 wrote > PS: to stop this hell, I have a JSP pendant to the VelocityResponseWriter, > is this something of interest for someone so that I contribute it? Paul...yes it is! Anything that would help velocity related issues is welcome -- View this message in context: http://lucene.

Auto Correction?

2012-10-09 Thread deniz
Hi all, I would like to ask if there are any ways to correct user's queries automatically? I know there is spellchecker which *suggests* possible correct words... The thing i wanna do is *automatically fixing* those queries and running instead of the original one for example if our query is "mlky

Re: How to use complicated boolean query?

2012-10-09 Thread Alexandre Rafalovitch
And the problem is? I think it is just brackets. E.g. Field1:(X Y) AND Field2:Z No? On 9 Oct 2012 10:14, "neosky" wrote: > I want to implement a query in Solr like the follow > ((X OR Y) AND Z) … ((X ∨ Y) ∧ Z) > BooleanQuery q = new BooleanQuery(); > BooleanQuery inner = new BooleanQuery(); > i