Re: config reload JMX capabilities

2008-08-05 Thread Shalin Shekhar Mangar
On Wed, Aug 6, 2008 at 3:09 AM, Kashyap, Raghu <[EMAIL PROTECTED]>wrote: > > Are there ConfigReload capabilities through JMX that can help us do > this? > No, only statistics are exposed through JMX at present. SOLR-561 enables support for automatic config file replication to slaves without down

Re: Sum of one field

2008-08-05 Thread Norberto Meijome
On Tue, 05 Aug 2008 18:58:42 -0300 Leonardo Dias <[EMAIL PROTECTED]> wrote: > So I'm looking for a Ferrari. CarStore says that there are 5 ads for > Ferrari, but one ad has 2 Ferraris being sold, the other ad has 3 > Ferraris and all the others have 1 Ferrari each, meaning that there are > 5 ad

Re: unique key

2008-08-05 Thread Norberto Meijome
On Tue, 5 Aug 2008 14:41:08 -0300 "Scott Swan" <[EMAIL PROTECTED]> wrote: > I currently have multiple documents that i would like to index but i would > like to combine two fields to produce the unique key. > > the documents either have 1 or the other fields so by combining the two > fields i w

Re: Diagnostic tools

2008-08-05 Thread Norberto Meijome
On Tue, 5 Aug 2008 11:43:44 -0500 "Kashyap, Raghu" <[EMAIL PROTECTED]> wrote: > Hi, Hi Kashyap, please don't hijack topic threads. http://en.wikipedia.org/wiki/Thread_hijacking thanks!! B _ {Beto|Norberto|Numard} Meijome Software QA is like cleaning my cat's litter box:

BBC Radio project

2008-08-05 Thread Lance Norskog
http://www.bbc.co.uk/blogs/radiolabs/2008/06/wikipedia_plus_lucene_moreliket his.shtml A nice trick! He put all of Wikipedia directly into Lucene, one document per page, and then he does More-Like-This on it. Chris Sizemore, are you out there?

term list

2008-08-05 Thread Jack Tuhman
Hi all, is there a way to get key terms from an item? If each item has an id, can I pass that ID to a search and get back the key terms like you can with the mlt filter. Does this make sense? Jack

Re: Unlock on startup

2008-08-05 Thread Koji Sekiguchi
Try: single Koji sundar shankar wrote: Hi All, I am having to test solr indexing quite a bit on my local and dev environments. I had the true. But restarting my server still doesn't seem to remove the writelock file. Is there some other configuration that I might have to do get t

Re: Sum of one field

2008-08-05 Thread Leonardo Dias
Hello, Otis! I believe the best approach would be hacking the SolrIndexSearcher in our case. Let me explain further what we want to know with a Car ad website example. Imagine that you have a website called CarStores and that you let people search by brand, sorting by price etc. So I'm loo

RE: Out of memory on Solr sorting

2008-08-05 Thread sundar shankar
Oh Wow, I didnt know that was the case. I am completely left baffled now. BAck to square one I guess. :) > Date: Tue, 5 Aug 2008 14:31:28 -0700> From: [EMAIL PROTECTED]> To: > solr-user@lucene.apache.org> Subject: RE: Out of memory on Solr sorting> > > Sundar, very strange that increase of size

RE: Diagnostic tools

