More than one Tokenizer

2008-10-03 Thread sanraj25
Hi, Can we use more than one tokenizer factory for single field?.If we use like that what will happen?In what situation this may need? Thanks in advance -sanraj -- View this message in context: http://www.nabble.com/More-than-one-Tokenizer-tp19792894p19792894.html Sent from the Solr

Re: Check solr/home property

2008-10-03 Thread sunnyfr
Thanks Hoss, I thought it might come from tomcat if it doesn't find it : [EMAIL PROTECTED]:/etc/tomcat5.5/Catalina/localhost# ls solr.xml [EMAIL PROTECTED]:/var/lib/tomcat5.5/webapps# ls solr solr.war I have solrconfig.xml in my folder /data/solr/books/conf/ and I've multicore.xml in

Re: Check solr/home property

2008-10-03 Thread sunnyfr
Thanks Hoss, I thought it might come from tomcat if it doesn't find it : [EMAIL PROTECTED]:/etc/tomcat5.5/Catalina/localhost# ls solr-jdni.xml [EMAIL PROTECTED]:/var/lib/tomcat5.5/webapps# ls solr solr.war I have solrconfig.xml in my folder /data/solr/books/conf/ and I've multicore.xml in

Re: Check solr/home property

2008-10-03 Thread Shalin Shekhar Mangar
If you are using multicore.xml then the solr/home property in your tomcat should be /data/solr On Fri, Oct 3, 2008 at 12:25 PM, sunnyfr [EMAIL PROTECTED] wrote: Thanks Hoss, I thought it might come from tomcat if it doesn't find it : [EMAIL PROTECTED]:/etc/tomcat5.5/Catalina/localhost# ls

Re: More than one Tokenizer

2008-10-03 Thread Shalin Shekhar Mangar
On Fri, Oct 3, 2008 at 12:12 PM, sanraj25 [EMAIL PROTECTED] wrote: Can we use more than one tokenizer factory for single field?.If we use like that what will happen?In what situation this may need? Only one tokenizer is allowed per field. But you can have multiple filters for each

positionIncrementGap in schema.xml

2008-10-03 Thread sanraj25
Hi what is the purpose of positionIncrementGap attribute in field type tag of schema.xml. The value specified for that positionIncrementGap=100. If we change the value what will happen? please help me -sanraj -- View this message in context:

Re: DIH - Full imports + ?entity=param

2008-10-03 Thread Jon Baer
I like both ideas ... maybe the deleteByQuery attribute idea a little better since it's keeping it w/ the entity inside + you would not really be mucking w/ urls too much. On Oct 2, 2008, at 11:51 PM, Noble Paul നോബിള്‍ नोब्ळ् wrote: DIH does not know the rows created by that entity. So

Re: Check solr/home property

2008-10-03 Thread Erik Hatcher
Also note that with Solr 1.3.0 final release, it should be solr.xml, not multicore.xml - and the internals of that file changed too. Grab a final release to see the specifics. Erik On Oct 3, 2008, at 4:32 AM, Shalin Shekhar Mangar wrote: If you are using multicore.xml then the

commit in solr

2008-10-03 Thread sanraj25
Hi, when we add document,delete document or update the document commit is performed internally by solr.when we using any solr integration module we have to explicitly call the commit.What is the purpose of commit.while indexing the date we can do without commit.But in solr we have

Re: commit in solr

2008-10-03 Thread Shalin Shekhar Mangar
Hi Sanraj, It would be helpful if you put more effort into writing your emails. It is very difficult to understand your question. Solr does not perform commits internally. You have to explicity call commit once you are done adding/deleting your documents. A commit makes the changes visible to

RE: How to select one entity at a time?

2008-10-03 Thread con
Is there some other arguments that can be entered to this entity, so that we can invoke it by its rowtype? thanks con con wrote: Hi Burnell As we know in the real enterprise application the queries will be always complex than what I have posted here. That time I fear, this approach may

Re: Check solr/home property

2008-10-03 Thread sunnyfr
Thanks its ok now , my data folder loose is right ... the directory didn't have good rights. THANKS A LOT GUYS Erik Hatcher wrote: Also note that with Solr 1.3.0 final release, it should be solr.xml, not multicore.xml - and the internals of that file changed too. Grab a final release

Re: SEVERE: Exception while adding: Document, an Idea?

2008-10-03 Thread sunnyfr
Thanks its ok now , my data folder loose is right ... the directory didn't have good rights. THANKS A LOT GUYS Grant Ingersoll-6 wrote: Can you share more about what you are doing? An exception without any context is hard to figure out. What's the schema? Is there another exception

Re: positionIncrementGap in schema.xml

2008-10-03 Thread Erik Hatcher
On Oct 3, 2008, at 5:10 AM, sanraj25 wrote: what is the purpose of positionIncrementGap attribute in field type tag of schema.xml. The value specified for that positionIncrementGap=100. If we change the value what will happen? Suppose a document has a multi-valued author field.

[DataImportHandler] Changes in child entity and delta-import

