Re: snapshot.yyyymmdd ... can't found them?

2008-09-22 Thread sunnyfr
Hello, Yes I did , I've read this document, can you tell me what should I check to be sure ? Does the dataimport.properties should change too ? Because it looks like my dataimport is executed every 5mn but dataimport.properties is not modified. Thanks, Grant Ingersoll-6 wrote: > > Have y

Re: snapshot.yyyymmdd ... can't found them?

2008-09-22 Thread sunnyfr
And I did change my config file : > View this message in context: >> http://www.nabble.com/snapshot.mmdd-...-can%27t-found-them--tp19556507p19556507.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> > > -- > Grant Ingersoll > http://www.luci

Standard analyzer and acronyms

2008-09-22 Thread Luca Molteni
Hello, list. I found some strange results using the standard analyzer. I've put it in both query and index time, but when I use the schema browser to see the commond values for field, i find: spa1558 s.p.a. 833 Which is pretty strange, since I've used the analyzer to remove the dots from the ac

Any way to extract most used keywords from an index (or a random set)

2008-09-22 Thread Jacob Singh
Hi, I'm trying to write a testing suite to gauge the performance of solr searches. To do so, I'd like to be able to find out what keywords will get me search results. Is there anyway to programaticaly do this with luke? I'm trying to figure out what all it exposes, but I'm not seeing this. Any

Re: snappuller / rsync

2008-09-22 Thread sunnyfr
Yes but even if I run it I've no snapshot created, I don't get how I can fixe it. Bill Au wrote: > > You only need to run the rsync daemon on the master. > > Bill > > On Wed, Sep 17, 2008 at 10:54 AM, sunnyfr <[EMAIL PROTECTED]> wrote: > >> >> Hi Raghu, >> >> Thanks it's clear now; >> >> >

Re: Any way to extract most used keywords from an index (or a random set)

2008-09-22 Thread Norberto Meijome
On Mon, 22 Sep 2008 15:46:54 +0530 "Jacob Singh" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to write a testing suite to gauge the performance of solr > searches. To do so, I'd like to be able to find out what keywords > will get me search results. Is there anyway to programaticaly do this

Re: Any way to extract most used keywords from an index (or a random set)

2008-09-22 Thread Otis Gospodnetic
Jacob, take a peek at contrib/miscellaneous/src/java/org/apache/lucene/misc/HighFreqTerms.java This is under Lucene (svn checkout). Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Jacob Singh <[EMAIL PROTECTED]> > To: solr-user@lucene.

Re: Standard analyzer and acronyms

2008-09-22 Thread Otis Gospodnetic
Hi, Are you sure you are not looking at the original field values? (what is the schema browser are you referring to?) Yes, tokenizer + filters are applied in the order they are defined in, so the order is important. For example, you typically want to lower-case tokens before removing stop word

Re: solr's synonyms and stopwords?

2008-09-22 Thread Otis Gospodnetic
Hi, I'm not sure if that will work, but have you tried using a full path to the stopwords file? If that doesn't work, you can always just create symbolic links to a single stopwords file to avoid having duplicate files. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch -

Re: snappuller / rsync

2008-09-22 Thread Bill Au
Try running snapshooter with the "-V" option. That will show debugging info. Bill On Mon, Sep 22, 2008 at 6:49 AM, sunnyfr <[EMAIL PROTECTED]> wrote: > > Yes but even if I run it I've no snapshot created, I don't get how I can > fixe > it. > > > > > Bill Au wrote: > > > > You only need to run t

Re: snappuller / rsync

2008-09-22 Thread sunnyfr
Ok thanks just did it, and it's ok, it runs manually. I just don't get about this files : are they should be created when update on an index or new index ? If yes how come there is several files, is it because the file can't exceed a size? Last question concerning snappuller on the slave's serv

data-import delta

2008-09-22 Thread sunnyfr
Hi, There is something wierd : I've plan cron job every 5mn which heat delta-import's url and works fine : The point is : It does look like if it doesn't check every data for updating or creating a new one : Because every 5mn the delta importa is started again : (even like if delta-import is not d

Re: Any way to extract most used keywords from an index (or a random set)

2008-09-22 Thread Shalin Shekhar Mangar
You can also try the patch at https://issues.apache.org/jira/browse/SOLR-651and see if it helps you. On Mon, Sep 22, 2008 at 3:46 PM, Jacob Singh <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to write a testing suite to gauge the performance of solr > searches. To do so, I'd like to be able to

Questions about Blacklight & Solr

2008-09-22 Thread Julian, Isabelle
Hi, I'm in the process of evaluating Blacklight as an open-source opac. I'm looking for some information. Can someone answer the following questions: - Can it display in multiple languages? - Does it provide ranking? - Does it support linking to OpenURL link resolver? - Do

Re: Questions about Blacklight & Solr

2008-09-22 Thread Shalin Shekhar Mangar
Hi Isabelle, I think you have posted on the wrong mailing list. This list is devoted to Solr. You may be able to find more information at the BlackLight mailing lists. http://blacklight.rubyforge.org/ On Mon, Sep 22, 2008 at 9:19 PM, Julian, Isabelle < [EMAIL PROTECTED]> wrote: > Hi, > > I'm in

