Re: using DataImportHandler with ExtractRequestHandler ?

2009-10-14 Thread abhay kumar
Thanks Steven for the quick reply .. On Wed, Oct 14, 2009 at 1:56 AM, Steven A Rowe sar...@syr.edu wrote: See http://issues.apache.org/jira/browse/SOLR-1358 Steve -Original Message- From: abhay kumar [mailto:abhay...@gmail.com] Sent: Tuesday, October 13, 2009 8:59 AM To:

Re: Error when indexing XML files

2009-10-14 Thread Fergus McMenemie
Hi, I am trying to index XML files using SolrJ. The original XML file contains nested elements. For example, the following is the snippet of the XML file. entry   nameSOMETHING /name   facilitySOME_OTHER_THING/facility  /entry I have added the elements name and facility in Schema.xml

One more happy Solr user ...

2009-10-14 Thread Avlesh Singh
I am pleased to announce the latest release of a popular Indian local search portal called http://www.burrp.com http://mumbai.burrp.com. In prior versions of this web application, search was Lucene driven and we had to write our own implementation of search facets amongst other painful tasks. I

Re: One more happy Solr user ...

2009-10-14 Thread Andrew McCombe
Hi Nice site. First search I tried was for 'italien' in 'Mumbai' which returned zero results. Are you using spellcheck suggestions? Apart from that it's nice and fast. Regards Andrew McCombe iWebsolutions.co.uk 2009/10/14 Avlesh Singh avl...@gmail.com I am pleased to announce the latest

Re: One more happy Solr user ...

2009-10-14 Thread Avlesh Singh
Ah! I knew that was coming :) We are planning a spell-checker integration pretty soon. Thanks for trying out the site Andrew. Cheers Avlesh On Wed, Oct 14, 2009 at 2:53 PM, Andrew McCombe eupe...@gmail.com wrote: Hi Nice site. First search I tried was for 'italien' in 'Mumbai' which

Re: One more happy Solr user ...

2009-10-14 Thread Chantal Ackermann
Hi Avlesh, that is mean to sent something like that http://mumbai.burrp.com/pack/list/kolkata-on-a-roll around at lunch time - in Germany(!). Very very sadly, there are many places in Mumbai that have mastered the art of making authentic Kolkata rolls but I don't know of any here in

Re: One more happy Solr user ...

2009-10-14 Thread Avlesh Singh
If burrp! can keep pace with Solr enhancements, we are not too far from a munich.burrp.com ;) Thanks for checking out the site, Chantal. Cheers Avlesh On Wed, Oct 14, 2009 at 4:47 PM, Chantal Ackermann chantal.ackerm...@btelligent.de wrote: Hi Avlesh, that is mean to sent something like

Sorting on Multiple fields

2009-10-14 Thread Neil Lunn
We have come up against a situation we are trying to resolve in our Solr implementation project. This revolves mostly around how to sort results from index data we are likely to store in multiple fields but at runtime we are likely to query on the result of which one is most relevant. A brief

hadoop configuarions for SOLR-1301 patch

2009-10-14 Thread Pravin Karne
Hi, I am using SOLR-1301 path. I have build the solr with given patch. But I am not able to configure Hadoop for above war. I want to run solr(create index) with 3 nodes (1+2) cluster. How to do the Hadoop configurations for above patch? How to set master and slave? Thanks -Pravin

Re: Boosting of words

2009-10-14 Thread bhaskar chandrasekar
  Hi Clark,   Thanks for your input.I have a query.     I have my XML which contains the following:   add doc   field name=urlhttp://www.sun.com/field   field name=titleinformation/field   field name=descriptionjava plays a important role in computer industry for web users/field /doc doc   field

lazy loading error usin Solr Cell