2008-10-03 Thread Grant Ingersoll
First off, starting to play with the DataImportHandler (DIH) more... very cool. I have a rather simple case where I am indexing an RSS feed that contains articles. For one or more articles, I have an entry in a database that contains the URL of the article and a rating. My config is

Re: Controlling Length of Text Snippets Before and After Highlighted Term

2008-10-03 Thread Grant Ingersoll
Solr doesn't know anything about your display. http://wiki.apache.org/solr/HighlightingParameters details how you can use different sized fragments for generating the snippets, but it is still up to you as to how much you want to display. The two need not be related. On Oct 1, 2008, at

[Announcement] Solr javascript library example online

2008-10-03 Thread Matthias Epheser
Hi, after implementing a javascript library for Solr widgets during this year's Google Summer of code, I've now managed to put a real world example online. http://solrjs.solrstuff.org/test/reuters/ The example contains a test data set of 22000 reuters busines news items, all of them are

Re: complex XML structure problem

2008-10-03 Thread Otis Gospodnetic
Hola Saša, You don't have to recreate logic for proximity (I assume that by that you mean proximity of words/terms for phrase queries), if you have a text field with all your content. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Saša

Re: [DataImportHandler] Changes in child entity and delta-import

2008-10-03 Thread Shalin Shekhar Mangar
On Fri, Oct 3, 2008 at 9:20 PM, Grant Ingersoll [EMAIL PROTECTED] wrote: Now, my question. Let's say I have an initial set of ratings for a feed. I then do a full import of the articles on that feed. Everything is peachy so far. Then, I get a new rating for an existing article that I've

Re: [DataImportHandler] Changes in child entity and delta-import

2008-10-03 Thread Grant Ingersoll
On Oct 3, 2008, at 12:34 PM, Shalin Shekhar Mangar wrote: On Fri, Oct 3, 2008 at 9:20 PM, Grant Ingersoll [EMAIL PROTECTED] wrote: Now, my question. Let's say I have an initial set of ratings for a feed. I then do a full import of the articles on that feed. Everything is peachy so

Commit in solr 1.3 can take up to 5 minutes

2008-10-03 Thread Uwe Klosa
Hi I have a big problem with one of my solr instances. A commit can take up to 5 minutes. This time does not depend on the number of documents which are updated. The difference for 1 or 100 updated documents is only a few seconds. I am running solr on tomcat 5.5 and java 1.6 on Solaris 10 on

Re: Commit in solr 1.3 can take up to 5 minutes

2008-10-03 Thread Mark Miller
Similar report with no response yet: http://www.nabble.com/*Very*-slow-Commit-after-upgrading-to-solr-1.3-td19720792.html#a19720792 Uwe Klosa wrote: Hi I have a big problem with one of my solr instances. A commit can take up to 5 minutes. This time does not depend on the number of documents

Re: [DataImportHandler] Changes in child entity and delta-import

2008-10-03 Thread Shalin Shekhar Mangar
On Fri, Oct 3, 2008 at 10:44 PM, Grant Ingersoll [EMAIL PROTECTED]wrote: What about somehow using the fact that the variable resolver needs to resolve solrFeed.link and then go get all entries from Solr to get those values, such that the child entity can then be tested? That may be

Re: Commit in solr 1.3 can take up to 5 minutes

2008-10-03 Thread Fuad Efendi
Hi Uwe, 5 minutes is not slow; commit can't be realtime... I do commitoptimize once a day at 3:00AM. It takes 15-20 minutes, but I have several millions daily updates... Is there a way to see why commits are slow? Has anyone had the same problem and what was the solution that solved it?

[ANNOUNCE] Apache Solr Logo Contests

2008-10-03 Thread Chris Hostetter
By popular demand (and after a few false starts) Solr is holding a contest to pick a new Solr logo. Full details about the contest, and how to submit an entry can be found on the wiki... http://wiki.apache.org/solr/LogoContest Note: the deadline for submissions is November 20th, 2008 @

Re: Commit in solr 1.3 can take up to 5 minutes

2008-10-03 Thread Yonik Seeley
On Fri, Oct 3, 2008 at 1:56 PM, Uwe Klosa [EMAIL PROTECTED] wrote: I have a big problem with one of my solr instances. A commit can take up to 5 minutes. This time does not depend on the number of documents which are updated. The difference for 1 or 100 updated documents is only a few seconds.

Re: Commit in solr 1.3 can take up to 5 minutes

2008-10-03 Thread Michael McCandless
Yonik Seeley wrote: On Fri, Oct 3, 2008 at 1:56 PM, Uwe Klosa [EMAIL PROTECTED] wrote: I have a big problem with one of my solr instances. A commit can take up to 5 minutes. This time does not depend on the number of documents which are updated. The difference for 1 or 100 updated

Re: complex XML structure problem

2008-10-03 Thread Saša Mutić
Hi Otis, You assumption is correct if I would only display highlighted results from Lucene/SOLR. However, If I want to display words highlighted on image (hence those coordinate attributes that I want to index) I need to know which word should be highlighted, as there might be several instances

Re: Solr vs. SOLR