Re: snappuller / rsync

2008-09-22 Thread Bill Au
By default snappuller pulls the most recent snapshot. But you can also specify a snapshot by name. All the distribution scripts are documented here: http://wiki.apache.org/solr/SolrCollectionDistributionScripts Bill On Mon, Sep 22, 2008 at 11:28 AM, sunnyfr <[EMAIL PROTECTED]> wrote: > > Ok t

Re: Questions about Blacklight & Solr

2008-09-22 Thread Bess Sadler
Hi, Isabelle. These questions are probably better asked on the blacklight mailing list, which you can join here: https://rubyforge.org/mail/?group_id=5235 In short, though, the answers to all your questions are yes, except for OpenURL. There's no reason it couldn't handle OpenURL, we just

How to use copyfield with dynamicfield?

2008-09-22 Thread Jon Drukman
I have a dynamicField declaration: I want to copy any *_t's into a text field for searching with dismax. As it is, it appears you can't search dynamicfields this way. I tried adding a copyField: I do have a text field in my schema: However I get 400 errors whenever I try to update a

RE: Questions about Blacklight & Solr

2008-09-22 Thread Julian, Isabelle
Hi, Thank you for replying. Will OpenURL be handled with the new release? Is there a list of new and improved features of the new release available somewhere? Thanks. Isabelle -Original Message- From: Bess Sadler [mailto:[EMAIL PROTECTED] Sent: September 22, 2008 12:15 PM To: solr

Re: how to find terms on a page?

2008-09-22 Thread Chris Hostetter
: I haven't heard of or found a way to find the number of times a term : is found on a page. : Lucene uses it in scoring, I believe, (solr scoring: http://tinyurl.com/4tb55r) Assuming by "page" you mean "document" then the "term frequency" (tf) is factored into the score, but at a low enough l

Re: Highlighter throws StringIndexOutOfBoundsException on multivalued fields

2008-09-22 Thread Chris Hostetter
: if I want to highlight a mutivalued field I get the following exception: I don't know much about Highlighting, but when i attempt to highlight a multivalued field using the example schema & docs i don't get an error... http://localhost:8983/solr/select/?q=features:cache&hl=true&hl.fl=features

Re: Multiple Process of the SAME solr instance

2008-09-22 Thread Chris Hostetter
: My problem is, if 1 solr instance process(save) 100 documents one-by-one, it : would not be very effective, I want to create 10 clones : (process/threads/cores) of the same solr instance, so that 10 documents get : processed(saved to solr) simaltaneously. Perhaps i'm completley missunderstandin

dismax - undefined field exception

2008-09-22 Thread Jon Drukman
whenever i try to use qt=dismax i get the following error: Sep 22, 2008 11:50:48 AM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: undefined field cat at org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1053) i don't have

Re: Unable to filter fq param on a dynamic field

2008-09-22 Thread Chris Hostetter
: Now I can query for any of the fixed field types Such as ProductName or : ReviewRating and get the results I expect but when I try to run a filter : query on the dynamic fields in the result, I always end up with no : results being returned. from what i can tell based on this info you provid

Re: dismax - undefined field exception

2008-09-22 Thread Sean Timm
Add echoParams=all to your URL and look for the "cat" field in one of the passed parameters. Specifically, in pf and qf. These can be defaulted in the solrconfig.xml file. -Sean Jon Drukman wrote: whenever i try to use qt=dismax i get the following error: Sep 22, 2008 11:50:48 AM org.apach

Re: dismax - undefined field exception

2008-09-22 Thread Jon Drukman
Sean Timm wrote: Add echoParams=all to your URL and look for the "cat" field in one of the passed parameters. Specifically, in pf and qf. These can be defaulted in the solrconfig.xml file. i tried that but the exception prevents solr from returning anything. but i did look in solrconfig.xml

Re: AW: Date field mystery

2008-09-22 Thread Chris Hostetter
: - "date:[2005-01-01T00:00:00Z TO NOW]" or "date:[2005-01-01T00:00:00Z TO 2008-09-18T09:45:00Z]": 1 and 2 (incorrect) : - "date:[2005-01-01T00:00:00Z TO 20080918T09:45:00Z]": 1, 2, 3 (correct) : - "date:[2005-01-01T00:00:00Z TO 2007-12-31T23:59:59Z]": only 1 (incorrect) : - "date:[2005-01-01T00:

Re: data-import runned by cron job withou wating the end of the previous one

2008-09-22 Thread Shalin Shekhar Mangar
On Mon, Sep 22, 2008 at 9:19 PM, sunnyfr <[EMAIL PROTECTED]> wrote: > > Hi, > There is something wierd : > I've plan cron job every 5mn which heat delta-import's url and works fine : > The point is : It does look like if it doesn't check every data for > updating > or creating a new one : > Becaus

Re: recip(myfield,m,a,b)

