Empty fields - dynamic

2008-03-12 Thread Lance Norskog
Is there a way to specify that a dynamic field cannot have an empty string? With static fields, you can enforce this with 'required="true" default="-1"'. Is there any way to do enforce this in the shipped Solr 1.2? One could write a new custom analyzer that requires input. But is there anything

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

2008-03-12 Thread Chris Hostetter
: > there is nothing like this in solr right now, it doesn't seem like something : > that should be odne in solr, as it would be a simple translation that could : > be done via an XSLT or some client layer code. : It may be more work then it is worth, but I would like to see something : comparabl

Re: SolrQuery.getStart(), SolrQuery.getRows(), always return null

2008-03-12 Thread Ryan McKinley
I just committed a change to SolrQuery so that getRows and getStart use "getInt()" rather then "getFieldInt()" Thanks for pointing this out! Thijs wrote: I'm running into a problem where the calls to SolrQuery.getStart(), SolrQuery.getRows() always return null I'm using trunk of 1.3 I think

Re: Companies Using Solr

2008-03-12 Thread Ryan Grange
It's definitely not immutable. A while back I added DollarDays International. Just remember to be polite and add yourself to the end of the list. Ryan Grange, IT Manager DollarDays International, LLC [EMAIL PROTECTED] 480-922-8155 x106 oleg_gnatovskiy wrote: Clay Webster wrote: Hey F

sorting on a multivalued field

2008-03-12 Thread Joshua Reedy
I'd like to be able to sort documents based on date. For ascending sort, the first date in the future relative to the time of the search would be used as the sort date. If all dates are in the past, the last date should be used. For descending sort, the opposite . . . document 1: id: 1 date: 20

Re: schema help

2008-03-12 Thread Geoffrey Young
the trouble I'm having is one of dimension. an author has many, many attributes (name, birthdate, biography in $language, etc). as does each book (title in $language, summary in $language, genre, etc). as does each library (name, address, directions in $language, etc). so an author with N b

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

2008-03-12 Thread Ryan McKinley
Chris Hostetter wrote: : : 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 se

Re: schema help

2008-03-12 Thread Geoffrey Young
Rachel McConnell wrote: 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 dat

Re: How to get incrementPositionGap value from IndexSchema ?

2008-03-12 Thread Renaud Delbru
Hi Chris, Thanks for your reply. Indeed, there is the getPositionIncrementGap method, I forgot it. I need this information to be able to configure my query processor. I have extended Solr with a new query parser to be able to search document on a sentence-based granularity. Each sentence is

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

2008-03-12 Thread Ryan McKinley
Vinci wrote: Hi all, after several hour I make the solr works a little bit: the jetty version works, but the tomcat version doesn't. To me it looks like the xml parser is not loading properly... check the last line of your trace. at org.apache.catalina.startup.Bootstrap.main(Boot

Re: Query Level Boosting

2008-03-12 Thread Ryan McKinley
oleg_gnatovskiy wrote: 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. boosting is part of the query string, try: query.setQuery( "sku:123^2.3" );

Re: Solr nightly build and the multicore mode

2008-03-12 Thread Nguyen Kien Trung
Hi Vinci, Q1. I don't know how to set the path...WHERE should I put the core1 and core0 folder? somewhare in the solr/home or somewhere in webapps?, and make the admin panel working? for the multicore.xml the directory structure is as follows: solr.home | core1 |---