Re: Solr Logo thought

2008-08-28 Thread Lukáš Vlček
Hi, I can not speak for the community but I believe IT IS STILL opened :-) Welcome! Rgds, Lukas 2008/8/29 brosseau <[EMAIL PROTECTED]> > is this thing still open for propositions ? we have an in house graphical > artist and i could ask him to take a shot he does very nice work. > > 2008/8/20 Lu

Re: Solr Logo thought

2008-08-28 Thread brosseau
is this thing still open for propositions ? we have an in house graphical artist and i could ask him to take a shot he does very nice work. 2008/8/20 Lukáš Vlček <[EMAIL PROTECTED]> > Hi, > > Only few responded so far. How we can get more feedback? Do you think I > should work on the proposal a l

scoring individual values in a multivalued field

2008-08-28 Thread Sébastien Rainville
Hi, I have a multivalued field that I would want to score individually for each value. Is there an easy way to do that? Here's a concrete example of what I'm trying to achieve: Let's say that I have 3 documents with a field "name_t" and a multivalued field "caracteristic_t_mv": Dog Cool Big Di

Re: Solr Logo thought

2008-08-28 Thread Chris Hostetter
: I don't think Hoss wants to be involved in the logo contest beyond the : guidance he gave ;) I want to be involved in so much as i want to make sure things are done in a fair way that has well defined guidelines and boundaries and engages the community ... i have less interest in what the act

Re: sporadic warnings / errors when using a DataImportHandler based solr instance

2008-08-28 Thread Chris Hostetter
: 1) INFO: PERFORMANCE WARNING: Overlapping onDeckSearchers=2 There's a FAQ on this... http://wiki.apache.org/solr/FAQ#head-1133543d05c65f889b25b85b3c7aaa17f532032a ...additional info can be found by searching the list archives for "PERFORMANCE WARNING" : 2) SEVERE: org.apache.solr.common.Solr

Re: "Auto commit error" and java.io.FileNotFoundException

2008-08-28 Thread Chris Harris
Well I've done two or three more runs with Sun java build 1.6.0_10-rc-b28, with and without the infoStream change, and I can't reproduce the problem. So maybe everything was indeed the fault of the release version of Sun hotspot. Not too confident about that. Maybe instead I let the disk get too fu

RE: question about + and - in field queries