2008-09-22 Thread Chris Hostetter
: I don't think it can works at the index time, because I when somebody look : for a book I want to boost the search in relation with the user language : ...so I don"t think it can works, except if I didn't get it. Hmmm... i clearly missunderstod what you were asking, you made it sound like you

Re: how to find terms on a page?

2008-09-22 Thread Gene Campbell
That's excellent. Thanks for the reply. gene On Tue, Sep 23, 2008 at 6:39 AM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : I haven't heard of or found a way to find the number of times a term > : is found on a page. > : Lucene uses it in scoring, I believe, (solr scoring: > http://tinyurl

Solr 1.3 does not recognize Solr home...

2008-09-22 Thread William Pierce
Folks: I have an odd situation that I am hoping someone can shed light on. I have a solr apps running under tomcat 6.0.14 (on a windows xp sp3 machine). The app is declared in the tomcat config file as follows: In file "merchant.xml" for the "merchant" app: I have of course created the

Re: snapshot.yyyymmdd ... can't found them?

2008-09-22 Thread Chris Hostetter
: And I did change my config file : : :

RE: Searching for future or "null" dates

2008-09-22 Thread Chris Hostetter
: Here is what I was able to get working with your help. : : (productId:(102685804)) AND liveDate:[* TO NOW] AND ((endDate:[NOW TO *]) OR : ((*:* -endDate:[* TO *]))) : : the *:* is what I was missing. Please, PLEASE ... do yourself a favor and stop using "AND" and "OR" ... food will taste be

Precision issue with sum() function

2008-09-22 Thread water4u99
Hi, I have indexed a dynamic field in the as: 28.00. It is visible in my query. However, when I issue a query with a function: ... _val_:"sum(stockPrice_f, 10.00)"&fl=*,score I received the output of: 36.41818 There were no other computations. Can any one help on why the answer is off. Thank y

Re: error when post xml data to solr

2008-09-22 Thread Chris Hostetter
: thanks for your reply : : the content of xml file is chinese My mail reader wasn't able to display the chinese characters in your XML example, but the stack trace you posted doesn't seem to indicate any problem with characters in the field value (did you try posting a simple file with only

Re: How to keep a slave offline until the index is puller from master

2008-09-22 Thread Chris Hostetter
: Thanks for the response. I was actually talking about the initial : sync over from the master. what I'd like I guess is a "lock" command : which would start true, and when snapinstaller ran successfully for : the first time would become false. I can write the bash, but I'm not : sure how to g

Re: error when post xml data to solr

2008-09-22 Thread 李学健
thank you chris hostetter, in fact, if i use post.sh script to post xml data to solr, the error will happen; however, i switch to post.jar, everything is ok. i'm confused why post.sh doesn't work Chris Hostetter 写道: : thanks for your reply : : the content of xml file is chinese My mail r

RE: Hardware config for SOLR

2008-09-22 Thread Andrey Shulinskiy
Otis, Thanks for the responses; you've nailed it down mostly. Please see my thoughts below. > > One more question - is it worth it to try to keep the whole index in > > memory and shard when it doesn't fit anymore? For me it seems like a bit > > of overhead, but I may be very wrong here. > > What

Re: Solr 1.3 does not recognize Solr home...

2008-09-22 Thread Ryan McKinley
I have temporarily solved the problem by hardcoding the folders in the element like so: C:\tomcatweb\merchant\data (in the solrconfig.xml) Any ideas of what I am doing wrong? Is it solr home or or the data directory that is getting set wrong? I *think* the difference is that with 1.2,

error when indexing null value of slong fied

2008-09-22 Thread 李学健
hi, all a field schema as this: when i indexed a doc with null value of this field, an error happened: SEVERE: org.apache.solr.common.SolrException: Error while creating field 'pubdate{type=slong,properties=indexed,stored,omitNorms,sortMissingLast}' from value '' and slong type defined as belo

Re: deleting record from the index using deleteByQuery method

2008-09-22 Thread Chris Hostetter
: I am trying to delete a record from the index using SolrJ. When I : execute it I get a status of 0 which means success. I see that the : "cummulative_deletbyquery" count increases by 1 and also the "commit" : count increases by one. I don't see any decrease on the "numDocs" count. : When I quer

Solr Using

2008-09-22 Thread Dinesh Gupta
Hi All, I am new to Solr. I am using Lucene last 2 years. We create Lucene indexes for database. Please help to migrate to Solr. How can achieve this. If any one have idea, please help. Thanks In Advance. Regards, Dinesh Gupta _

Re: Solr Using

2008-09-22 Thread Otis Gospodnetic
Dinesh, Please have a look at the Solr tutorial first. Then have a look at the new DataImportHandler - there is a very detailed page about it on the Wiki. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Dinesh Gupta <[EMAIL PROTECTED]> >

RE: Searching for future or "null" dates

2008-09-22 Thread Chris Maxwell
Thanks I'll try it out. hossman wrote: > > > : Here is what I was able to get working with your help. > : > : (productId:(102685804)) AND liveDate:[* TO NOW] AND ((endDate:[NOW TO > *]) OR > : ((*:* -endDate:[* TO *]))) > : > : the *:* is what I was missing. > > Please, PLEASE ... do yourse