Re: ranking on Multivalued fields

2008-03-11 Thread Tobias Lohr
What you probably want to achieve is displaying only docs in a certain category (maybe filtered) ordered by descending score in the context of exactly this category, right? Well, you could come over this by creating a category specific score field for every category following the schema "cat-X

Re: What is default Date time format in Solr

2008-03-11 Thread Mahesh Udupa
Thanks Chris, My index creation was wrong ;)(I was using 12 Hour format) Thanks for your support -kmu On Sat, Mar 8, 2008 at 1:35 AM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : I heard Solr Date time format is 24 hours. > > that is correct. > > : emf.artist:[2007-12-31T22:20:00Z TO 2007-

Re: Accented search

2008-03-11 Thread Peter Cline
I'm not sure about a way to boost scores in this case, but you can achieve the basic matching by applying a filter to the index and the queries. The ISOLatin1Accent Filter seems like it may work for you, though I'm not entirely certain if that will cover all the accent characters you need. M

RE: Accented search

2008-03-11 Thread Binkley, Peter
We've done this in a pre-Solr Lucene context by using the position increment: when a token contains accented characters, you add a stripped version of that token with a zero increment, so that for matching purposes the original and the stripped version are at the same position. Accents are not s

schema help

2008-03-11 Thread Geoffrey Young
hi :) I'm trying to work out a schema for our widgets. more than "just coming up with something" I'd like something idiomatic in solr terms. any help is much appreciated. here's a similar problem space to what I'm working with... lets say we're talking books. books are written by authors

RE: Accented search

2008-03-11 Thread Renaud Waldura
Peter: Very interesting. To take care of the issue you mention, could you add multiple "synonyms" with progressively less accents? E.g. you'd index "préférence" as 4 tokens: préférence (unchanged) preférence (stripped one accent) préference (stripped the other accent) preference (stripped bo

Re: Accented search

2008-03-11 Thread Walter Underwood
Generally, the accented version will have a higher IDF, so it will score higher. wunder On 3/11/08 8:44 AM, "Renaud Waldura" <[EMAIL PROTECTED]> wrote: > Peter: > > Very interesting. To take care of the issue you mention, could you add > multiple "synonyms" with progressively less accents? > >

Re: schema help

2008-03-11 Thread Otis Gospodnetic
Geoff, I'm not sure if I understood your problem correctly, but it sounds like you want your search to be restricted to authors, but then you want to list all of his/her books when displaying results. The easiest thing to do would be to create an index where each "row"/Document has the author

Re: ranking on Multivalued fields

2008-03-11 Thread Otis Gospodnetic
Umar, The notion of "subfield" does not exist in Solr (or am I living under a rock?). Thus, val 1 http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Umar Shah <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Saturday, March 8, 2008 7:03:32 AM Subject: Re: ra

Re: schema help

2008-03-11 Thread Geoffrey Young
Otis Gospodnetic wrote: Geoff, I'm not sure if I understood your problem correctly, but it sounds like you want your search to be restricted to authors, but then you want to list all of his/her books when displaying results. that's about right. add that I may also want to search on librari

Re: schema help

2008-03-11 Thread Rachel McConnell
Our Solr use consists of several rather different data types, some of which have one-to-many relationships with other types. We don't need to do any searching of quite the kind you describe, but I have an idea about it, depending on what you need to do with the book data. It is rather hacky, but

Re: Unparseable date

2008-03-11 Thread monkins
I indexed my docs with field : 1995-12-31T23:59:59.000Z But when i try to search on that field : order_dt:1995-12-31T23:59:59.000Z , I get an exception : Mar 11, 2008 4:13:55 PM org.apache.solr.core.SolrException log SEVERE: org.apache.solr.core.SolrException: Invalid Date String:'1995-12-31T23'

Query Level Boosting

2008-03-11 Thread oleg_gnatovskiy
Hello. I was wondering if anyone knew a way to do query level boosting with SolrJ. On the http client I could just do something like sku:123^2.3 which would boost the sky query 2.3 points. -- View this message in context: http://www.nabble.com/Query-Level-Boosting-tp15995005p15995005.html Sent f

Re: Out of memory in analysis

2008-03-11 Thread Chris Hostetter
: I pasted a modest blob of text into the analysis debug slot on the admin : app, and am rewarded with this, even with -Xmx1g. what was the text? what was the field/fieldtype? what did the analyzers for that fieldtype look like in your schema.xml? -Hoss

Re: return only sorted Field, but with a different Field Name

2008-03-11 Thread Chris Hostetter
: : For example, say I want to sort by the field '162_sortable_s' then I add a : parameter like so 'sort=162_sortable_s.' I need to change the settings so : that when the result set is returned from solr, it takes the values of : '162_sortable_s' and inserts them into a separate field called 'Sort

