RE: data-config.xml: delta-import unclear behaviour pre/postDeleteImportQuery with clean

2011-02-01 Thread Charton, Andre
Hi Manu, from 1.4.1 it is invoked if "postImportDeleteQuery" is not null and clean is true, see Code ... String delQuery = e.allAttributes.get("preImportDeleteQuery"); if (dataImporter.getStatus() == DataImporter.Status.RUNNING_DELTA_DUMP) { cleanByQuery(delQuery, fullCleanDone);

Re: SolrJ (Trunk) Invalid version or the data in not in 'javabin' format

2011-02-01 Thread Em
Hi, sorry for the late feedback. Everything seems to be fine now. Thank you! Koji Sekiguchi wrote: > > (11/01/31 3:11), Em wrote: >> >> Hello list, >> >> I build an application that uses SolrJ to communicate with Solr. >> >> What did I do? >> Well, I deleted all the solrj-lib stuff from my ap

Re: Solr for noSQL

2011-02-01 Thread Upayavira
On Tue, 01 Feb 2011 07:22 +0100, "Steven Noels" wrote: > On Mon, Jan 31, 2011 at 9:38 PM, Upayavira wrote: > > > > > > > On Mon, 31 Jan 2011 08:40 -0500, "Estrada Groups" > > wrote: > > > What are the advantages of using something like HBase over your standard > > > Lucene index with Solr? It

SOLR 1.4 and Lucene 3.0.3 index problem

2011-02-01 Thread Churchill Nanje Mambe
hi guys I have developed a java crawler and integrated the lucene 3.0.3 API into it so it creates a Lucene. now I wish to search this lucene index using solr, I tried to configure the solrconfig.xml and schema.xml, everything seems to be fine but then solr told me the index is corrupt but I use l

Lucene 3.0.3 index cannot be read by Solr

2011-02-01 Thread Churchill Nanje Mambe
Hello I need help, I am trying to configure solr 1.4 to read my lucene 3.0.3 based index I have but it says they are not compatible. can someone help me as I dont know what to do -- Mambe Churchill Nanje 237 33011349, AfroVisioN Founder, President,CEO http://www.afrovisiongroup.com | http://mamb

Re: Solr for noSQL

2011-02-01 Thread Steven Noels
On Tue, Feb 1, 2011 at 11:52 AM, Upayavira wrote: > > Apologies if my "nothing funky" sounded like you weren't doing cool > stuff. No offense whatsoever. I think my longer reply paints a more accurate light on what Lily means in terms of "SOLR for NoSQL", and it was your reaction who triggered

Re: chaning schema

2011-02-01 Thread Erick Erickson
That sounds right. You can cheat and just remove /data/index rather than delete *:* though (you should probably do that with the Solr instance stopped) Make sure to remove the directory "index" as well. Best Erick On Tue, Feb 1, 2011 at 1:27 AM, Dennis Gearon wrote: > Anyone got a great li

Re: Terms and termscomponent questions

2011-02-01 Thread Erick Erickson
Nope, this isn't what I'd expect. There are a couple of possibilities: 1> check out what WordDelimiterFilterFactory is doing, although if you're really sending spaces that's probably not it. 2> Let's see the and definitions for the field in question. type="text" doesn't say anything abo

Re: chaning schema

2011-02-01 Thread Stefan Matheis
>From http://wiki.apache.org/solr/DataImportHandler#Commands > The handler exposes all its API as http requests . The following are the > possible operations > [..] > clean : (default 'true'). Tells whether to clean up the index before the > indexing is started so, no need for an (additional) d

escaping parenthesis in search query don't work...

2011-02-01 Thread Pierre-Yves LANDRON
Hello !I've seen that in order to search term with parenthesis=2C those have to be=escaped as in title:\(term\).But it doesn't seem to work - parenthesis are=n't taken in account.here is the field type I'm using to index these data :

Re: SOLR 1.4 and Lucene 3.0.3 index problem

2011-02-01 Thread Estrada Groups
I have the exact opposite problem where Luke won't even load the index but Solr starts fine. I believe there are major differences between the two indexes that are causing all these issues. Adam On Feb 1, 2011, at 6:28 AM, Churchill Nanje Mambe wrote: > hi guys > I have developed a java cr

Re: CUSTOM JSP FOR APACHE SOLR

2011-02-01 Thread Estrada Groups
Has anyone noticed the rails application that installs with Solr4.0? I am interested to hear some feedback on that one... Adam On Jan 31, 2011, at 4:25 PM, Paul Libbrecht wrote: > Tomas, > > I also know velocity can be used and works well. > I would be interested to a simpler way to have the

Re: SOLR 1.4 and Lucene 3.0.3 index problem

2011-02-01 Thread Churchill Nanje Mambe
is there any way I can change the lucene version wrapped in side solr 1.4 from lucene 2.x to lucene 3.x. any tutorials as I am guessing thats where the index data doesnt match. something I also found out is that solr 1.4 expects the index to be luce_index_folder/index while lucene 3.x index is ju

Re: escaping parenthesis in search query don't work...

2011-02-01 Thread shan2812
Hi, I think you can search without the escape sequence as its not necessary. Instead just try (term) and it should work. Regards -- View this message in context: http://lucene.472066.n3.nabble.com/Http-Connection-is-hanging-while-deleteByQuery-tp2367405p2397455.html Sent from the Solr - User m

Re: SOLR 1.4 and Lucene 3.0.3 index problem

2011-02-01 Thread Upayavira
What problem are you trying to solve by using a Lucene 3.x index within a Solr 1.4 system? Upayavira On Tue, 01 Feb 2011 14:59 +0100, "Churchill Nanje Mambe" wrote: > is there any way I can change the lucene version wrapped in side solr 1.4 > from lucene 2.x to lucene 3.x. > any tutorials as I

Re: SOLR 1.4 and Lucene 3.0.3 index problem

2011-02-01 Thread Churchill Nanje Mambe
am sorry I downloaded the solr released version as I dont know how to build solr myself but I wrote my crawler with lucene 3.x now I need solr to search this index so I tried used the solr 1.4 I downloaded from the site as the most recent version now I cant seem to read the index. I considered

Re: Terms and termscomponent questions

2011-02-01 Thread openvictor Open
Dear Erick, Thank you for your answer, here is my fieldtype definition. I took the standard one because I don't need a better one for this field Now my field : But I have a doubt now... Do I really put a space between words or is it just a coma... If I only put a coma then th

Re: Solr for noSQL

2011-02-01 Thread openvictor Open
Hi All I don't know if it answers any of your question but if you are interested by that check out : Lucandra ( Cassandra + Lucene) 2011/2/1 Steven Noels > On Tue, Feb 1, 2011 at 11:52 AM, Upayavira wrote: > > > > > > Apologies if my "nothing funky" sounded like you weren't doing cool > > st

Next steps in loading plug-in

2011-02-01 Thread McGibbney, Lewis John
Hi list, Having had a thorough look at the wiki over the weekend and doing some testing myself I have some additional questions regarding loading my plug-in to Solr. Taking the 'Old Way' to loading plug-ins, I have JARred up the relevant classes and added the JAR to the web app WEB-INF/lib dir.

Malformed XML with exotic characters

2011-02-01 Thread Markus Jelsma
There is an issue with the XML response writer. It cannot cope with some very exotic characters or possibly the right-to-left writing systems. The issue can be reproduced by indexing the content of the home page of wikipedia as it contains a lot of exotic matter. The problem does not affect the

Re: Malformed XML with exotic characters

2011-02-01 Thread Stefan Matheis
Hi Markus, to verify that it's not an Firefox-Issue, try xmllint on your shell to check the given xml? Regards Stefan On Tue, Feb 1, 2011 at 4:43 PM, Markus Jelsma wrote: > There is an issue with the XML response writer. It cannot cope with some very > exotic characters or possibly the right-to

Solr Distributed Search "start parameter" limitation

2011-02-01 Thread onlinespend...@gmail.com
If you look at the Solr wiki, one of the limitations of distributed searching it mentions is with regards to the start parameter. http://wiki.apache.org/solr/DistributedSearch#Distributed_Searching_Limitations "Makes it more inefficient to use a high "start" parameter. For example, if you request

Re: SOLR 1.4 and Lucene 3.0.3 index problem

2011-02-01 Thread Koji Sekiguchi
(11/02/01 23:58), Churchill Nanje Mambe wrote: am sorry I downloaded the solr released version as I dont know how to build solr myself but I wrote my crawler with lucene 3.x now I need solr to search this index so I tried used the solr 1.4 I downloaded from the site as the most recent versi

Re: SOLR 1.4 and Lucene 3.0.3 index problem

2011-02-01 Thread Peter Karich
solr 1.4.x uses 2.9.x of lucene you could try the trunk which uses lucene 3.0.3 and should be compatible if I'm correct Regards, Peter. > I have the exact opposite problem where Luke won't even load the index but > Solr starts fine. I believe there are major differences between the two > index

Re: Malformed XML with exotic characters

2011-02-01 Thread François Schiettecatte
Markus A few things to check, make sure whatever SOLR is hosted on is outputting utf-8 ( URIEncoding="UTF-8" in the Connector section in server.xml on Tomcat for example), which it looks like here, also make sure that whatever http header there is tells firefox that it is getting utf-8 (otherw

Re: Malformed XML with exotic characters

2011-02-01 Thread Markus Jelsma
It's throwing out a lot of disturbing messages: select.xml:17: parser error : Char 0xD800 out of allowed range ki • Eʋegbe • Frasch • Fulfulde • Gagauz • Gĩkũyũ • ^ select.xml:17: parser error : PCDATA invalid Ch

Re: SOLR 1.4 and Lucene 3.0.3 index problem

2011-02-01 Thread Churchill Nanje Mambe
So I should use 1.4.1, and that is already built what if I use solr 4 ?? from the source code do you know of any tutorial I can use to learn how to build it using netbeans IDE ?? I already have ant installed or you advice I go with the 1.4.1 ?? Mambe Churchill Nanje 237 33011349, AfroVisioN Foun

Re: Malformed XML with exotic characters

2011-02-01 Thread Markus Jelsma
Hi, There is no typical encoding issues on my system. I can index, query and display english, german, chinese, vietnamese etc. Cheers On Tuesday 01 February 2011 17:23:49 François Schiettecatte wrote: > Markus > > A few things to check, make sure whatever SOLR is hosted on is outputting > utf-

Re: chaning schema

2011-02-01 Thread Dennis Gearon
I tried removing the index directory once, and tomcat refused to sart up because it didn't have a segments file. - Original Message From: Erick Erickson To: solr-user@lucene.apache.org Sent: Tue, February 1, 2011 5:04:51 AM Subject: Re: chaning schema That sounds right. You can ch

Lock obtain timed out: NativeFSLock

2011-02-01 Thread Alex Thurlow
I recently added a second core to my solr setup, and I'm now running into this "Lock obtain timed out" error when I try to update one core after I've updated another core. In my update process, I add/update 1000 documents at a time and commit in between. Then at the end, I commit and optimize

Re: chaning schema

2011-02-01 Thread Erik Hatcher
the trick is, you have to remove the data/ directory, not just the data/index subdirectory. and of course then restart Solr. or delete *:*?commit=true, depending on what's the best fit for your ops. Erik On Feb 1, 2011, at 11:41 , Dennis Gearon wrote: > I tried removing the index dire

Re: chaning schema

2011-02-01 Thread Dennis Gearon
Cool, thanks for the tip, Erik :-) There's so much to learn, and I haven't even got to tuning the thing for best results. Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’ mistakes, so

Re: Malformed XML with exotic characters

2011-02-01 Thread Sascha Szott
Hi folks, I've made the same observation when working with Solr's ExtractingRequestHandler on the command line (no browser interaction). When issuing the following curl command curl 'http://mysolrhost/solr/update/extract?extractOnly=true&extractFormat=text&wt=xml&resource.name=foo.pdf' --da

Re: one column indexed, the other isnt

2011-02-01 Thread PeterKerk
I solved it by altering my SQL statement to return a 'true' or 'false' value: CASE WHEN c.varstatement='False' THEN 'false' ELSE 'true' END as varstatement Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/one-column-indexed-the-other-isnt-tp2389819p2399011.html Sent

Re: Malformed XML with exotic characters

2011-02-01 Thread Markus Jelsma
You can exclude the input's involvement by checking if other response writers do work. For me, the JSONResponseWriter works perfectly with the same returned data in some AJAX environment. On Tuesday 01 February 2011 18:29:06 Sascha Szott wrote: > Hi folks, > > I've made the same observation whe

Re: Malformed XML with exotic characters

2011-02-01 Thread Sascha Szott
Hi Markus, in my case the JSON response writer returns valid JSON. The same holds for the PHP response writer. -Sascha On 01.02.2011 18:44, Markus Jelsma wrote: You can exclude the input's involvement by checking if other response writers do work. For me, the JSONResponseWriter works perfect

Re: EdgeNgram Auto suggest - doubles ignore

2011-02-01 Thread johnnyisrael
Hi Erick, I tried to use terms component, I got ended up with the following problems. Problem: 1 Custom Sort not working in terms component: http://lucene.472066.n3.nabble.com/Term-component-sort-is-not-working-td1905059.html#a1909386 I want to sort using one of my custom fiel

SolrIndexWriter was not closed prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!!

2011-02-01 Thread Ravi Kiran
Hello, While reloading a core I got this following error, when does this occur ? Prior to this exception I do not see anything wrong in the logs. [#|2011-02-01T13:02:36.697-0500|SEVERE|sun-appserver2.1|org.apache.solr.servlet.SolrDispatchFilter|_ThreadID=25;_ThreadName=httpWorkerThread-9

Re: Solr Indexing Performance

2011-02-01 Thread Darx Oman
Thanx Tomas I'll try with different configuration

Re: Malformed XML with exotic characters

2011-02-01 Thread Robert Muir
Hi, it might only be a problem with your xml tools (e.g. firefox). the problem here is characters outside of the basic multilingual plane (in this case Gothic). XML tools typically fall apart on these portions of unicode (in lucene we recently reverted to a patched/hacked copy of xerces specificall

Re: Sending binary data as part of a query

2011-02-01 Thread Jay Luker
On Mon, Jan 31, 2011 at 9:22 PM, Chris Hostetter wrote: > that class should probably have been named ContentStreamUpdateHandlerBase > or something like that -- it tries to encapsulate the logic that most > RequestHandlers using COntentStreams (for updating) need to worry about. > > Your QueryComp

Re: Lock obtain timed out: NativeFSLock

2011-02-01 Thread Alex Thurlow
I'm going to go ahead and replay to myself since I solved my problem. It seems I was doing one more update to the data at the end and wasn't doing a commit, so it then couldn't write to the other core. Adding the last commit seems to have fixed everything. On 2/1/2011 11:08 AM, Alex Thurlow

Solr and Eclipse

2011-02-01 Thread Eric Grobler
Hi I am a newbie and I am trying to run solr in eclipse. >From this url http://wiki.apache.org/solr/HowToContribute#Development_Environment_Tips there is a subclipse example: I use Team -> Share Project and this url: http://svn.apache.org/repos/asf/lucene/dev/trunk but I get a "access forbidd

best practice for solr-power jsp?

2011-02-01 Thread Paul Libbrecht
Hello list, this was asked again recently but I still see no answer. What is the best practice to write jsp files that are, for example, search results of solr? The only relevant thing I found is http://www.ibm.com/developerworks/java/library/j-solr1/ "Search smarter with Apache

Re: Lock obtain timed out: NativeFSLock

2011-02-01 Thread Chris Hostetter
: I'm going to go ahead and replay to myself since I solved my problem. It : seems I was doing one more update to the data at the end and wasn't doing a : commit, so it then couldn't write to the other core. Adding the last commit : seems to have fixed everything. sending interleaving updates t

Re: Lucene 3.0.3 index cannot be read by Solr

2011-02-01 Thread Grijesh
solr1.4 is compatible for lucene2.9 version. If your index version is 3.0.3 then it can not be read by lucene2.9 version. You can try to change solr's lucene2.9 jar with your lucene3.0.3 jar and restart your server Hope it may work. - Thanx: Grijesh -- View this message in context: http://

Re: SOLR 1.4 and Lucene 3.0.3 index problem

2011-02-01 Thread Grijesh
You can extract the solr.war using java's jar -xvf solr.war command change the lucene-2.9.jar with your lucene-3.0.3.jar in WEB-INF/lib directory then use jar -cxf solr.war * to again pack the war deploy that war hope that work - Thanx: Grijesh -- View this message in context: http://lu

Re: nested faceting ?

2011-02-01 Thread Grijesh
Another Patch is also available for Hierarchical faceting is https://issues.apache.org/jira/browse/SOLR-64 You can look at this ,may solve your problem - Thanx: Grijesh -- View this message in context: http://lucene.472066.n3.nabble.com/nested-faceting-tp2389841p2403601.html Sent from the