2009-10-14 Thread Stefano Nannetti
Hi, I'm new to Solr and Java in general. I'd like to index rich documents with Solr Cell for my Intranet, so I downloaded the last Solr nightly build (solr-2009-10-14.tgz) and tried to follow the Solr Cell tutorial at wiki.apache.org/solr/ExtractingRequestHandler. I started Solr, copied a simple

Re: lazy loading error usin Solr Cell

2009-10-14 Thread Yonik Seeley
Hmmm, I just tried the first steps of the Solr Cell tutorial, and it worked fine for me (well, with the exception that there is no site directory... I went to docs instead - I'll fix that). Oh wait - I see your problem: at gnu.xml.stream.SAXParserFactory.setFeature(libgcj.so.90) You're path

Re: Boosting of words

2009-10-14 Thread AHMET ARSLAN
Hi Clark,   Thanks for your input. I have a query.     I have my XML which contains the following:   add doc   field name=urlhttp://www.sun.com/field   field name=titleinformation/field   field name=descriptionjava plays a important role in computer industry for web users/field /doc

Re: Sorting on Multiple fields

2009-10-14 Thread Avlesh Singh
Do we attempt to raise some sort of functional query to find the least amount of the requested price id's? This would seem to imply some playing around in the query handler to allow a function of this sort. Unless I am missing something, this information can always be obtained by

Solr 1.4 release candidate

2009-10-14 Thread Yonik Seeley
Folks, we've been in code freeze since Monday and a test release candidate was created yesterday, however it already had to be updated last night due to a serious bug found in Lucene. For now you can use the latest nightly build to get any recent changes like this:

Lucene's CachingTokenFilter in index analyzer chain

2009-10-14 Thread Enrico Detoma
Hi all, I'm trying to add a CachingTokenFilter derived filter to the index analyzer chain for field text. I need to work with CachingTokenFilter because I need to look-ahead in the token stream (my filter is a stop phrases filter, where I look ahead in the index to see if a stop phrase is found

Re: FACET_SORT_INDEX descending?

2009-10-14 Thread Gerald Snyder
Thanks for the answer and the alternative idea.--Gerald Chris Hostetter wrote: : Reverse alphabetical ordering. The option index provides alphabetical : ordering. be careful: index doesn't mean alphabetical -- it means the natural ordering of terms as they exist in the index. for non

POST queries to Solr instead of HTTP Gets with query string parameters

2009-10-14 Thread Glock, Thomas
Is a way to POST queries to Solr instead of supplying query string parameters ? Some of our queries may hit up against URL size limits. If so, can someone provide an example ? Thanks in advance

Re: hadoop configuarions for SOLR-1301 patch

2009-10-14 Thread Shalin Shekhar Mangar
On Wed, Oct 14, 2009 at 6:15 PM, Pravin Karne pravin_ka...@persistent.co.in wrote: Hi, I am using SOLR-1301 path. I have build the solr with given patch. But I am not able to configure Hadoop for above war. I want to run solr(create index) with 3 nodes (1+2) cluster. How to do the Hadoop

Re: One more happy Solr user ...

2009-10-14 Thread Shalin Shekhar Mangar
On Wed, Oct 14, 2009 at 2:16 PM, Avlesh Singh avl...@gmail.com wrote: I am pleased to announce the latest release of a popular Indian local search portal called http://www.burrp.com http://mumbai.burrp.com. In prior versions of this web application, search was Lucene driven and we had to

Re: POST queries to Solr instead of HTTP Gets with query string parameters

2009-10-14 Thread Shalin Shekhar Mangar
On Wed, Oct 14, 2009 at 8:06 PM, Glock, Thomas thomas.gl...@pfizer.comwrote: Is a way to POST queries to Solr instead of supplying query string parameters ? All Solr requests are normal HTTP requests. Most HTTP client libraries in various languages have a way to select POST instead of GET.

Re: lazy loading error usin Solr Cell

2009-10-14 Thread Stefano Nannetti
I removed the existing JVM from my Ubuntu 9.04 and installed OpenJDK. Now it's working fine. Thanks, now I can go deeper in the use of Solr!! Ste Yonik Seeley ha scritto: Hmmm, I just tried the first steps of the Solr Cell tutorial, and it worked fine for me (well, with the exception that

RE: POST queries to Solr instead of HTTP Gets with query string parameters

2009-10-14 Thread Ankit Bhatnagar
Solrj1.4 supports QueryRequest#setMethod(SolrRequest.METHOD.POST) but Solrj1.3 does not. -Ankit From: Shalin Shekhar Mangar [shalinman...@gmail.com] Sent: Wednesday, October 14, 2009 11:08 AM To: solr-user@lucene.apache.org Subject: Re: POST queries to

Re: Solr 1.4 release candidate

2009-10-14 Thread Joe Calderon
maybe im just not familiar with the way the version numbers works in trunk but when i build the latest nightly the jars have names like *-1.5-dev.jar, is that normal? On Wed, Oct 14, 2009 at 7:01 AM, Yonik Seeley yo...@lucidimagination.com wrote: Folks, we've been in code freeze since Monday

Solr/Lucene keeps eating up memory while idling

2009-10-14 Thread nonrenewable
I'm curious why this is occurring and whether i can prevent it. This is my scenario: Locally I have an idle running solr 1.3 service using lucene 2.4.1 which has an index of ~330K documents containing ~10 fields each(total size ~12GB). Currently I've turned off all caching, lazy field loading,

Re: Solr 1.4 release candidate

2009-10-14 Thread Yonik Seeley
On Wed, Oct 14, 2009 at 12:04 PM, Joe Calderon calderon@gmail.com wrote: maybe im just not familiar with the way the version numbers works in trunk but when i build the latest nightly the jars have names like *-1.5-dev.jar,  is that normal? Looks like Grant switched the version number a

Re: Letters with accent in query

2009-10-14 Thread R. Tan
Correct. Apparently, Firefox is the only browser that translate it é to %E9. On Wed, Oct 14, 2009 at 3:06 AM, Chris Hostetter hossman_luc...@fucit.orgwrote: : I'm querying with an accented keyword such as café but the debug info : shows that it is only searching for caf. I'm using the

Re: POST queries to Solr instead of HTTP Gets with query string parameters

2009-10-14 Thread Shalin Shekhar Mangar
On Wed, Oct 14, 2009 at 8:54 PM, Ankit Bhatnagar abhatna...@vantage.comwrote: Solrj1.4 supports QueryRequest#setMethod(SolrRequest.METHOD.POST) but Solrj1.3 does not. I just checked the 1.3 release. It most definitely exists in 1.3 -- Regards, Shalin Shekhar Mangar.

Adding callback url to data import handler...Is this possible?

2009-10-14 Thread William Pierce
Folks: I am pretty happy with DIH -- it seems to work very well for my situation. Thanks!!! The one issue I see has to do with the fact that I need to keep polling url/dataimport to check if the data import completed successfully. I need to know when/if the import is completed

Re: capitalization and delimiters

2009-10-14 Thread Shalin Shekhar Mangar
On Mon, Oct 12, 2009 at 9:09 PM, Audrey Foo au...@hotmail.com wrote: In my search docs, I have content such as 'powershot' and 'powerShot'. I would expect 'powerShot' would be searched as 'power', 'shot' and 'powershot', so that results for all these are returned. Instead, only results for

Re: Adding callback url to data import handler...Is this possible?

2009-10-14 Thread Avlesh Singh
Had a look at EventListeners in DIH?http://wiki.apache.org/solr/DataImportHandler#EventListeners Cheers Avlesh On Wed, Oct 14, 2009 at 11:21 PM, William Pierce evalsi...@hotmail.comwrote: Folks: I am pretty happy with DIH -- it seems to work very well for my situation. Thanks!!! The

Re: http replication transfer speed

2009-10-14 Thread Shalin Shekhar Mangar
Queries on the slave could be one reason. However, I see that in the perf test on the wiki also shows the same transfer speed (with rsync too!). Not sure whats up. 2009/10/12 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com Did you try w/o firing queries on the slave? On Sun, Oct 11, 2009 at

Re: Adding callback url to data import handler...Is this possible?

2009-10-14 Thread William Pierce
Thanks, Avlesh. Yes, I did take a look at the event listeners. As I mentioned this would require us to write Java code. Our app(s) are entirely windows/asp.net/C# so while we could add Java in a pinch, we'd prefer to stick to using SOLR using its convenient REST-style interfaces which

RE: Lucene Merge Threads

2009-10-14 Thread Giovanni Fernandez-Kincade
Does anyone know the correct syntax to specify the maximum number of threads for the ConcurrentMergeScheduler? Also, is there any concrete way to know when the merge is actually complete (aside from profiling the machine)? Thanks, Gio. -Original Message- From: Giovanni

Re: Adding callback url to data import handler...Is this possible?

2009-10-14 Thread Avlesh Singh
Hmmm ... I think this is a valid use case and it might be a good idea to support it in someway. I will post this thread on the dev-mailing list to seek opinion. Cheers Avlesh On Wed, Oct 14, 2009 at 11:39 PM, William Pierce evalsi...@hotmail.comwrote: Thanks, Avlesh. Yes, I did take a look at

how to get field contents out of Document object

2009-10-14 Thread Joe Calderon
hello *, sorry if this seems like a dumb question, im still fairly new to working with lucene/solr internals. given a Document object, what is the proper way to fetch an integer value for a field called num_in_stock, it is both indexed and stored thx much --joe

Opaque replication failures

2009-10-14 Thread Michael
Hi, I have a multicore Solr 1.4 setup. core_master is a 3.7G master for replication, and core_slave is a 500 byte slave pointing to the master. I'm using the example replication configuration from solrconfig.xml, with ${enable.master} and ${enable.slave} properties so that the master and slave

(Solr 1.4 dev) Why solr.common.* packages are in solrj-*.jar ?

2009-10-14 Thread Teruhiko Kurosaka
I've downloaded solr-2009-10-12.zip and tried to compile my TokenizerFactory impelmentation against this version of Solr. Compilation failed. One of the causes is that the compiler couldn't find org.apache.solr.common.ReosourceLoader. I discovered this class in apache-solr-solrj-nightly.jar. I

Re: solr IOException

2009-10-14 Thread Elaine Li
Hi Yonik, I tried the POST method in my ajax request in javascript. It does not work. I still get the same error message. Elaine On Tue, Oct 13, 2009 at 5:12 PM, Yonik Seeley ysee...@gmail.com wrote: Jetty has a maximum request size for HTTP-GET... can you use POST instead? -Yonik

RE: Lucene Merge Threads

2009-10-14 Thread Giovanni Fernandez-Kincade
In case anyone is having the same problem, I finally got this working, using the nightly build link that Yonik sent around: http://people.apache.org/builds/lucene/solr/nightly/ Thanks, Gio. -Original Message- From: Giovanni Fernandez-Kincade Sent: Wednesday, October 14, 2009 2:10 PM To:

Re: how to get field contents out of Document object

2009-10-14 Thread Yonik Seeley
On Wed, Oct 14, 2009 at 2:24 PM, Joe Calderon calderon@gmail.com wrote: hello *, sorry if this seems like a dumb question, im still fairly new to working with lucene/solr internals. given a Document object, what is the proper way to fetch an integer value for a field called num_in_stock,

Re: DataImportHandler problem: Feeding the XPathEntityProcessor with the FieldReaderDataSource

2009-10-14 Thread Shalin Shekhar Mangar
See SOLR-1511 2009/10/7 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com hi Lance. db.blob is the correct field name so that is fine. you can probbaly open an issue and provide the testcase as a patch. That can help us track this better On Wed, Oct 7, 2009 at 12:45 AM, Lance Norskog

Re: Lucene Merge Threads

2009-10-14 Thread Jason Rutherglen
Gio, Also, is there any concrete way to know when the merge is actually complete (aside from profiling the machine)? This would be a great feature to add to the Solr web UI. The ability to monitor merges in progress and log how much time each used. -J

'Down' boosting shorter docs

2009-10-14 Thread Simon Wistow
Our index has some items in it which basically contain a title and a single word body. If the user searches for a word in the title (especially if title is of itself only oen word) then that doc will get scored quite highly, despite the fact that, in this case, it's not really relevant. I've

Re: advice on failover setup

2009-10-14 Thread Jason Rutherglen
Don, Sorry, yes the features are under development and also hopefully the wikis as well. :) When they become available, well I can say personally I need the Katta integration working in the next few months. Jason Venner got it working over at his company. It might be good to describe your use

