Re: [solr-user] Correct query syntax for a multivalued string field?

2008-09-09 Thread hernan
On Tue, Sep 9, 2008 at 3:50 PM, Walter Underwood <[EMAIL PROTECTED]> wrote: > color:red AND color:green > > +color:red +color:green > > Either one works. Just what I was looking for, thanks for the quick response and for helping a new user. hs > wunder > > On 9/9/08 3:47 PM, "hernan" <[EMAIL PROT

Re: [solr-user] Correct query syntax for a multivalued string field?

2008-09-09 Thread Walter Underwood
color:red AND color:green +color:red +color:green Either one works. wunder On 9/9/08 3:47 PM, "hernan" <[EMAIL PROTECTED]> wrote: > Hey Solr users, > > My schema defines a field like this: > > multiValued="true"/> > > If I have a document indexed that has the following values for this > fi

[solr-user] Correct query syntax for a multivalued string field?

2008-09-09 Thread hernan
Hey Solr users, My schema defines a field like this: If I have a document indexed that has the following values for this field: ['red','green'] ...how do I write a query that says: "I want all documents that have color = 'red' AND color = 'green'? When I try: q=color:red+AND+green I get zer

Re: scoring + sorting

2008-09-09 Thread Otis Gospodnetic
Sebastien, look at the Wiki for info about Function queries. It sounds like that's what you are after. Yes, sorting essentially ignores score (yes, you can use both, but not combine them in the way you seem to need to combine them). Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - N

Re: Replacing FAST functionality at sesam.no - ShingleFilter+exact matching

2008-09-09 Thread Mck
> Looks to me like MultiPhraseQuery is getting in the way. Shingles > that begin at the same word are given the same position by > ShingleFilter, and Solr's FieldQParserPlugin creates a > MultiPhraseQuery when it encounters tokens in a query with the same > position. I think what you want is to

RE: Re: Replacing FAST functionality at sesam.no - ShingleFilter+exact matching

2008-09-09 Thread Steven A Rowe
Hi mck, On 09/09/2008 at 12:58 PM, Mck wrote: > > *ShortVersion* > > is there a way to make the ShingleFilter perform exact matching via > > inserting ^ $ begin/end markers? > > Reading through the mailing list i see how exact matching can > be done, a la STFW to myself... > > So the ShortVersi

scoring + sorting

2008-09-09 Thread Sébastien Rainville
Hi, a basic thing I don't get is how does sorting interacts with the default scoring? Sorting doesn't seem to do what I want. Both default scoring and sorting define the scoring of the documents so how can they work together? Does the sorting overrides things in the default scoring? Basically, wha

Re: Multicore : Creating a new core

2008-09-09 Thread Alexander Ramos Jardim
Take a look at this page to see if the API has what you need. http://wiki.apache.org/solr/CoreAdmin 2008/9/9 Vinu Kumar <[EMAIL PROTECTED]> > Hi everyone, >I am using solrj in a multicore solr setup. Currently I keep a template > of conf files and copy the files to the directory I want to cr

Re: Bad and continously degrading update performance

2008-09-09 Thread Shalin Shekhar Mangar
Are you calling optimize each time you update? Try reducing autoWarmCount on the caches or turn them off. 5 minutes is an aggressive target but it may be doable since your updates are less. On Tue, Sep 9, 2008 at 3:34 PM, Kolodziej Christian < [EMAIL PROTECTED]> wrote: > Hello everbody, > > I've

Multicore : Creating a new core

2008-09-09 Thread Vinu Kumar
Hi everyone, I am using solrj in a multicore solr setup. Currently I keep a template of conf files and copy the files to the directory I want to create new core in. I then call createCore api passing the new directory as the instancedir and this works fine. But this will be an issue if Solr

Bad and continously degrading update performance

2008-09-09 Thread Kolodziej Christian
Hello everbody, I've a question about the performance and the internal actions of the update process. We've an index containing nearly 200.000 entries (one field contains much content), the schema.xml is the following: // ...