Re: Boosting by date when only some records have one

2008-12-17 Thread Robert Krüger
Hi Lance, thanks for your feedback! The problem with your suggestion is that we do not want to exclude the fields without a date but boost them differently, which Chris has provided a solution for (see other posts in this thread). Cheers, Robert Norskog, Lance wrote: This query:

Re: setting a log file per core with slf4

2008-12-17 Thread Marc Sturlese
I am thinking in doing a hack to specify the log path of the solr cores in solr.xml. Would like to do something like: cores adminPath=/admin/cores core name=core_name instanceDir=core_dir configName=solrconfig.xml schemaName=schema.xml logPath=log_file_path property

Re: setting a log file per core with slf4

2008-12-17 Thread Erik Hatcher
Can't we log with the core as part of the context of the logger, rather than just the classname? This would give you core logging granularity just by config, rather than scraping. Yes? Erik On Dec 17, 2008, at 9:47 AM, Ryan McKinley wrote: As is, the log classes are statically

Re: umlaut index ö == o == oe Possible?

2008-12-17 Thread Paul Borgermans
The IsoLatin1 Filter doe smost of this, œ, ö are both converted to o hth Paul On Wed, Dec 17, 2008 at 1:27 AM, Stephen Weiss swe...@stylesight.comwrote: I believe the german porter stemmer should handle this. I haven't used it with SOLR but I've used it with other projects, and basically,

Precisions on solr.xml about cross context forwarding.

2008-12-17 Thread Jérôme Etévé
Hi all, In solr.xml ( /lucene/solr/trunk/src/webapp/web/WEB-INF/web.xml ),it's written that It is unnecessary, and potentially problematic, to have the SolrDispatchFilter configured to also filter on forwards. Do not configure this dispatcher as dispatcherFORWARD/dispatcher. The

setting a log file per core with slf4

2008-12-17 Thread Marc Sturlese
Hey there, My original app (before getting into Solr) use to have 3 index in the same web app. I used log4j with a log file per index. Now in Solr I have different cores and I am trying to set a log file per core via slf4 but don't know how to do it. As I understood this thread:

Re: setting a log file per core with slf4

2008-12-17 Thread Ryan McKinley
at the root of the issue is that logging uses a static logger: static Logger log = LoggerFactory.getLogger(SolrCore.class); i don't know of any minimally invasive way to get get around this... On Dec 17, 2008, at 10:22 AM, Marc Sturlese wrote: I am thinking in doing a hack to specify the

Re: setting a log file per core with slf4

2008-12-17 Thread Ryan McKinley
I'm not sure I understand... are you suggesting that rather then configuring our logger like this: static Logger log = LoggerFactory.getLogger(SolrCore.class); We get the Logger everytime we use it with something like: Logger log = LoggerFactory.getLogger(classname+:+core.getName() ); That

Re: Nightly build - 2008-12-17.tgz - build error - java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main

2008-12-17 Thread Kay Kay
Thanks Toby. Aliter: Under contrib/javascript/build.xml - dist target - I removed the dependency on 'docs' , to circumvent the problem. But may be - it would be great to get js.jar from the rhino library distributed ( if not for license contradictions) to circumvent this. Toby Cole wrote:

correct use of copyFields in schema.xml

2008-12-17 Thread Fergus McMenemie
Hello all, Reviewing the various examples that comes with Solr I cant make up mind wether the copyFields element should be nested within the fields element or not. The http://wiki.apache.org/solr/SchemaXml documentation makes it clear it should be outside, yet a number of examples have it nested.

Re: setting a log file per core with slf4

2008-12-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, Dec 17, 2008 at 10:54 PM, Ryan McKinley ryan...@gmail.com wrote: I'm not sure I understand... are you suggesting that rather then configuring our logger like this: static Logger log = LoggerFactory.getLogger(SolrCore.class); We get the Logger everytime we use it with something like:

Re: Precisions on solr.xml about cross context forwarding.

2008-12-17 Thread Jérôme Etévé
I was thinking, maybe we should write a patch to fix this issue. For instance by making a dispatch servlet (with a core parameter or request attribute) that would act the same way as the filter but provide a cross context addressable entry point. What do you think ? Jerome On Wed, Dec 17, 2008

Re: setting a log file per core with slf4

2008-12-17 Thread Erik Hatcher
On Dec 17, 2008, at 12:24 PM, Ryan McKinley wrote: I'm not sure I understand... are you suggesting that rather then configuring our logger like this: static Logger log = LoggerFactory.getLogger(SolrCore.class); We get the Logger everytime we use it with something like: Logger log =

Get All terms from all documents

