Commit after how many updates?

2007-03-12 Thread Maximilian Hütter
Hi, I have a question regarding Solr's behaviour, in the standard installation. When use the start.jar with a rather complex schema and I do about 1000 updates and then try to commit, I get this: java.lang.OutOfMemoryError: Java heap space I know I can fix it by giving the VM a larger heap size

Date range boost

2007-03-12 Thread stefano nicolai
Hi all, I'm using Solr to search inside a catalogue of many items (around 3 million). All of these items have a field containing the date they were created (it's a string field at the moment, as i have this type inside my DB). I want to give a higher score to the ones with the most recent date,

Re: Date range boost

2007-03-12 Thread Bertrand Delacretaz
On 3/12/07, stefano nicolai <[EMAIL PROTECTED]> wrote: ...All of these items have a field containing the date they were created (it's a string field at the moment, as i have this type inside my DB). I want to give a higher score to the ones with the most recent date... You should be able to u

Re: Commit after how many updates?

2007-03-12 Thread Mike Klaas
On 3/12/07, Maximilian Hütter <[EMAIL PROTECTED]> wrote: Hi, I have a question regarding Solr's behaviour, in the standard installation. When use the start.jar with a rather complex schema and I do about 1000 updates and then try to commit, I get this: java.lang.OutOfMemoryError: Java heap spac

Re: Date range boost

2007-03-12 Thread Stefano Nicolai
Bertrand Delacretaz wrote: On 3/12/07, stefano nicolai <[EMAIL PROTECTED]> wrote: ...All of these items have a field containing the date they were created (it's a string field at the moment, as i have this type inside my DB). I want to give a higher score to the ones with the most recent date.

Re: Date range boost

2007-03-12 Thread Chris Hostetter
: I'm just wondering if this way may boost the date field too much : compared to the other fields? either way you can tweak the affects of the affects on teh score with boosts ... but i suspect you'll find the FunctionQuery approach a lot easier to deal with. -Hoss

Re: Question About Boosting.

2007-03-12 Thread Chris Hostetter
: I have elements within a field that have different importance. : I thought boosting would be an elegant way to take this into account. : Please advise, typically if you know when sending hte doc to solr that certian words/phrases of field A are extremely significant for that document, the simpl

Re: Question About Boosting.

2007-03-12 Thread shai deljo
I thought about this option but it doesn't sound scalable. What happens if i have 100 words with 100 different boost factors? On 3/12/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : I have elements within a field that have different importance. : I thought boosting would be an elegant way to t

how can I use dll to analyze

2007-03-12 Thread James liu
This problem not about solr, but i think maybe someone know how to resolve. i have some.dll jni_some.dll, some_analyzer_func.jar whick used to anlyze. I try it in cmd and it ok. now i wanna use it with solr so i have to use java call these dll files. I use tomcat 6, java 1.5_11, in winxp,,,jar

Re: Question About Boosting.

2007-03-12 Thread Chris Hostetter
: I thought about this option but it doesn't sound scalable. What : happens if i have 100 words with 100 different boost factors? then you've got a problem :) typically it's not this severe ... i'll frequently have half a dozen fields that i divide text up into to boost on different amounts, but

Re: how can I use dll to analyze

2007-03-12 Thread Chris Hostetter
: i have some.dll jni_some.dll, some_analyzer_func.jar whick used to anlyze. I : try it in cmd and it ok. : : now i wanna use it with solr so i have to use java call these dll files. : : I use tomcat 6, java 1.5_11, in winxp,,,jar files all set in tomcat's lib : directory. dll all set in sytem32 d

Re: Question About Boosting.

2007-03-12 Thread shai deljo
Buckets it is :) Thx On 3/12/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : I thought about this option but it doesn't sound scalable. What : happens if i have 100 words with 100 different boost factors? then you've got a problem :) typically it's not this severe ... i'll frequently have ha

Re: how can I use dll to analyze

2007-03-12 Thread James liu
I can use it with jspjust use bean. how can i use it with solr? i think solr use jsp to index, search... 2007/3/13, Chris Hostetter <[EMAIL PROTECTED]>: : i have some.dll jni_some.dll, some_analyzer_func.jar whick used to anlyze. I : try it in cmd and it ok. : : now i wanna use it with

Re: how can I use dll to analyze

2007-03-12 Thread Ryan McKinley
does your "use bean" jsp example work if you dump it into the exploded solr.war directory? (solr does not rely on jsp - it is only used for the admin interface.) On 3/12/07, James liu <[EMAIL PROTECTED]> wrote: I can use it with jspjust use bean. how can i use it with solr? i think solr