logger in embedded solr

2009-11-19 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
Hi all, I have an J2EE application using embedded solr via solr4j. It seems the logging that SOLR produces has a mind of its own, and is not changeable via my log4j.properties. In fact I know this because I wired in a Log4J config listener in my web.xml and redirected all my logs to a custom l

fl parameter and dynamic fields

2009-12-28 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
I use dynamic fields heavily in my SOLR config. I would like to be able to specify which fields should be returned from a query based on a pattern for the field name. For instance, given: I might be able to construct a query like: http://localhost:8080/solr/select?q=Bool_*:true&r

RE: Need help Migrating to Solr

2010-01-13 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
I don't have experience with migrating, but you should consider using the example schema.xml in the distro as a starting basis for creating your schema. -Original Message- From: Abin Mathew [mailto:abin.mat...@toostep.com] Sent: Tuesday, January 12, 2010 8:42 PM To: solr-user@lucene.ap

copyField with Analyzer?

2010-01-13 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
Hi all, I tried creating a case-insensitive string using the values provided to a string, via CopyField. This didn't work, since copyField does it's job before the analyzer on the case-insensitive string field is invoked. Is there another way I might accomplish this field replication on the ser

case-insensitive string type

2010-01-13 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
Hi I have a field: With type definition:

RE: case-insensitive string type

2010-01-13 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
, Jan 13, 2010 at 2:18 PM, Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS] wrote: > Hi I have a field: > > multiValued="true" /> > > With type definition: >                 >                                        sortMissingLast="true" omitNorms=&quo

RE: case-insensitive string type

2010-01-13 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
>From the query http://localhost:8080/solr/select?q=idxPartition%3ASOMEPART%20AND%20srcANYSTRStrCI:%22mixcase%20or%20lower%22&debugQuery=on Debug info attached -Original Message- From: Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS] [mailto:timothy.j.har...@nasa.gov] Sent: We

RE: case-insensitive string type

2010-01-13 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
The value in the srcANYSTRStrCI field is "miXCAse or LowER" according to Luke. -Original Message----- From: Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS] [mailto:timothy.j.har...@nasa.gov] Sent: Wednesday, January 13, 2010 11:31 AM To: solr-user@lucene.apache.org Subject: RE: case-i

RE: case-insensitive string type

2010-01-13 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
ue as case preserved in both the string field and the string_ci field support this? -Original Message----- From: Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS] [mailto:timothy.j.har...@nasa.gov] Sent: Wednesday, January 13, 2010 11:35 AM To: solr-user@lucene.apache.org Subject: RE: case-insensitive s

RE: case-insensitive string type

2010-01-13 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
That seems to work. But why? Does string type not support LowerCaseFilterFactory? Or KeywordTokenizerFactory? -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Wednesday, January 13, 2010 11:51 AM To: solr-user@lucene.apache.org Subject: RE: case-insensitive strin

RE: case-insensitive string type

2010-01-13 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
Thanks, I know I read that sometime back but I guess I thought that was because there were no tags defined on the string field in the schema. I guess cause I'm still kind of a noob - I didn't take that to mean that it couldn't be made to have analyzers. A subtle but important distinction I gu

using term vectors

2010-01-21 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
Hi, I am trying termVectorComponents in SOLR. Per wiki I am trying to define component and handler. I define it so: true tvComponent ... But when I qu

understanding termVector output

2010-01-22 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
Hi, I'm trying to see if I can use termVectors for a use case I have. Essentially I want to know is: where in the indexed value does the query hit occur? I think either tv.positions or tv.offsets would provide that info but I don't really grok the result. Below I've pasted the URL and part of

determine which value produced a hit in multivalued field type

2010-01-22 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
Hi, If I have a multiValued field type of text, and I put values [cat,dog,green,blue] in it. Is there a way to tell when I execute a query against that field for dog, that it was in the 1st element position for that multiValued field? Thanks! Tim

RE: determine which value produced a hit in multivalued field type

2010-01-25 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
If a simple "no" is the answer I'd be glad if anyone could confirm. Thanks. -Original Message----- From: Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS] [mailto:timothy.j.har...@nasa.gov] Sent: Friday, January 22, 2010 2:53 PM To: solr-user@lucene.apache.org Subject: determ

RE: determine which value produced a hit in multivalued field type

2010-01-26 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
s. On Mon, Jan 25, 2010 at 7:26 AM, Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS] wrote: > If a simple "no" is the answer I'd be glad if anyone could confirm. > > Thanks. > > -----Original Message----- > From: Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS] > [ma

doc with missing highlight info

2010-01-27 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
Hi, I have a query where the query matches the document but no highlighting info is returned. Why? Normally, highlighting returns correctly. This query is different from others in that it uses a phrase like "CR1428-Occ1" Field: query: http://localhost:8080/solr/select?q=destSpan%3A%28%22CR1

RE: doc with missing highlight info (bug found?!?)

2010-01-27 Thread Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS]
: abcCR1428 Data: abcCR1428 -Original Message- From: Harsch, Timothy J. (ARC-TI)[PEROT SYSTEMS] [mailto:timothy.j.har...@nasa.gov] Sent: Wednesday, January 27, 2010 10:42 AM To: solr-user@lucene.apache.org Subject: doc with missing highlight info Hi, I have a query where the query