2008-10-03 Thread Yonik Seeley
On Fri, Oct 3, 2008 at 2:55 PM, Erik Hatcher [EMAIL PROTECTED] wrote: Can we spell out the authoritative case for this project as Solr? SOLR as an acronym, ewww - Searching on Lucene * - Realfast? Reliably? Replicated? Worth spelling out in our website or on the wiki? I think every single

Re: Solr vs. SOLR

2008-10-03 Thread Chris Hostetter
: Can we spell out the authoritative case for this project as Solr? SOLR as an : acronym, ewww - Searching on Lucene * - Realfast? Reliably? Replicated? : : Worth spelling out in our website or on the wiki? We have in the FAQ -- but we could make hte wording stronger... What does

Re: using DataImportHandler instead of POST?

2008-10-03 Thread Geoffrey Young
Chris Hostetter wrote: : I chugg away at 1.5 million records in a single file, but solr never : commits. specifically, it ignores my autocommit settings. (I can : commit separately at the end, of course :) the way the autocommit settings work is soemthing i always get confused by --

Re: Solr vs. SOLR

2008-10-03 Thread Sean Timm
I heard a story that the 'r' in Solr back in the CNet days stood for Resin (the servlet container). True? Clearly the w/ replication makes more sense now as probably both Tomcat and Jetty deployments are more common now. Just curious, Sean Chris Hostetter wrote: : Can we spell out the

Re: Solr vs. SOLR

2008-10-03 Thread Yonik Seeley
On Fri, Oct 3, 2008 at 3:13 PM, Sean Timm [EMAIL PROTECTED] wrote: I heard a story that the 'r' in Solr back in the CNet days stood for Resin (the servlet container). True? Yep. Inside CNET, SOLAR == Search On Lucene And Resin (the servlet container). True? Clearly the w/ replication

Re: using spellcheckcomponent via solrj

2008-10-03 Thread Jason Rennie
Weird. When I put all of the below XML in the requestHandler we normally use, I always get zero results for requests. However, if I only add the last-components section, it works as expected (normal results, spellcheck in response if I specify spellcheck=true in query). Anyone know what might

RequestHandler that passes along the query

2008-10-03 Thread Brian Whitman
Not sure if this is possible or easy: I want to make a requestHandler that acts just like select but does stuff with the output before returning it to the client. e.g. http://url/solr/myhandler?q=type:dogsort=legsdescshards=dogserver1;dogserver2 When myhandler gets it, I'd like to take the

Re: [DataImportHandler] Changes in child entity and delta-import

2008-10-03 Thread Grant Ingersoll
On Oct 3, 2008, at 2:11 PM, Shalin Shekhar Mangar wrote: Essentially, what I am interested in is a join across data sources. I realize that is non-trivial, but boy would it be powerful. Yeah, that will be very powerful but implementing that in a general way is a design challenge.

Re: How to tokenize/analyze docs for the spellchecker - at indexing and query time

2008-10-03 Thread Jason Rennie
Hi Martin, I'm a relative newbie to solr, have been playing with the spellcheck component and seem to have it working. I certainly can't explain what all is going on, but with any luck, I can help you get the spellchecker up-and-running. Additional replies in-lined below. On Wed, Oct 1, 2008

Re: RequestHandler that passes along the query

2008-10-03 Thread Ryan McKinley
take a look at the SearchComponent interface: http://wiki.apache.org/solr/SearchComponent with that, you can inject extra fields into each document before passing them on ryan On Oct 3, 2008, at 4:13 PM, Brian Whitman wrote: Not sure if this is possible or easy: I want to make a

Re: RequestHandler that passes along the query

2008-10-03 Thread Grant Ingersoll
No need to even write a new ReqHandler if you're using 1.3: http://wiki.apache.org/solr/SearchComponent On Oct 3, 2008, at 4:13 PM, Brian Whitman wrote: Not sure if this is possible or easy: I want to make a requestHandler that acts just like select but does stuff with the output before

Re: Solr vs. SOLR

2008-10-03 Thread Chris Hostetter
: I heard a story that the 'r' in Solr back in the CNet days stood for Resin : (the servlet container). True? Clearly the w/ replication makes more sense : now as probably both Tomcat and Jetty deployments are more common now. Some of the naming history has been discussed on the list in the

dismax and long phrases

2008-10-03 Thread Jon Drukman
i have a document with the following field nameSaying goodbye to Norman/name if i search for saying goodbye to norman with the standard query, it works fine. if i specify dismax, however, it does not match. here's the output of debugQuery, which I don't understand at all: str

RE: Controlling Length of Text Snippets Before and After Highlighted Term

2008-10-03 Thread Lance Norskog
You could handle this problem with an XSL script on the output. It would scan for the highlighting markers and munge the text. I've done a few things with the XsltResponseWriter and I do not envy you this coding task :) but it is possible. http://wiki.apache.org/solr/XsltResponseWriter

Re: positionIncrementGap in schema.xml

2008-10-03 Thread Chris Hostetter
: Hi : what is the purpose of positionIncrementGap attribute in field : type tag of schema.xml. The value specified for that : positionIncrementGap=100. If we change the value what will happen? searching either the wiki, or google, or the example schema.xml answers this question...