2008-08-05 Thread Kashyap, Raghu
Yes we are sending the commits. -Raghu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Tuesday, August 05, 2008 12:01 PM To: solr-user@lucene.apache.org Subject: Re: Diagnostic tools On Tue, Aug 5, 2008 at 12:43 PM, Kashyap, Raghu <[EM

config reload JMX capabilities

2008-08-05 Thread Kashyap, Raghu
One of the requirements we have is that when we deploy new data for solr config (synonyms, dictionary etc) we should NOT be restarting the solr instances for the changes to take effect. Are there ConfigReload capabilities through JMX that can help us do this? Thanks in Advance -Raghu

RE: Out of memory on Solr sorting

2008-08-05 Thread Fuad Efendi
Sundar, very strange that increase of size/initialSize of LRUCache helps with OutOfMemoryError... 2048 is number of entries in cache and _not_ 2Gb of memory... Making size==initialSize of HashMap-based LRUCache would help with performance anyway; may be with OOMs (probably no need to resize

Re: Indexing time boosts on particular field

2008-08-05 Thread Erick Erickson
I think you want to boost specific clauses at *search* time, not index time. Something like adding a clause +CourseType:MATHMATICS^10 Best Erick On Tue, Aug 5, 2008 at 4:35 PM, Vicky_Dev <[EMAIL PROTECTED]>wrote: > > Hi > > Requirement: For given document , if course type = "MATHMATICS" then sea

Re: multivaluefield and order

2008-08-05 Thread Ian Connor
Thanks for the quick reply. I was searching for multivalue field, multi value, order and positon and didn't find the answer. However, with this little bit of keyword loading, the next person to search will be all good. Order IS conserved when storing mutivalued fields in solr and lucene. On Tue

RE: Out of memory on Solr sorting

2008-08-05 Thread sundar shankar
Yes this is what I did. I got an out of memory while executing a query with a sort param 1. Stopped Jboss server 2. In these 3 params, I changed "size" from 512 to 2048. 3. Restarted the server 4. Ran query again. It worked just fine. after that. I am currently reinexing, repl

Re: Out of memory on Solr sorting

2008-08-05 Thread Fuad Efendi
I know, and this is strange... I was guessing filterCache is used implicitly to get DocSet for token; as Sundar wrote, increase of LRUCache helped him (he is sorting on 'text-ws' field) -Fuad If increasing LRU cache helps you: - you are probably using 'tokenized' field for sorting (could you

Re: multivaluefield and order

2008-08-05 Thread Smiley, David W. (DSMILEY)
Yes. On 8/5/08 4:58 PM, "Ian Connor" <[EMAIL PROTECTED]> wrote: > Hi, > > When you store a multivaluefield in a given order > ['one','two','three','four'], will it always return the values in that > order?

multivaluefield and order

2008-08-05 Thread Ian Connor
Hi, When you store a multivaluefield in a given order ['one','two','three','four'], will it always return the values in that order? -- Regards, Ian Connor

Re: Out of memory on Solr sorting

2008-08-05 Thread Yonik Seeley
On Tue, Aug 5, 2008 at 1:59 PM, Fuad Efendi <[EMAIL PROTECTED]> wrote: > If increasing LRU cache helps you: > - you are probably using 'tokenized' field for sorting (could you confirm > please?)... Sorting does not utilize any Solr caches. -Yonik

Indexing time boosts on particular field

2008-08-05 Thread Vicky_Dev
Hi Requirement: For given document , if course type = "MATHMATICS" then search results contains Course type "MATHMATICS" documents then show search results should show Course type "MATHMATICS" documents prior than any other documents. Course Type will be one of the field whist creating solr in

Re: Solr Logo thought

2008-08-05 Thread Stephen Weiss
My issue with the logos presented was they made solr look like a school project instead of the powerful tool that it is. The tricked out font or whatever just usually doesn't play well with the business types... they want serious-looking software. First impressions are everything. While

Re: Solr Logo thought

2008-08-05 Thread Lukáš Vlček
Hi, I would like to give it a shot. Are there any solr logo success criteria/requirements? Any hints or suggestions from community is welcomed. Just close your eyes, start dreaming and send my couple of words about what you see... I am all ears. Also I found that the wiki mentions some genesis

RE: Out of memory on Solr sorting

2008-08-05 Thread Fuad Efendi
Best choice for sorting field: sortMissingLast="true" omitNorms="true"> - case-insentitive etc... I might be partially wrong about SOLR LRU Cache but it is used somehow in your specific case... 'filterCache' is probably used for 'tokenized' sorting: it stores (token, DocList)...

RE: Out of memory on Solr sorting

2008-08-05 Thread Fuad Efendi
My understanding of Lucene Sorting is that it will sort by 'tokens' and not by 'full fields'... so that for sorting you need 'full-string' (non-tokenized) field, and to search you need another one tokenized. For instance, use 'string' for sorting, and 'text_ws' for search; and use 'copyFiel

RE: Out of memory on Solr sorting

2008-08-05 Thread sundar shankar
The field is of type "text_ws". Is this not recomended. Should I use text instead? > Date: Tue, 5 Aug 2008 10:58:35 -0700> From: [EMAIL PROTECTED]> To: [EMAIL > PROTECTED]> Subject: RE: Out of memory on Solr sorting> > Hi Sundar,> > > If > increasing LRU cache helps you:> - you are probably

RE: Out of memory on Solr sorting

2008-08-05 Thread Fuad Efendi
Hi Sundar, If increasing LRU cache helps you: - you are probably using 'tokenized' field for sorting (could you confirm please?)... ...you should use 'non-tokenized single-valued non-boolean' for better performance of sorting... Fuad Efendi == http://www.tokenizer.org Quo

RE: Out of memory on Solr sorting

2008-08-05 Thread sundar shankar
Hi all, I seemed to have found the solution to this problem. Apparently, allocating enough virtual memory on the server seems to only solve on half of the problem. Even after allocating 4 gigs of Virtual memory on jboss server, I still did get the Out of memory on sorting. I didn't ho

Re: solr 1.3 ??

2008-08-05 Thread Grant Ingersoll
On Aug 5, 2008, at 11:10 AM, Vicky_Dev wrote: Thanks for response Norberto Problem is that ..we can not use non release version whilst starting new project. I would think that is when you can most live with it, since you aren't close to production yet, but that's your call, not mine.

unique key

2008-08-05 Thread Scott Swan
I currently have multiple documents that i would like to index but i would like to combine two fields to produce the unique key. the documents either have 1 or the other fields so by combining the two fields i will get a unique result. is this possible in the solr schema?

Unlock on startup

2008-08-05 Thread sundar shankar
Hi All, I am having to test solr indexing quite a bit on my local and dev environments. I had the true. But restarting my server still doesn't seem to remove the writelock file. Is there some other configuration that I might have to do get this fixed. My Configurations : Solr

Re: Diagnostic tools

2008-08-05 Thread Yonik Seeley
On Tue, Aug 5, 2008 at 12:43 PM, Kashyap, Raghu <[EMAIL PROTECTED]> wrote: > Are there are tools that are available to view the indexing process? We > have a cron process which posts XML files to the solr index server. > However, we are NOT seeing the documents posted correctly and we are > also NO

Diagnostic tools

2008-08-05 Thread Kashyap, Raghu
Hi, Are there are tools that are available to view the indexing process? We have a cron process which posts XML files to the solr index server. However, we are NOT seeing the documents posted correctly and we are also NOT getting any errors from the client We are using the nightly build of solr j

Re: solr 1.3 ??

2008-08-05 Thread Otis Gospodnetic
Vikrat - yes, Solr 1.3 will be released soon. Please be patient - we are all volunteers here. Thanks. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Vicky_Dev <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Tuesday, August

Re: solr 1.3 ??

2008-08-05 Thread Shalin Shekhar Mangar
Hi Vikrant, I would second Norberto's suggestion to use a nightly for now. Release planning for 1.3 is underway and we are actively working towards that. Hopefully, we should be able to get it out in a month assuming there are no show stoppers, however there is no hard date yet. There's been a lo

Re: solr 1.3 ??

2008-08-05 Thread Vicky_Dev
Thanks for response Norberto Problem is that ..we can not use non release version whilst starting new project. For e.g.: if you use one method which is introduced in DataImportHAndler and later in point in solr 1.3, same method is removed then we have to revise all code. Can we get solr 1.3

Re: dismax bq

2008-08-05 Thread Otis Gospodnetic
Jason, Try boosts less than 1.0 for "negative" boosting. Use &debugQuery=true to see how your query gets parsed and rewritten. Otis --- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Jason Rennie <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.

dismax bq

2008-08-05 Thread Jason Rennie
I'd like to be able to specify query term weights/boosts, which it sounds like bq was created for. I think my understanding from the wiki is a bit rough, so I'm hoping I might be able to get some questions answered here. Any thoughts/comments are much appreciated. I initially tried simply passing

Re: How to make a field mandatory in the schema?

2008-08-05 Thread Koji Sekiguchi
required="true" ? required="true" /> Koji Gudata wrote: Is it possible to make a field for a document mandatory in the solr schema or I must validate my xml against my document xml schema before I post it to SOLR for update?

How to make a field mandatory in the schema?

2008-08-05 Thread Gudata
Is it possible to make a field for a document mandatory in the solr schema or I must validate my xml against my document xml schema before I post it to SOLR for update? -- View this message in context: http://www.nabble.com/How-to-make-a-field-mandatory-in-the-schema--tp18828259p18828259.html Se