Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-26 Thread Otis Gospodnetic
Hi Jon, Not sure who spits out that error message, but you can always use -Dsolr.solr.home=/path/to/solr/home as the JVM param (in your app server startup script, most likely). Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.co

TikaEntityProcessor in Solr1.4

2010-04-26 Thread monmohan
Hi, I would like to use TikaEntityProcessor with Solr1.4. https://issues.apache.org/jira/browse/SOLR-1358 shows that this is added in Solr1.5. Can anyone please point me on the steps to patch Solr 1.4 with these changes (if this is possible/allowed). Also, is there a timeframe on Solr1. release?

Re: Installing Solr under Glassfish

2010-04-26 Thread Theodore Omtzigt
Turns out that I was almost there, just stuck that system property in the wrong place. There is a "Systems Properties" form just for these types of things. Sticking them in the JVM or Web Container properties wasn't the right thing to do. The only problem I now still have is that the xml respo

Installing Solr under Glassfish

2010-04-26 Thread Theodore Omtzigt
I am having trouble getting solr configured under glassfish. I am following the setup instructions from (http://wiki.apache.org/solr/SolrInstall). I copied the example solr home directory example/solr to /var/solr. When I deploy the solr.war and start it, I get the error that it cannot find sol

Re: aaaah. No response, No Result

2010-04-26 Thread Erick Erickson
More details please. What does "i get no result" mean? No response from the server? No documents? Server error? What is "my api"? What kind of results do you get? What does the admin page tell you? I'm immediately suspicious, of course, of your statement "For a few hours i changed my data-config.

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-26 Thread Jon Drukman
On 4/26/10 1:18 PM, Siddhant Goel wrote: Did you by any chance set up multicore? Try passing in the path to the Solr home directory as -Dsolr.solr.home=/path/to/solr/home while you start Solr. Nope, no multicore. I destroyed the index and re-created it from scratch and now it works fine. No

aaaah. No response, No Result

2010-04-26 Thread stockii
Hello. For few hours i changed my data-config.xml. everything worked fine, but now, one of my cores get no results. i test with "http://server/solr/select/?q=*:*&debugQuery=on"; but i get no result. in schema Browser 800.000 Items are in my index when i search with my API i get some resul

AutoSuggest with custom sorting

2010-04-26 Thread Papiya Misra
Hi I am supposed to implement auto suggest where the prefix matches are sorted based on the following criteria. We have two fields (max characters ~ 100) that we need to search. Field 1 has only one word (no spaces) where as Field2 has multiple words separated by spaces. Example - Row1 ```Fiel

Re: Boost function on *:*

2010-04-26 Thread Blargy
Correct, I am using dismax by default. I actually accomplished what I was looking for by creating a separate request handler with a defType of "lucene" and then I used _val_ hook. I tried using the {!func}function as you describe but couldn't get it work. Are there any difference between the tw

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-26 Thread Siddhant Goel
Did you by any chance set up multicore? Try passing in the path to the Solr home directory as -Dsolr.solr.home=/path/to/solr/home while you start Solr. On Mon, Apr 26, 2010 at 1:04 PM, Jon Drukman wrote: > What does this error mean? > > SEVERE: Could not start SOLR. Check solr/home property > >

SEVERE: Could not start SOLR. Check solr/home property

2010-04-26 Thread Jon Drukman
What does this error mean? SEVERE: Could not start SOLR. Check solr/home property I've had this solr installation working before, but I haven't looked at it in a few months. I checked it today and the web side is returning a 500 error, the log file shows this when starting up: SEVERE: Coul

Re: "Solr 1.4 Enterprise Search Server" book examples

2010-04-26 Thread Johan Cwiklinski
Hello, Le 26/04/2010 20:53, findbestopensource a écrit : > I am able to successfully download the code. It is of 360 MB and took lot of > time to download. I'm also able to download the file ; but not to extract many of the files it contains after download (can list them but not extract, an error

Re: solr.xml absolute path schema and config files

2010-04-26 Thread Chris Hostetter
: Maybe we can add an error message to ShowFileRequesHandler that : explains to the user that displaying an absolute path doesn't work? yeah ... that would certianly be better -- i think it alreayd does that if you try "../../foo" but for "absolute" paths there is no explicit test -- just the f

Re: solr.xml absolute path schema and config files

2010-04-26 Thread Jason Rutherglen
Maybe we can add an error message to ShowFileRequesHandler that explains to the user that displaying an absolute path doesn't work? On Mon, Apr 26, 2010 at 1:13 PM, Chris Hostetter wrote: > > : Does this work?  When trying to display with a URL such as > : "solr/sandbox/admin/file/?file=/mnt/solr

Re: "Solr 1.4 Enterprise Search Server" book examples

2010-04-26 Thread findbestopensource
I am able to successfully download the code. It is of 360 MB and took lot of time to download. https://www.packtpub.com/solr-1-4-enterprise-search-server/book Select the "download the code" link and provide your email id, Download link will be sent via email. Regards Aditya www.findbestopensource.

Re: Boost function on *:*

2010-04-26 Thread Chris Hostetter
: Is it possible to use boost function across the whole index/empty search : term? function queries by definition match all docs -- so just query for the function your want and you'll get all documents scored according to hte function. based on your wordking, it sounds like you are using dism

Re: Using QueryElevationComponent without specifying top results?

2010-04-26 Thread Oliver Beattie
Hi Grant, Thanks for getting back to me. Yes, indeed, #1 is exactly what I'm looking for. Results are already ranked by distance (among other things), but we need the ability to manually include a certain result in the set. They wouldn't usually match, because they fall outside the radius of the f

Re: solr.xml absolute path schema and config files

2010-04-26 Thread Chris Hostetter
: Does this work? When trying to display with a URL such as : "solr/sandbox/admin/file/?file=/mnt/solr/schema.xml" from the Solr : admin console, the following error occurs: : : type Status report : : message Can not find: schema.xml [/mnt/solr/sandbox/conf/mnt/solr/schema.xml] As written the

Re: Using QueryElevationComponent without specifying top results?

2010-04-26 Thread Grant Ingersoll
On Apr 26, 2010, at 7:53 AM, Oliver Beattie wrote: > Hi all, > > I'm currently writing an application that uses Solr, and we'd like to use > something like the QueryElevationComponent, without having to specify which > results appear top. For example, what we really need is a way to say "for > t

Re: luke responses of solr

2010-04-26 Thread Chris Hostetter
: but does any one know how to get the same programatically.??? : I have used the piece of code below: I don't relaly understand your code .. a LukeResponse object is just a simple container for modeling the response fro mthe LukeRequestHandler -- you have to actually execute a LukeRequest to g

Re: Request Solr schema field definition vs dynamic creation performance help questions

2010-04-26 Thread Chris Hostetter
: How does defining fields that may not be used affect an index? not much. there is a trivial amount of overhead in the IndexSchema object that contributes to fieled lookps when indxing, and obviously things like hte schema browser are affected, but unused fields shouldn't influence search pe

solr.xml absolute path schema and config files

2010-04-26 Thread Jason Rutherglen
Does this work? When trying to display with a URL such as "solr/sandbox/admin/file/?file=/mnt/solr/schema.xml" from the Solr admin console, the following error occurs: type Status report message Can not find: schema.xml [/mnt/solr/sandbox/conf/mnt/solr/schema.xml] description The request sent b

Re: Solr does not honor facet.mincount and field.facet.mincount

2010-04-26 Thread Umesh_
Hi Koji, Thanks, "f..facet.mincount works. Thanks to you Chris as well, I was expecting that if I set the mincount to be ZERO, then facet will be totally ignored. But that is not the case. For example: If I want to display facets on fields A, B, C and D. But in case a field say C, does not have

Re: Best way to prevent this search lockup (apparently caused during big segment merges)?

2010-04-26 Thread Chris Harris
Otis, The index is currently 236GB. I don't know which particular segments were being merged when I reported this problem, but my largest segment now (_8nm) is taking up 133GB, and the largest single file in the index is _8nm.prx, 71GB. I'm using a custom C# indexing client, so no Solrj/Streaming

Re: Multiple DataSources- 2 tables - 2 db's- Where ... ?!

2010-04-26 Thread Ahmet Arslan
> i got a new problem. we put out item's table into antother > database and now > i need to use multiple datascource but without successed > =( > > so.. here my data-config-xml in short ;) > > /> > query="select id FROM shops WHERE is_active=1" /> > > /> > processor="org.apache.solr.handl

Re: "Solr 1.4 Enterprise Search Server" book examples

2010-04-26 Thread Abdelhamid ABID
Hi, I'm also interested to get those examples, would someone to share them ? On 4/26/10, markus.rietz...@rzf.fin-nrw.de wrote: > > i have send you a private mail. > > markus > > > -Ursprüngliche Nachricht- > > Von: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com] > > Gesendet: Montag,

indexer threading?

2010-04-26 Thread Wawok, Brian
Hi, I was wondering about how the multi-threading of the indexer works? I am using SolrJ to stream documents to a server. As I add more threads on the client side, I slowly see both speed and CPU usage go up on the indexer side. Once I hit about 4 threads, my indexer is at 100% cpu usage (of 1

Multiple DataSources- 2 tables - 2 db's- Where ... ?!

2010-04-26 Thread stockii
Hello... i got a new problem. we put out item's table into antother database and now i need to use multiple datascource but without successed =( so.. here my data-config-xml in short ;) http://lucene.472066.n3.nabble.com/Multiple-DataSources-2-tables-2-db-s-Where-tp756683p756683.html Sent

solrDynamicMbeans access

2010-04-26 Thread Na_D
hello, i need to access the solr mbeans displayed in jconsole to access the attributes of solr using codes( java) JMXServiceURL address = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://:/jmxrmi"); JMXConnector conn = JMXConnectorFactory.connect(address);

AW: "Solr 1.4 Enterprise Search Server" book examples

2010-04-26 Thread Markus.Rietzler
i have send you a private mail. markus > -Ursprüngliche Nachricht- > Von: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com] > Gesendet: Montag, 26. April 2010 10:58 > An: solr-user@lucene.apache.org > Betreff: "Solr 1.4 Enterprise Search Server" book examples > > Hello, > > We've r

RE: Problem with pdf, upgrading Cell

2010-04-26 Thread Marc Ghorayeb
Okay i've been digging a little bit through the Java code from the SVN, and it seems the load function inside the ExtractingDocumentLoader class does not receive the ContentStream (it is set to null...).Maybe i should send this to the developper mailing list? Marc > From: dekay...@hotmail.com

Re: "json.nl=arrarr" does not work with "facet.date"

2010-04-26 Thread fabritw
Thanks Hoss, it would be a great feature if an array could be returned, parsing would be much easier Also I am encountering a similar issue with the highlight results, is there an option as below? json.hl=arrarr "highlighting":[ { "name":["Apple 60 GB iPod with Video Playback Black"],

Re: Howto build a function query using the 'query' function

2010-04-26 Thread MitchK
I *think* that he means that "myQueryReturningACountOfHowOftenThisDocumentIsReferenced" is something like facet.count (or so). If not, I am sorry. However, it interests me very much, how to get the facet.count of the document in a query function. For example: If a document has got catField:financ

Using QueryElevationComponent without specifying top results?

2010-04-26 Thread Oliver Beattie
Hi all, I'm currently writing an application that uses Solr, and we'd like to use something like the QueryElevationComponent, without having to specify which results appear top. For example, what we really need is a way to say "for this search, include these results as part of the result set, and

Re: hybrid approach to using cloud servers for Solr/Lucene

2010-04-26 Thread Dennis Gearon
Not sure if it's a good argument, but cost is the reason. By keeping the base implementation in a permanent, local instance, cost is supposed to be less. Dennis Gearon Signature Warning EARTH has a Right To Life, otherwise we all die. Read 'Hot, Flat, and Crowded' Laugh at

Re: Howto build a function query using the 'query' function

2010-04-26 Thread Koji Sekiguchi
Villemos, Gert wrote: If the 'query' returned a count, yes. But my problem is exactly that as far as I can see from the description of the 'query' function, it does NOT return the count but the score of the search. I assumed that "myQueryReturningACountOfHowOftenThisDocumentIsReferenced" is

resolutions and chapters

2010-04-26 Thread Lukas Kahwe Smith
Hi, I am currently putting together a search for a DB where I have resolutions along with their metadata as well as chapters, its text and metadata. Most of the searching will actually be done on the metadata. The plan atm is to support 2 search modes: (a) one where the results will be resoluti

"Solr 1.4 Enterprise Search Server" book examples

2010-04-26 Thread Johan Cwiklinski
Hello, We've recently acquired the "Solr 1.4 Enterprise Search Server" book. I've tried to download the example ZIP file from the editor's website, but the file is actually corrupted, and I cannot unzip it :( Could someone tell me if I can get these examples from another location? I've send a m