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 . 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.

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 > I am pleased to announce the latest release of a popu

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 wrote: > Hi > Nice site. First search I tried was for 'italien' in 'Mumbai' which > returned zero results

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 Munich..

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 l

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 examp

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 DISCLAIME

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:     http://www.sun.com   information   java plays a important role in computer industry for web users   http://www.askguru.com   homepage   Information about technology is stored in the web sit

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 h

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 pa

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: >   > > >   http://www.sun.com >   information >   java plays a important > role in computer industry for web users > > >   http://www.askguru.com >   homepage >   Information about >

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 post-pro

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: http://people.apache.org/builds/

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 foun

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

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 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 configurations for above

Re: One more happy Solr user ...

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

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 wrote: > > 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. If you are using Sol

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 ther

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 S

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 wrote: > Folks, we've been in code freeze since Monday and a test release > candida

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, ho

Re: Solr 1.4 release candidate

2009-10-14 Thread Yonik Seeley
On Wed, Oct 14, 2009 at 12:04 PM, Joe Calderon 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 little early - nothing

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 wrote: > > : 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 ISOLatin1Accent >

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 wrote: > > > 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 <>/dataimport to check if the data import completed successfully. I need to know when/if the import is completed (successfull

Re: capitalization and delimiters

2009-10-14 Thread Shalin Shekhar Mangar
On Mon, Oct 12, 2009 at 9:09 PM, Audrey Foo 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 'power' and 's

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 wrote: > Folks: > > I am pretty happy with DIH -- it seems to work very well for my situation. >Thanks!!! > > The one issue I see ha

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 നോബിള്‍ नोब्ळ् > Did you try w/o firing queries on the slave? > > On Sun, Oct 11, 2009 at 6:05 AM, Mark Miller

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 makes

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 Fernandez-Kincad

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 wrote: > Thanks, Avlesh. Yes, I did take a look at the event listeners.

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 c

(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 wrote: > Jetty has a maximum request size for HTTP-GET... can you use POST instead? > > -Yonik > http://www.lucidimagina

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 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", it is both index

Re: DataImportHandler problem: Feeding the XPathEntityProcessor with the FieldReaderDataSource

2009-10-14 Thread Shalin Shekhar Mangar
See SOLR-1511 2009/10/7 Noble Paul നോബിള്‍ नोब्ळ् > 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 wrote: > > A side note t

advice on failover setup

2009-10-14 Thread Katz, Dan
Hi folks, I'm tasked with designing a failover architecture for our new Solr server. I've read the Replication section in the docs (http://wiki.apache.org/solr/SolrReplication) and I need some clarification/insight. My questions: 1. Is there such a thing as "master/master" replication? 2.

Re: advice on failover setup

2009-10-14 Thread Jason Rutherglen
Dan, For automatic failover there are 2 wiki pages that may be helpful, however both are in the development stage. http://wiki.apache.org/solr/ZooKeeperIntegration http://wiki.apache.org/solr/KattaIntegration -J On Wed, Oct 14, 2009 at 12:48 PM, Katz, Dan wrote: > Hi folks, > > I'm tasked with

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

Re: advice on failover setup

2009-10-14 Thread Don Clore
I'm sorry, for clarification, is it the *wiki# pages that are under development, or the features (I'm guessing the latter)? If the latter (ZooKeeperIntegration and KattaIntegration are not available yet), is there any sort of guess as to when these features might become available? thanks, Don On

'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 t

Right place to put my Tokenizer jars

2009-10-14 Thread Teruhiko Kurosaka
I have my custom Tokenizer and TokenizerFactory in a jar, and I've been putting it in example/lib/ext. and it's been working fine with Solr 1.3. This jar uses SLF4J as a logging API, and I had the SLF4J jars in the same place, example/lib/ext. Because Solr 1.4 uses SLF4J too and have it builtin,

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 ca

Re: Right place to put my Tokenizer jars

2009-10-14 Thread Erik Hatcher
You're better off putting extensions like these in /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 Kurosaka wrote:

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 be

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: advice on failover setup

2009-10-14 Thread Yonik Seeley
On Wed, Oct 14, 2009 at 3:48 PM, Katz, Dan wrote: > I'm tasked with designing a failover architecture for our new Solr > server. I've read the Replication section in the docs > (http://wiki.apache.org/solr/SolrReplication) and I need some > clarification/insight. My questions: > > 1.      Is there

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 wrote: > Our index has some items in it which basically contain a titl

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 wrote: > Hmmm ... I think this is a valid use

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 h

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 wrote: From: Fergus McMenemie Subject: Re: Error when indexing XML files To: solr-user@lucene.apache.org Date: Wednesday, October 14, 2009, 2:25 AM >

Re: storing multiple type of records (Parent - Child Relationship)

2009-10-14 Thread Avlesh Singh
> > but is there a way where we can store user records separately and project > records separately. and jut give the link in solr ?? like mentioned below > and still making it > searchable and facetable ?? > With single core, unfortunately not. Denormalizing data for storage and searches is a regu

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

2009-10-14 Thread Avlesh Singh
> > But a callback url is a very specific requirement. We plan to extend > javascript support to the EventListener callback. I would say the latter is more specific than the former. People who are comfortable writing JAVA wouldn't need any of these but the second best thing for others would be a

Re: storing multiple type of records (Parent - Child Relationship)

2009-10-14 Thread ashokcz
thanks Avlesh for your reply. ya even i had that idea . but the problem is project data could change very rapdily. so in that case i will end up changing the associated user details . say i have just 100 Project records but 1,00,000 user records . then changing one project record means changin

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

2009-10-14 Thread William Pierce
If the JavaScript support enables me to invoke a URL, it's really OK with me. Cheers, - Bill -- From: "Avlesh Singh" Sent: Wednesday, October 14, 2009 11:01 PM To: Subject: Re: Adding callback url to data import handler...Is this possible?