2008-08-28 Thread Lance Norskog
This is somewhere in the mail archives. The AND/OR/NOT syntax is binary. The +/- syntax is ternary: (+one -two three) means: "must have one, cannot have two, things with three have a higher score". -Original Message- From: Lyman Hurd [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 20

RE: question about + and - in field queries

2008-08-28 Thread Lyman Hurd
We're using the default installation. I have been through: http://wiki.apache.org/solr/SolrQuerySyntax and http://lucene.apache.org/java/docs/queryparsersyntax.html carefully but this appears to be a case unto itself! Cheers, Lyman Lyman Hurd Sr. Principal Engineer Interwoven, Inc. 404.2

Re: question about + and - in field queries

2008-08-28 Thread Gabriel Farrell
On Thu, Aug 28, 2008 at 12:06:52PM -0700, Lyman Hurd wrote: > We are trying to use the "+" (mandatory) and "- "(forbidden) modifiers > in field queries but we do not seem to be getting what we expected. Which analyzer are you using? The StandardRequestHandler should give the results you are looki

Re: Rounding date fields

2008-08-28 Thread Shalin Shekhar Mangar
On Fri, Aug 29, 2008 at 12:34 AM, Chris Hostetter <[EMAIL PROTECTED]>wrote: > it also starts to get ito the realm of "arbitrary processing of values > prior to storing/indexing ... which could be useful in other ways (ie: > parsing alternate date formats) and for other field types (ie: limit > num

Re: question about + and - in field queries

2008-08-28 Thread Otis Gospodnetic
Uh, I'm not sure if this is in the Lucene FAQ, but it ought to be. The "+" means that the term/clause MUST be in a document if a document is to be counted as a match. The "-" means that the term/clause MUST NOT be in a document if a document is to be counted as a match. Is this even syntactic

Re: Rounding date fields

2008-08-28 Thread Otis Gospodnetic
Doesn't this then also start sounding like various pre-indexing processing pipelines? I remember one person (was it somebody from Norway?) saying he has OpenPipe+Solr working hm, one "yahoo" away: http://openpipe.berlios.de/ Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutc

Looping through termPositions

2008-08-28 Thread Martin Owens
Hello all, Quick question for those familiar with termPositions and payloads: I have currently 2 loops, one which is of the form while(termPositions.next()) and the second involves termPositions.freq() the combination of these two seem to produce a great number of duplicate payloads; So I'm think

question about + and - in field queries

2008-08-28 Thread Lyman Hurd
We are trying to use the "+" (mandatory) and "- "(forbidden) modifiers in field queries but we do not seem to be getting what we expected. Specifically our query is: field1:(-value1) field2:value2 as an alternative we tried: -field1:value1 field2:value2 which appears to behave

Re: Rounding date fields

2008-08-28 Thread Chris Hostetter
: I propose the following syntax similar to the DateMath syntax: ... : Any date will be rounded to the nearest specified time and less significant : units will be set to their least possible value. : If it is not desirable to round to nearest element (many times users don't : want a value

Faceting MoreLikeThisComponent results

2008-08-28 Thread wojtekpia
When using the MoreLikeThisHandler with facets turned on, the facets show counts of things that are more like my original document. When I use the MoreLikeThisComponent, the facets show counts of things that match my original document (I'm querying by document ID), so there is only one result, and

Re: NumberUtils double encoding question

2008-08-28 Thread Yonik Seeley
On Thu, Aug 28, 2008 at 1:45 PM, Jason Rutherglen <[EMAIL PROTECTED]> wrote: > I am interested in using NumberUtils to encode any number into a sortable > double. Once encoded will the lexicographic sorting work on any precision? > If I store 47. and 48.22 may I assume that the order will

NumberUtils double encoding question

2008-08-28 Thread Jason Rutherglen
Hello, I am interested in using NumberUtils to encode any number into a sortable double. Once encoded will the lexicographic sorting work on any precision? If I store 47. and 48.22 may I assume that the order will be correct? I ask this questions because doubleToRawLongBits is called to

Re: Adding a field?

2008-08-28 Thread Alexander Ramos Jardim
Just beware, as you can lost old data if you don't send it again to Solr on your update. 2008/8/26 Smiley, David W. (DSMILEY) <[EMAIL PROTECTED]> > You can modify the schema file but you'll need to reload Solr for Solr to > see be aware of it. You can use multiCore to eliminate downtime. But at

Re: Rounding date fields

2008-08-28 Thread Shalin Shekhar Mangar
On Thu, Aug 28, 2008 at 10:13 PM, Otis Gospodnetic < [EMAIL PROTECTED]> wrote: > Yeah, I was thinking of something similar, too. Would the following be > even simpler? > > > omitNorms="true" round="UP_MINUTE" /> > or > omitNorms="true" round="DOWN_MINUTE" /> > > - Single new attrib name. > - Sh

RE: java.io.FileNotFoundException: no segments* file found

2008-08-28 Thread Kashyap, Raghu
Is it possible that the index is corrupted? Did you try re indexing it? -Raghu -Original Message- From: Jeremy Hinegardner [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2008 11:34 AM To: Solr Users Subject: java.io.FileNotFoundException: no segments* file found Hi all, I've had

Re: Rounding date fields

2008-08-28 Thread Otis Gospodnetic
Yeah, I was thinking of something similar, too. Would the following be even simpler? or - Single new attrib name. - Shorted attrib name. - No +/- and number+time unit mix - Self-descriptive and "naturally readable", e.g.: round up to minutes What do you think? Otis -- Sematext -- http://se

Re: Rounding date fields

2008-08-28 Thread Shalin Shekhar Mangar
Hi Otis, This seems like a common use-case since it is suggested often. We should add this capability to the solr.DateField. I propose the following syntax similar to the DateMath syntax: Any date will be rounded to the nearest specified time and less significant units will be set to their le

Re: Rounding date fields

2008-08-28 Thread Stephen Weiss
I was just dealing with this issue the other day! My solution was to have PHP re-parse the dates to always be exactly at midnight of their respective day (so that the extra time info wouldn't affect sorting), and then when the dates are displayed my format string only includes date info...

Rounding date fields

2008-08-28 Thread Otis Gospodnetic
Hi, How do people tend to round date type fields when they don't need millisecond precision? Using just the straight "date" type leaves you with date/time info down to milliseconds. What if you want to round that up to minutes, for example? Is there a way to tell the "date" type to do that?

Re: copyField: String vs Text Field

2008-08-28 Thread Walter Underwood
"stemmed and stopped" is short for using a stemmer and removing stopwords. Specifically, StopFilterFactory and EnglishPorterFilterFactory are in the analysis chain. wunder On 8/27/08 10:26 PM, "Jake Conk" <[EMAIL PROTECTED]> wrote: > Hi Walter, > > What do you mean by when you stemmed and stopp

AW: Problems using SnowballPorterFilterFactory for german

2008-08-28 Thread Kolodziej Christian
>On Thu, Aug 28, 2008 at 10:45 AM, Kolodziej Christian ><[EMAIL PROTECTED]> wrote: >> I'm quite new in using solr but I managed to create some indexes and I >wrote some nice working PHP classes for adding, inserting, querying and >deleting records. But when I perform a search there have been some c

Re: Problems using SnowballPorterFilterFactory for german

2008-08-28 Thread Yonik Seeley
On Thu, Aug 28, 2008 at 10:45 AM, Kolodziej Christian <[EMAIL PROTECTED]> wrote: > I'm quite new in using solr but I managed to create some indexes and I wrote > some nice working PHP classes for adding, inserting, querying and deleting > records. But when I perform a search there have been some

Problems using SnowballPorterFilterFactory for german

2008-08-28 Thread Kolodziej Christian
Hello everyone, I'm quite new in using solr but I managed to create some indexes and I wrote some nice working PHP classes for adding, inserting, querying and deleting records. But when I perform a search there have been some crazy phenomenons. If a word is searched exactly in the right spellin

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Nikhil Chhaochharia
Yes, I am aware of and using SolrJ and EmbeddedSolrServer. I want to use multiple Solr indices and I was doing it by creating multiple instances of EmbeddedSolrServer. For each EmbeddedSolrServer, I was creating a new SolrCore by creating new IndexSchema and SolrConfig objects. It was workin

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Nikhil Chhaochharia
Thanks again, this should solve the current problem I am having. Nikhil - Original Message From: Henrib <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Thursday, 28 August, 2008 7:42:11 PM Subject: Re: CoreDescriptor explanation and possible bug Nikhil Chhaochharia wrote:

Re: Storing two different files

2008-08-28 Thread Walter Underwood
You don't need two schemas. Have a field "type" with values "job_post" and "job_profile", then filter based on type:job_post and type:job_profile. wunder On 8/28/08 4:57 AM, "Norberto Meijome" <[EMAIL PROTECTED]> wrote: > On Thu, 28 Aug 2008 02:01:05 -0700 (PDT) > sanraj25 <[EMAIL PROTECTED]> wr

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Henrib
Nikhil Chhaochharia wrote: > > > I am assuming that these are part of some patch which will get applied > before 1.3 releases, is that correct ? > > Nikhil > > Yes, this is part of a patch and no, they most likely will not make it in 1.3. However, I guess the following will bring you even c

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Nikhil Chhaochharia
Thanks Henri, this is the kind of snippet I was looking for. However, the CoreDescriptor constructor and method used below are not present in the codebase. CoreDescriptor dcore = new CoreDescriptor("",solrConfig.getResourceLoader().getInstanceDir()); dcore.setCoreContainer(container); I am assu

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Henrib
Seems you want something like: public SolrCore nikhilInit(final IndexSchema indexSchema) { final String solrConfigFilename = "solrconfig.xml"; // or else CoreContainer.Initializer init = new CoreContainer.Initializer() { @Override public CoreContainer initialize() { Co

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Shalin Shekhar Mangar
Hi Nikhil, Can you please describe your use-case? Are you aware of EmbeddedSolrServer? http://wiki.apache.org/solr/Solrj On Thu, Aug 28, 2008 at 6:12 PM, Nikhil Chhaochharia <[EMAIL PROTECTED]>wrote: > I went through the javadocs for the CoreContainer and CoreDescriptor > classes (20th-Aug nigh

Re: Storing two different files

2008-08-28 Thread Shalin Shekhar Mangar
Hi, You can do with one index only. Add a flag field to the schema which flags whether the data is a post or a profile. You can then use filter queries on the flag field to limit results from either post or profile. On Thu, Aug 28, 2008 at 2:31 PM, sanraj25 <[EMAIL PROTECTED]> wrote: > > Hi >

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Nikhil Chhaochharia
I went through the javadocs for the CoreContainer and CoreDescriptor classes (20th-Aug nightly, the latest I could find). The steps for creating a SolrCore now appear to be: (Note for the benefit of those who might stumble upon this through a websearch - this is not a HOWTO but my best guess w

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Henrib
Hi, It is likely to be related to how you initialize Solr & create your SolrCore; there has been a few changes to ensure there is always a CoreContainer created which (as its name stands), holds a reference to all created SolrCore. There is a CoreContainer.Initializer class that allows to easily c

Re: Storing two different files

2008-08-28 Thread Norberto Meijome
On Thu, 28 Aug 2008 02:01:05 -0700 (PDT) sanraj25 <[EMAIL PROTECTED]> wrote: > I want to index two different files in solr.(for ex) I want to store > two tables like, job_post and job_profile in solr. But now both are stored > in same place in solr.when i get data from job_post, data come from >

Re: Replacing FAST functionality at sesam.no

2008-08-28 Thread Glenn-Erik
>In order to do this, you can't use the ShingleFilter during indexing >since a document like "one two three" and a query like "one two four" >will match since they have the shingle "one two" in common. Hello Svein, nice to meet you in this place =) I have been trying with and without and also

CoreDescriptor explanation and possible bug

2008-08-28 Thread Nikhil Chhaochharia
Hi, I have been using nightly builds of Solr 1.3 with SolrJ for some time now. I upgraded the Solr jars from the 14-Aug nightly and my program would not compile. I found that SolrCore constructor needed a new parameter CoreDescriptor. I passed null and it worked fine. I then upgraded to the

Re: Replacing FAST functionality at sesam.no

2008-08-28 Thread Glenn-Erik
> The screenshot didn't make it (some attachments gets stripped) I have put the screenshots here: http://www.glennerik.com/solr/solrshingle1.gif and here: http://www.glennerik.com/solr/solrshingle2.gif I also put the schema.xml here: http://www.glennerik.com/solr/schema.xml > This sounds very

Storing two different files

2008-08-28 Thread sanraj25
Hi I want to index two different files in solr.(for ex) I want to store two tables like, job_post and job_profile in solr. But now both are stored in same place in solr.when i get data from job_post, data come from job_profile also.So i want to maintain the data of job_post and job_profile

Re: Beginners question: adding a plugin

2008-08-28 Thread Jaco
That does the trick! Thanks for the quick reply (and for a great Solr product!) Bye, Jaco. 2008/8/27 Grant Ingersoll <[EMAIL PROTECTED]> > Instead of solr.TestStemFilterFactory, put the fully qualified classname > for the TestStemFilterFactory, i.e. > com.my.great.stemmer.TestStemFilterFactory.