2008-12-17 Thread roberto
Hello, I need to get all terms from all documents to be placed in my interface almost like the facets, how can i do it? thanks -- Without love, we are birds with broken wings. Morrie

Re: setting a log file per core with slf4

2008-12-17 Thread Smiley, David W.
I propose that MDC or NDC be used instead. I prefer MDC. I've written some server-side multi-threaded code where each Thread would run a job and I wanted the job name in the logs. http://www.slf4j.org/api/org/slf4j/MDC.html At some early point when Solr receives a request, you simply store a

Re: Exception running Solr in Weblogic

2008-12-17 Thread Alexander Ramos Jardim
Thank you, But that's a WebSphere reference. Not a Weblogic one. 2008/12/11 Otis Gospodnetic otis_gospodne...@yahoo.com http://wiki.apache.org/solr/SolrWebSphere Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Alexander Ramos Jardim

looking for multilanguage indexing best practice/hint

2008-12-17 Thread Julian Davchev
Hi, From my study on solr and lucene so far it seems that I will use single scheme.at least don't see scenario where I'd need more than that. So question is how do I approach multilanguage indexing and multilang searching. Will it really make sense for just searching word..or rather I should

Re: Nightly build - 2008-12-17.tgz - build error - java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main

2008-12-17 Thread Matthew Runo
I'm using Java 6 and it's compiling for me. I'm doing.. ant clean ant dist and it works just fine. Maybe try an 'ant clean'? Thanks for your time! Matthew Runo Software Engineer, Zappos.com mr...@zappos.com - 702-943-7833 On Dec 17, 2008, at 9:17 AM, Toby Cole wrote: I came across this too

incremental update

2008-12-17 Thread Dalvi, Rajesh
Hi, Is it possible to incrementally index given document? Meaning, I would like to index filed with large size separate request so that even if it fails I would have basic document indexed. Thanks, Rajesh

Nightly build - 2008-12-17.tgz - build error - java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main

2008-12-17 Thread Kay Kay
I downloaded the latest .tgz and ran $ ant dist docs: [mkdir] Created dir: /opt/src/apache-solr-nightly/contrib/javascript/dist/doc [java] Exception in thread main java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main [java] at JsRun.main(Unknown Source)

Field Collapse Install Issue.

2008-12-17 Thread John Martyniak
Hi everybody, So I have applied the Ivans latest patch to a clean 1.3. I built it using 'ant compile' and 'ant dist', got the solr build war file. Moved that into the Tomcat directory. Modified my solrconfig.xml to include the following: searchComponent name=collapse

Re: setting a log file per core with slf4

2008-12-17 Thread Ryan McKinley
but does this work in a multi-threaded environment? if multiple requests are coming in on multiple threads, would it still be accurate? Perhaps that depends on the underlying implementation? adding the core to the MDC within a RequestHandler context seems reasonable and minimally

Re: setting a log file per core with slf4

2008-12-17 Thread Smiley, David W.
You bet it does; that's the point! Under the covers, I believe it's simply a thread-local hashmap. Nothing is stored in the loggers the code is using. We just need to be careful to remove the variable from MDC when we're done. ~ David On 12/17/08 3:09 PM, Ryan McKinley ryan...@gmail.com

Getting Field(s) Information If I have Unique Key Field-Value or the corresponding Doc Number

2008-12-17 Thread Vannia Rajan
Hi, I need to resolve the following issue: I need to get the Value of all the FIELDS defined in solrconfig.xml when i have the Value of the Unique-Key-Field or the corresponding Doc Number. I require this because, we need to find the value of a particular field, if a document is Duplicated.

Re: AW: Cross-context-forward to solr-instance

