Re: Defining DataDir in Multi-Core

2009-05-19 Thread RaghavPrabhu
Hi Vivek, Have you figure out the problem of creating the data dir in wrong location? For me its working... Just comment the data dir (in solrconfig.xml file) and create the core via REST call. It should work!!! Thanks & regards Prabhu.K vivek sar wrote: > > Hi, > > I tried t

Re: Defining DataDir in Multi-Core

2009-05-19 Thread vivek sar
Yeah, it was sometime back - it did work. Thanks for following up. On Tue, May 19, 2009 at 12:34 AM, RaghavPrabhu wrote: > > Hi Vivek, > >  Have you figure out the problem of creating the data dir in wrong > location? > >  For me its working... > >   Just comment the data dir (in solrconfig.xml f

RE: How to gather fields when faceting results ?

2009-05-19 Thread Pierre-Yves LANDRON
Yes, it's not a bad idea, and I will use this sort of trick as a last resort, but I would rather use something more "proper"... Thanks, P-Yves > Date: Mon, 18 May 2009 21:33:03 +0530 > Subject: Re: How to gather fields when faceting results ? > From: avl...@gmail.com > To: solr-user@lucene.apa

Re: How to gather fields when faceting results ?

2009-05-19 Thread Avlesh Singh
I doubt that there is something really "proper" to address your requirement. Cheers Avlesh On Tue, May 19, 2009 at 1:20 PM, Pierre-Yves LANDRON wrote: > > > Yes, it's not a bad idea, and I will use this sort of trick as a last > resort, but I would rather use something more "proper"... > > Thank

What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
Hi All, Finally I made the multicore thing running by copying the core0 and core1 directory to $solr.home and putting a solr.xml file under the same directory. A bit relieved ! I would like to do on-the-fly registration of core[I've provision to add unique corenames everytime I register a new one]

Re: Defining DataDir in Multi-Core

2009-05-19 Thread RaghavPrabhu
Hi, Thanks for replying me.. Do you have any idea about to split the index in to different cores? If so, kindly let me know please.. Thanks & regards Prabhu.K vivek sar wrote: > > Yeah, it was sometime back - it did work. Thanks for following up. > > On Tue, May 19, 2009 at 12:34 AM

Re: Defining DataDir in Multi-Core

2009-05-19 Thread KK
I could not follow[is this mail a continuation of some old mail, a part of which seems to be missing], but I want to. Is it the case that CREATE is to be supported by solr1.4 i.e currently solr1.3 doesnot support this? Correct me if I'm wrong . Vivek could you please tell me how did you fix the pr

Re: Query with AND|OR operator with Dismaxrequest

2009-05-19 Thread dabboo
Hi, Thanks for the information. I would appreciate if somebody can share the URL of the JIRA issue. Otis Gospodnetic wrote: > > > Prerna, > > Yes, DisMax doesn't take in queries with Boolean operators. But I believe > there is a patch in JIRA that makes that possible. > > Otis > -- > Semate

small facets not working

2009-05-19 Thread Justin
I have a solr index which contains research data from the human genome project. Each document contains about 60 facets, including one general composite field that contains all the facet data. the general facet is anywhere from 100KB to 7MB. One facet is called Gene.Symbol and, you guessed it, i

Re: UK Solr users meeting?

2009-05-19 Thread Tim Sell
+1, would love to attend. I'm in London. 2009/5/18 hbi dev > +1 vote here. We are based in London. > Regards > Waseem > > On Mon, May 18, 2009 at 11:42 AM, Toby Cole > wrote: > > > I know of a few people who'd be interested, we've got quite a few > projects > > using Solr down here in Brighton.

Re: Defining DataDir in Multi-Core

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Tue, May 19, 2009 at 2:32 PM, KK wrote: > I could not follow[is this mail a continuation of some old mail, a part of > which seems to be missing], but I want to. > Is it the case that CREATE is to be supported by solr1.4 i.e currently > solr1.3 doesnot support this? Correct me if I'm wrong . CR

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Tue, May 19, 2009 at 2:08 PM, KK wrote: > Hi All, > Finally I made the multicore thing running by copying the core0 and core1 > directory to $solr.home and putting a solr.xml file under the same > directory. A bit relieved ! > I would like to do on-the-fly registration of core[I've provision to

Re: UK Solr users meeting?

2009-05-19 Thread Richard Marr
I've started organising an open source search social in London. I've advertised on the Lucene mailing lists in the past, but obviously Solr users are more than welcome too. I'll send another email when I've got specifics of the next meetup. It'll probably be two or three weeks from now. Rich 20

Splitting the index

2009-05-19 Thread RaghavPrabhu
Hi all, Do you have any idea about to split the index in to different data directory? If so, kindly let me know please.. Thanks & regards Prabhu.K -- View this message in context: http://www.nabble.com/Splitting-the-index-tp23613882p23613882.html Sent from the Solr - User mailing list archive

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
Thanks Paul. But I'm a bit confused. I've some questions. # As you said I should have a base core instance directory containing the conf directory, solrconfig.xml and schema.xml. Are you Before continuing further I would like to know that the schema and solrconfig files placed under the example c

Re: small facets not working

2009-05-19 Thread Grant Ingersoll
On May 19, 2009, at 5:50 AM, Justin wrote: I have a solr index which contains research data from the human genome project. Each document contains about 60 facets, including one general composite field that contains all the facet data. the general facet is anywhere from 100KB to 7MB. On

Solr Cache Usage

2009-05-19 Thread revas
Hi, We are running several webapps under a single container roughly about 40 -50 .All have similar schema .Under this circumstance , how would i calculate the cache memory allocation?The number of documents per webapps is roughly abt 1000 currently but like ly to increase in future. Would it mak

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
forget about the default setup that comes w/ the example. say you have the following structure /data/solr/home/ solr.xml conf/ schema.xml solrconfig.xml data/

Re: Splitting the index

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
splitting the same index ? I don't think it is possible what is the use case? On Tue, May 19, 2009 at 4:24 PM, RaghavPrabhu wrote: > > Hi all, > > Do you have any idea about to split the index in to different data > directory? If so, kindly let me know please.. > > Thanks & regards > Prabhu.K >

Compund file format

2009-05-19 Thread revas
What is the draw back in using compunf file format for indexing when we have several webapps in a sinle container Regards Sujatha

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
Thank you very much Paul. The pictorial explanation was very helpful, made everything clear. Thank you again. AFAIU, I can put my existing schema.xml and solrconfig.xml under conf/. I assume you also meant passing the paths to common schema and solrconfig.xml when registering a new core? My earlier

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Tue, May 19, 2009 at 5:32 PM, KK wrote: > Thank you very much Paul. The pictorial explanation was very helpful, made > everything clear. Thank you again. > AFAIU, I can put my existing schema.xml and solrconfig.xml under conf/. I > assume you also meant passing the paths to common schema and so

Re: French and SpellingQueryConverter

2009-05-19 Thread Michael Ludwig
Shalin Shekhar Mangar schrieb: On Mon, May 11, 2009 at 2:46 PM, Michael Ludwig wrote: Could you give an example of how the spellcheck.q parameter can be brought into play to (take non-ASCII characters into account, so that "Käse" isn't mishandled) given the following example: You will need t

Re: French and SpellingQueryConverter

2009-05-19 Thread Jonathan Mamou
Thanks Michael for your answer! I think that (?:(?!(\w+:|\d+)))[\p{L}]+ should also be OK. Jonathan Michael Ludwig

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
Thanks a lot @Paul. A did as you said and added an entry in solrconfig.xml for data directory. But when I tried to register an new core it gave me the following error. It seems its not able to pick the core name from ${solr.core.name} [even tried what you mentioned in your last mail, ${core.name} b

Re: French and SpellingQueryConverter

2009-05-19 Thread Michael Ludwig
Jonathan Mamou schrieb: Thanks Michael for your answer! I think that (?:(?!(\w+:|\d+)))[\p{L}]+ should also be OK. Oh yes, that's much simpler and clearer than my suggestion. (Newbieness factor for Java style regular expressions, too.) Or maybe this:(?:(?!(\w+:|\d+)))[\p{L}\d_]+:-) Mi

Search in all the fields q=(*:test)

2009-05-19 Thread Radha C.
Hello List, I need to search a value in all the fields. I am using q=(*:test) . But it retrives zero results. Can anyone tell me the above syntax is correct or not? Thanks in advance.

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
I'm using Solr1.3. I installed it two weeks ago. Current version is 1.3, I guess? Where to get 1.4 Do I've to use solr1.4 dev[is it available for public use?] or any patch to fix the bug? Thanks, KK. 2009/5/19 Noble Paul നോബിള്‍ नोब्ळ् > which build are you using ? I guess Solr1.3 had a problem

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
That jira mentions a patch. That will fix the bug, right?. How do I apply the patch? Thanks, KK> On Tue, May 19, 2009 at 7:52 PM, KK wrote: > I'm using Solr1.3. I installed it two weeks ago. Current version is 1.3, I > guess? Where to get 1.4 > Do I've to use solr1.4 dev[is it available for pu

Re: Search in all the fields q=(*:test)

2009-05-19 Thread Andrey Klochkov
I suppose that when you use "*" as field name, Solr search in default search field as long as Lucene doesn't support searching through several fields as far as I know. Read here: http://wiki.apache.org/solr/SchemaXml#head-b80c539a0a01eef8034c3776e49e8fe1c064f496 On Tue, May 19, 2009 at 5:46 PM, R

RE: Search in all the fields q=(*:test)

2009-05-19 Thread Radha C.
Thanks, you are correct. _ From: Andrey Klochkov [mailto:akloch...@griddynamics.com] Sent: Tuesday, May 19, 2009 8:00 PM To: solr-user@lucene.apache.org; cra...@ceiindia.com Subject: Re: Search in all the fields q=(*:test) I suppose that when you use "*" as field name, Solr searc

How to retrieve all available Cores in a "static way" ?

2009-05-19 Thread Giovanni De Stefano
Hello all, I have a quick question but I cannot find a quick answer :-) I have a Java client running on the same JVM where Solr is running. The Solr I have is a multicore. How can I retrieve from the Java client the different cores available? I tried with: ... CoreContainer container = new Co

How to change the weight of the fields ?

2009-05-19 Thread Vincent Pérès
Hello, I'm stuck my the boost feature... I'm doing the following query : http://localhost:8983/solr/select/?q=novel&bf=title_s^5.0&fl=title_s+isbn_s&version=2.2&start=0&rows=5&indent=on&debugQuery=on Below a part of my debug (the results are correct) : novel novel text:novel text:novel − −

Re: EventListeners of DIM

2009-05-19 Thread msmall
I've seen the documentation that references the EventListener interface (DataImportHandler section of WIKI), but in the latest apache-solr-dataimporthandler-1.3.0.jar, there is no org.apache.solr.handler.dataimport.EventListener interface. Where is this interface and do I need to event implement

Re: Compund file format

2009-05-19 Thread Otis Gospodnetic
The main drawback is about 10% performance hit (independent of how many webapps you have running in a servlet container) Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: revas > To: solr-user@lucene.apache.org > Sent: Tuesday, May 19, 200

Re: Seattle / PNW Hadoop + Lucene User Group?

2009-05-19 Thread Bradford Stephens
Hello everyone! We (finally) have space secured (it's a tough task!): University of Washington, Allen Center Room 303, at 6:45pm on Wednesday, May 27, 2009. I'm going to put together a map, and a wiki so we can collab. What I'm envisioning is a meetup for about 2 hours: we'll have two in-depth tal

Solr statistics of top searches and results returned

2009-05-19 Thread solrpowr
Hi, Besides my own offline processing via logs, does solr have the functionality to give me statistics such as top searches, how many results were returned on these searches, and/or how long it took to get these results on average. Thanks, Bob -- View this message in context: http://www.nabbl

Re: CommonsHttpSolrServer vs EmbeddedSolrServer

2009-05-19 Thread sachin78
Thank You Eric,Ryan and Otis for making me understand the difference.Now i got a clear picture of which server implementation to use for what. --Sachin Otis Gospodnetic wrote: > > > Sachin, > > > EmbeddedSolrServer implies an embedded, local, in-process access to Solr. > CommonsHttpSolrServ

Multicore Solr not returning expects results from search

2009-05-19 Thread KennyN
I have a two core multicore setup which currently has identical indices (just for testing, they will have different data when i deploy the system). I based this off the example, so core0 and core1. I have customized the scheme.xml and solrconfig.xml files(core0 and core1 are identical except that

Re: Multicore Solr not returning expects results from search

2009-05-19 Thread Mark Miller
Do you have unique ids across shards? -- - Mark http://www.lucidimagination.com KennyN wrote: I have a two core multicore setup which currently has identical indices (just for testing, they will have different data when i deploy the system). I based this off the example, so core0 and core1. I

query with string search and ranges

2009-05-19 Thread darniz
Hi All i am having a query being constructed at runtime. For example from freemarker i am getting a string like vehicleType:Sedan+features:mast antenna+msrp:[1 TO 2]. When i make a solrJ call i have to manually check the data type of the field. For text search i have to append double quote

Re: Multicore Solr not returning expects results from search

2009-05-19 Thread KennyN
Not in this case. I literally copied the same index to the two shards, in my non-test environment they will be unique however. If that is the issue, wouldn't it lead to the number of results always being 793 in that case? 379 is less than either of the indices contain. markrmiller wrote: > > D

Re: Indexing issue in DIH - not all records are Indexed

2009-05-19 Thread jayakeerthi s
I changed the UniqueKey and it worked fine.thank you very much Nobel 2009/5/18 Noble Paul നോബിള്‍ नोब्ळ् > the problem is that your uniquekey may not be unique > > just remove the entry altogether > > On Mon, May 18, 2009 at 10:53 PM, jayakeerthi s > wrote: > > Hi Noble, > > Many thanks for

Re: EventListeners of DIM

2009-05-19 Thread Koji Sekiguchi
msmall wrote: I've seen the documentation that references the EventListener interface (DataImportHandler section of WIKI), but in the latest apache-solr-dataimporthandler-1.3.0.jar, there is no org.apache.solr.handler.dataimport.EventListener interface. Where is this interface and do I need to e

Re: How to change the weight of the fields ?

2009-05-19 Thread Koji Sekiguchi
Vincent, You need to add defType=dismax when using bf parameter. Please see: http://wiki.apache.org/solr/DisMaxRequestHandler Koji Vincent Pérès wrote: Hello, I'm stuck my the boost feature... I'm doing the following query : http://localhost:8983/solr/select/?q=novel&bf=title_s^5.0&fl=titl

Plugin Not Found

2009-05-19 Thread Jeff Newburn
I am trying to get a custom plugin to work properly. When I put the jar into the unpacked webapp directory for solr it works fine but when I put it in the lib directory in the solr home nothing works. Is there something missing besides just dropping it into the directory? Works: {solr.home}/tomc

Re: Defining DataDir in Multi-Core

2009-05-19 Thread vivek sar
As per splitting the index, I simply start a new core once a core reaches a certain size - using CREATE and then start writing to that new core. Note that Solr will maintain all the cores defined in the solr.xml. As per reusing the same schema and solrconfig.xml - you can create a default core (sa

Re: query with string search and ranges

2009-05-19 Thread Avlesh Singh
> > Is there any easy way of doing the query with out any changes, or i can use > any inbuilt solr feature which is smart enough to do full text search and i > dont have to exclusively give the double quotes. > >From the query I can make out that you always want to do a phrase* *query. You have to

Re: I have bad performance when using elevate.xml

2009-05-19 Thread ant
This is my elevate.xml.about 34 nodes, and each of them about two or three nodes. Perhaps the bad performance because of the small memory? solrconfig.xml ... ... 1024 true 20 200 .. . - elevat

Re: I have bad performance when using elevate.xml

2009-05-19 Thread Yonik Seeley
2009/5/19 ant : > This is my elevate.xml.about 34 nodes, and each of them about two or > three nodes. > Perhaps the bad performance because of  the small  memory? OK, I see... the elevation component maintains a FieldCache entry for "id", to translate docid to uniqueKey to do a HashMap lookup.

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
I'm downloading the nightly build (19thMay09, why is the size so huge ~128 MB whereas the normal gz one is ~21 MB). I think I just have to replace the solr.war file with the nightly one, under tomcat and my rest of the config files in $solr.home will remain same. Correct me if I'm wrong. Nightly bu

Re: Splitting the index

2009-05-19 Thread RaghavPrabhu
Hi, Thanks for your response buddy... We are indexing the mail journals (Archive mails) of about 5000 employees in a weekly basis. We don't want to use multicore option. How can i implement Shards in our mail journal system. Thanks & regards Prabhu.K Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: > >

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
The dowload is big because it contains a lot of things (read contribs) which you may not need. You can just take the solr.war from that. everything else remains same. All the conf files should be completely backward compatible. all resolved issues will be available in the nightly On Wed, May 20

Re: EventListeners of DIM

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Fri, Apr 17, 2009 at 7:38 PM, Marc Sturlese wrote: > > Hey there, > I have seen the new feature of EventListeners of DIH in trunk. > > > > > > > > These events are called at the begining and end of the whole indexing > process or at the begining and end of indexing just a document. > M

Re: Plugin Not Found

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
what is the error message you see when you start Solr? On Wed, May 20, 2009 at 4:44 AM, Jeff Newburn wrote: > I am trying to get a custom plugin to work properly.  When I put the jar > into the unpacked webapp directory for solr it works fine but when I put it > in the lib directory in the solr h

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
Thank you. Let me try the nightly build then I'll let you know. Thanks, KK. 2009/5/20 Noble Paul നോബിള്‍ नोब्ळ् > The dowload is big because it contains a lot of things (read contribs) > which you may not need. You can just take the solr.war from that. > > everything else remains same. All the

Re: Splitting the index

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
if you wish to index each users mail in one index it should be possible to split the index. As long as you know the user-id and index name you may just hit that solr or the core On Wed, May 20, 2009 at 10:40 AM, RaghavPrabhu wrote: > > Hi, > > Thanks for your response buddy... > >  We are indexin

Issue with AND/OR Operator in Dismax Request

2009-05-19 Thread dabboo
Hi, I am not getting correct results with a Query which has multiple AND | OR operator. Query Format q=((A AND B) OR (C OR D) OR E) ?q=((intAgeFrom_product_i:[0+TO+3]+AND+intAgeTo_product_i:[3+TO+*])+OR+(intAgeFrom_product_i:[0+TO+3]+AND+intAgeTo_product_i:[0+TO+3])+OR+(ageFrom_product_s:Adu

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
I downloaded the nightly build and deployed the dist/solr-nightly-build.war in tomcat with all other config same @solr.home. Trying to create a new core gave me the same error. Do I still need to apply the patch you mentioned earlier. I'm stuck, please help me out. I used this to create a new core,

Help needed on DataImportHandler to index xml files

2009-05-19 Thread Jianbin Dai
Hi All, I am new here. Thanks for reading my question. I want to use DataImportHandler to index my tons of xml files (7GB total) stored in my local disk. My data-config.xml is attached below. It works fine with one file (abc.xml), but how can I index all xml files at one time? Thanks!

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
Please do so ASAP. I'm stuck just becaue of that. If not then I might have to move to lucene. I guess lucene has support for on the fly creation of new indexes. Any idea on this? Thanks, KK. 2009/5/20 Noble Paul നോബിള്‍ नोब्ळ् > hi KK, > the fix got removed in a subsequent refactoring I guess.

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
I downloaded the nightly build . How do I get the trunk and where to get it from? I've never used trunks earlier . Please help me out. Tell me the detailed steps for all this. Thanks, KK. 2009/5/20 Noble Paul നോബിള്‍ नोब्ळ् > if you are using a trunk version you can still use the dataDir > attr

query clause and filter query

2009-05-19 Thread Ashish P
what is the difference between query clause and filter query?? Thanks, Ashish -- View this message in context: http://www.nabble.com/query-clause-and-filter-query-tp23629715p23629715.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Help needed on DataImportHandler to index xml files

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
there is an example given for the same http://wiki.apache.org/solr/DataImportHandler#head-8edbc7e588d97068aa0a61ed2e3e8e61b43debce On Wed, May 20, 2009 at 11:35 AM, Jianbin Dai wrote: > > Hi All, > I am new here. Thanks for reading my question. > I want to use DataImportHandler to index my ton

Re: Solr statistics of top searches and results returned

2009-05-19 Thread Shalin Shekhar Mangar
On Tue, May 19, 2009 at 11:50 PM, solrpowr wrote: > > Besides my own offline processing via logs, does solr have the > functionality > to give me statistics such as top searches, how many results were returned > on these searches, and/or how long it took to get these results on average. > > You c

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread KK
Do I've to check out this http://svn.apache.org/repos/asf/lucene/solr/trunk/ using this command svn checkout http://svn.apache.org/repos/asf/lucene/solr/trunk/ ??? not much idea about svn chekout from public repo. give me some specific pointers on this. and then fire ant to build a fresh solr? Wil