Re: How to get incrementPositionGap value from IndexSchema ?

2008-03-11 Thread Chris Hostetter
: I am looking for a way to access the incrementPositionGap value defined for a : field type in the schema.xml. I think you mean "positionIncrementGap" It's a property of the in schema.xml, but internally it's passed to SolrAnalyzer.setPositionIncrementGap. if you want to programaticly know

Re: Result based sorting for KWIC?

2008-03-11 Thread Chris Hostetter
: I am investigating using solr for a project that requires presentation of : search results in a KWIC display, sorted according to either the string : following the matches or the (reverse) of the characters previous to the : matches. Can this be done with Solr? How would I go about implement t

Re: Unparseable date

2008-03-11 Thread Chris Hostetter
: I indexed my docs with field : 1995-12-31T23:59:59.000Z : But when i try to search on that field : order_dt:1995-12-31T23:59:59.000Z , : I get an exception : : Mar 11, 2008 4:13:55 PM org.apache.solr.core.SolrException log : SEVERE: org.apache.solr.core.SolrException: Invalid Date : String:'1995-

Re: Accented search

2008-03-11 Thread climbingrose
Hi Peter, It looks like a very promising approach for us. I'm going to implement an custom Tokeniser based on your suggestions and see how it goes. Thank you all for your comments! Cheers On Wed, Mar 12, 2008 at 2:37 AM, Binkley, Peter <[EMAIL PROTECTED]> wrote: > We've done this in a pre-Solr

Re: Accented search

2008-03-11 Thread Chris Hostetter
: It looks like a very promising approach for us. I'm going to implement : an custom Tokeniser based on your suggestions and see how it goes. Thank : you all for your comments! you don't really need a custom tokenizer -- just a buffered TokenFilter that clones the original token if it contains

Cannot start solr

2008-03-11 Thread Vinci
I follow the tutorial on wiki but when I go to http://server_address/solr/admin I got tomcat error message: HTTP 404 Then I go to check in Tomcat manager, I see it is not started, when I attend to start it, I got this error message. FAIL - Application at context path /solr could not be started

Re: Cannot start solr

2008-03-11 Thread Vinci
Additional Infomation: 2008/3/12 上午 11:10:54 org.apache.solr.core.SolrResourceLoader locateInstanceDir INFO: Using JNDI solr.home: /var/webapps/solr 2008/3/12 上午 11:10:54 org.apache.solr.servlet.SolrDispatchFilter init INFO: looking for multicore.xml: /var/webapps/solr/multicore.xml 2008/3/12 上午

Re: schema help

2008-03-11 Thread Otis Gospodnetic
Geoff, some comments inlined. - Original Message From: Geoffrey Young <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Tuesday, March 11, 2008 4:55:15 PM Subject: Re: schema help Otis Gospodnetic wrote: > Geoff, > > I'm not sure if I understood your problem correctly, but it

Solr nightly build and the multicore mode

2008-03-11 Thread Vinci
Hi all, after tracing log, I found the tomcat problem with nightly build is the multicore.xml on nightly build - if the multicore.xml doesn't exist, it won't run the application like jetty does (run in single core mode if file doesn't exist) Q1. I don't know how to set the path...WHERE should I

Re: Result based sorting for KWIC?

2008-03-11 Thread Christian Wittern
Chris Hostetter wrote: 1) if you've got full text search, why would you even want KWIC? Well, KWIC is a way to present the full text search results so that they can be easily read. 2) your description of how you'd want the results ordered is extrmely confusing to me ... can you give a simp

Re: Out of memory in analysis

2008-03-11 Thread Benson Margulies
This turned out to be a side-effect of the since-fixed use of GET in analysis.jsp, coupled with a mistake in one of my filters. On Tue, Mar 11, 2008 at 8:31 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : I pasted a modest blob of text into the analysis debug slot on the admin > : app, and a

[Update] Solr can be started from jetty but not tomcat

2008-03-11 Thread Vinci
Hi all, after several hour I make the solr works a little bit: the jetty version works, but the tomcat version doesn't. Enviroment: JRE 1.6, tomcat 5.5, ubuntu 7.10. Solr nightly (8 Mar 08) Look like the multicore.xml cause the problem...the Solr die at the time of Config? In the localhost lo

Re: ranking on Multivalued fields

2008-03-11 Thread Umar Shah
Thanks Otis, I am a first time user of SOLR. I understood that my problem calls for a redesign of the document structure. However using CatX and Cat-X-Score is not simple because cat is not fixed set, number of values x can take is not predetermined. However I think dynamic fields might be helpful