2008-12-17 Thread Jérôme Etévé
Hi Lance, Can you tell us what's this parameter and how to set it ? I'm also stucked with the same problem :( Thanks !! Jerome On Mon, Sep 8, 2008 at 6:02 PM, Lance Norskog goks...@gmail.com wrote: You can give a default core set by adding a default parameter to the query in

Re: Precisions on solr.xml about cross context forwarding.

2008-12-17 Thread Smiley, David W.
This bothers me too. I find it really strange that Solr's entry-point is a servlet filter instead of a servlet. ~ David On 12/17/08 12:07 PM, Jérôme Etévé jerome.et...@gmail.com wrote: Hi all, In solr.xml ( /lucene/solr/trunk/src/webapp/web/WEB-INF/web.xml ),it's written that It is

date facets doubt

2008-12-17 Thread Marc Sturlese
Hey there, 1.- I am trying to use date facets but I am facing a trouble. I want to use the same field to do 2 facet classification. I want to show the count of the docs of the last week and the counts od the docs of the last month. What I am doing is: !-- Docs indexed last week -- str

Re: looking for multilanguage indexing best practice/hint

2008-12-17 Thread Alexander Ramos Jardim
I think this is up to your needs. If you will make one search in many languages, and your doc's won't get too big, you can put all the data in one schema.xml and configure your field types by a language basis. 2008/12/17 Julian Davchev j...@drun.net Hi, From my study on solr and lucene so

Re: Nightly build - 2008-12-17.tgz - build error - java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main

2008-12-17 Thread Toby Cole
I came across this too earlier, I just deleted the contrib/javascript directory. Of course, if you need javascript library then you'll have to get it building. Sorry, probably not that helpful. :) Toby. On 17 Dec 2008, at 17:03, Kay Kay wrote: I downloaded the latest .tgz and ran $ ant

Re: setting a log file per core with slf4

2008-12-17 Thread Erik Hatcher
MDC looks like the way to go. Thanks for that info, David. Erik On Dec 17, 2008, at 3:13 PM, Smiley, David W. wrote: You bet it does; that's the point! Under the covers, I believe it's simply a thread-local hashmap. Nothing is stored in the loggers the code is using. We just

RE: looking for multilanguage indexing best practice/hint

2008-12-17 Thread Feak, Todd
Don't forget to consider scaling concerns (if there are any). There are strong differences in the number of searches we receive for each language. We chose to create separate schema and config per language so that we can throw servers at a particular language (or set of languages) if we needed to.

Re: Get All terms from all documents

2008-12-17 Thread Grant Ingersoll
All terms from all docs? Really? At any rate, see http://wiki.apache.org/solr/TermsComponent May need a mod to not require any field, but for now you can enter all fields (which you can get from LukeRequestHandler) -Grant On Dec 17, 2008, at 2:17 PM, roberto wrote: Hello, I need to

Re: SOLR 1.4 and 1.3 diff and other

2008-12-17 Thread Yonik Seeley
On Wed, Dec 17, 2008 at 7:52 PM, Sammy Yu temi...@gmail.com wrote: I read somewhere that there are contention issues with the current cache implementation of LRUCache in 1.3 in that it is synchronous, could this be the reason why the filter query are slow? Probably not. The change is much

[ANNOUNCE] Solr Logo Contest Results

2008-12-17 Thread Chris Hostetter
(replies to solr-user please) On behalf of the Solr Committers, I'm happy to announce that we the Solr Logo Contest is officially concluded. (Woot!) And the Winner Is... https://issues.apache.org/jira/secure/attachment/12394264/apache_solr_a_red.jpg ...by Michiel We ran into a few hiccups

Re: [ANNOUNCE] Solr Logo Contest Results

2008-12-17 Thread Matt Mitchell
Love it! Congratulations Michiel. Matt On Wed, Dec 17, 2008 at 9:15 PM, Chris Hostetter hossman_luc...@fucit.orgwrote: (replies to solr-user please) On behalf of the Solr Committers, I'm happy to announce that we the Solr Logo Contest is officially concluded. (Woot!) And the Winner Is...

Re: Get All terms from all documents

2008-12-17 Thread roberto
Grant It completely crazy do something like this i know, but the customer want´s, i´m really trying to figure out how to do it in a better way, maybe using the (auto suggest) filter from solr 1.3 to get all the words starting with some letter and cache the letter in the client side, out client is

Re: Nightly build - 2008-12-17.tgz - build error - java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main

2008-12-17 Thread Shalin Shekhar Mangar
On Wed, Dec 17, 2008 at 10:53 PM, Matthew Runo mr...@zappos.com wrote: I'm using Java 6 and it's compiling for me. I believe rhino is included by default in Java 6 -- Regards, Shalin Shekhar Mangar.

Re: SOLR 1.4 and 1.3 diff and other

2008-12-17 Thread Sammy Yu
Hi Yonik, Thanks for the quick response. Do you know the release schedule when 1.4 would be released or if it is possible to backport the NIO implementation into 1.3? If you could give me a pointer that would be great. It seems like a huge performance gain that would be of value to a lot of

Re: looking for multilanguage indexing best practice/hint

2008-12-17 Thread Sujatha Arun
Hi, I am prototyping lanuage search using solr 1.3 .I have 3 fields in the schema -id,content and language. I am indexing 3 pdf files ,the languages are foroyo,chinese and japanese. I use xpdf to convert the content of pdf to text and push the text to solr in the content field. What is the

Re: correct use of copyFields in schema.xml

2008-12-17 Thread Chris Hostetter
First... : In-Reply-To: 21051199.p...@talk.nabble.com : Subject: correct use of copyFields in schema.xml http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message, instead