Re: Right place to put my Tokenizer jars

2009-10-14 Thread Erik Hatcher
You're better off putting extensions like these in solr-home/lib and letting Solr load them rather than putting them in a container classpath like Jetty's lib/ext. As you've seen, conflicts occur because of class loader visibility. Erik On Oct 14, 2009, at 7:28 PM, Teruhiko

Re: Right place to put my Tokenizer jars

2009-10-14 Thread Koji Sekiguchi
Hi Kurosaka-san, I think you got a kind of class loader problem. I usually put my plugin jars under the lib directory of solr home. http://wiki.apache.org/solr/SolrPlugins#How_to_Load_Plugins Koji Teruhiko Kurosaka wrote: I have my custom Tokenizer and TokenizerFactory in a jar, and I've

RE: Right place to put my Tokenizer jars

2009-10-14 Thread Teruhiko Kurosaka
Actually, I meant to say I have my Tokenizer jars in solr/lib. I have the jars that my Tokenizer jars depend in lib/ext, as I wanted them to be loaded only once per container due to their internal description. Bad idea? -kuro From: Teruhiko Kurosaka Sent: Wednesday, October 14, 2009 4:28 PM

Re: 'Down' boosting shorter docs

2009-10-14 Thread Yonik Seeley
A multiplicative boost may work better than one added in: http://lucene.apache.org/solr/api/org/apache/solr/search/BoostQParserPlugin.html -Yonik http://www.lucidimagination.com On Wed, Oct 14, 2009 at 7:21 PM, Simon Wistow si...@thegestalt.org wrote: Our index has some items in it which

Re: Adding callback url to data import handler...Is this possible?

2009-10-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
I can understand the concern that you do not wish to write Java code . But a callback url is a very specific requirement. We plan to extend javascript support to the EventListener callback . Will it help? On Wed, Oct 14, 2009 at 11:47 PM, Avlesh Singh avl...@gmail.com wrote: Hmmm ... I think

storing multiple type of records (Parent - Child Relationship)

2009-10-14 Thread ashokcz
Hi All , I have a specific requirement of storing multiple type of records. but dont know how to do it . First let me tell the requirement. I have a table called user table and a user can be mapped to multiple projects. User table details are User Name , User Id , address , and other details . I

Re: (Solr 1.4 dev) Why solr.common.* packages are in solrj-*.jar ?

2009-10-14 Thread Ryan McKinley
I wonder why the common classes are in the solrj JAR? Is the solrj JAR not just for the clients? the solr server uses solrj for distributed search. This makes solrj the general way to talk to solr (even from within solr)

Re: Error when indexing XML files

2009-10-14 Thread Chaitali Gupta
Hi, Please find the schema file attached. Please let me know what I am doing wrong. Regards Chaitali --- On Wed, 10/14/09, Fergus McMenemie fer...@twig.me.uk wrote: From: Fergus McMenemie fer...@twig.me.uk Subject: Re: Error when indexing XML files To: solr-user@lucene.apache.org Date: