Unique Key error on trunk

2011-09-26 Thread Viswa S
Hello, We use solr.UUIDField to generate unique ids, using the latest trunk (change list 1163767) seems to throw an error Document is missing mandatory uniqueKey field: id. The schema is setup to generate a id field on updates field name=id type=uuid indexed=true stored=true default=NEW /

Re: Unique Key error on trunk

2011-09-26 Thread Viswa S
You can replicate it with the example app by replacing the id definition in schema.xml with field name=id type=uuid indexed=true stored=true default=NEW / Removing the id fields in the one of the example doc.xml and posting it to solr. Thanks Viswa On Sep 26, 2011, at 12:15 AM, Viswa S

RE: Solr Terms and Date field issues

2011-05-06 Thread Viswa S
-user@lucene.apache.org H, this is puzzling. If you could come up with a couple of xml files and a schema that illustrate this, I'll see what I can see... Thanks, Erick On Wed, May 4, 2011 at 7:05 PM, Viswa S svis...@hotmail.com wrote: Erik, I suspected the same

RE: Solr Terms and Date field issues

2011-05-05 Thread Viswa S
with a couple of xml files and a schema that illustrate this, I'll see what I can see... Thanks, Erick On Wed, May 4, 2011 at 7:05 PM, Viswa S svis...@hotmail.com wrote: Erik, I suspected the same, and setup a test instance to reproduce this. The date field I used is setup

Solr Terms and Date field issues

2011-05-04 Thread Viswa S
Hello, The terms query for a date field seems to get populated with some weird dates, many of these dates (1970,2009,2011-04-23) are not present in the indexed data. Please see sample data below I also notice that a delete and optimize does not remove the relevant terms for date fields, the

RE: Solr Terms and Date field issues

2011-05-04 Thread Viswa S
it's a problem. I'm also going to guess that you're not really deleting the documents you think. Are you committing after the deletes? Best Erick On Wed, May 4, 2011 at 2:18 AM, Viswa S svis...@hotmail.com wrote: Hello, The terms query for a date field seems to get populated

Exception on distributed date facet SOLR-1709

2011-03-18 Thread Viswa S
Folks, We are trying to do some date faceting on our distributed environment, applied solr-1709 on the trunk. A date facet query throws the below exception, I have attached the patched source for reference. Any help would be appreciated. Other Info: Java ver: 1_6_0_24 Trung change list:

RE: Exception on distributed date facet SOLR-1709

2011-03-18 Thread Viswa S
range in favour of range). Have you tried this patch on 3x branch? Thanks, Peter On Fri, Mar 18, 2011 at 7:09 AM, Viswa S svis...@hotmail.com wrote: Folks, We are trying to do some date faceting on our distributed environment, applied solr-1709 on the trunk. A date facet query

Trunk Compile failure/ hang

2011-03-15 Thread Viswa S
Hello, I am trying to build source out of trunk (to apply a patch) and ran into an issue were the build process hangs ( below output) during build lucene at sanity-load-lib. Just when build sanity-load-lib starts, I see an dialog box asking for applet access permission The applet is

RE: Empty value/string matching

2011-01-10 Thread Viswa S
Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com -Original Message- From: Viswa S [mailto:svis...@hotmail.com] Sent: Saturday, November 20, 2010 5:38 PM To: solr-user@lucene.apache.org Subject: RE: Empty value/string matching

RE: Userdefined Field type - Faceting

2010-12-14 Thread Viswa S
, Dec 13, 2010 at 10:00 PM, Viswa S svis...@hotmail.com wrote: Hello, We implemented an IP-Addr field type which internally stored the ips as hex-ed string (e.g. 192.2.103.29 will be stored as c002671d). My toExternal and toInternal methods for appropriate conversion seems

Userdefined Field type - Faceting

2010-12-13 Thread Viswa S
Hello, We implemented an IP-Addr field type which internally stored the ips as hex-ed string (e.g. 192.2.103.29 will be stored as c002671d). My toExternal and toInternal methods for appropriate conversion seems to be working well for query results, but however when faceting on this field it

Empty value/string matching

2010-11-20 Thread Viswa S
Folks,Am trying to query documents which have no values present, I have used the following constructs and it doesn't seem to work on the solr dev tip (as of 09/22) or the 1.4 builds.1. (*:* AND -FieldName[* TO *]) - returns no documents, parsedquery was +MatchAllDocsQuery(*:*) -FieldName:[* TO

RE: Empty value/string matching

2010-11-20 Thread Viswa S
there no such field as FieldName? Best Erick On Sat, Nov 20, 2010 at 3:12 PM, Viswa S svis...@hotmail.com wrote: Folks,Am trying to query documents which have no values present, I have used the following constructs and it doesn't seem to work on the solr dev tip (as of 09/22) or the 1.4

RE: Empty value/string matching

2010-11-20 Thread Viswa S
been very wrong before. Best Erick On Sat, Nov 20, 2010 at 5:02 PM, Viswa S svis...@hotmail.com wrote: Yes I do have a couple of documents with no values and one with an empty string. Find below the output of a facet on the fieldName. ThanksViswa int name=2/intint name

Solr Negative query

2010-11-14 Thread Viswa S
Dear Solr/Lucene gurus, I have run into a weird issue trying use a negative condition in my query. Parser:StandardQueryParserMy Query: Field1:Val1 NOT Field2:Val2Resolved as: Field1:Val1 -Field2:Val2 The above query never returns any document, no matter how we use a paranthesis. I did see some

RE: Solr Negative query

2010-11-14 Thread Viswa S
Apologies for starting a new thread again, my mailing list subscription didn't finalize till later than Yonik's response. Using Field1:Val1 AND (*:* NOT Field2:Val2) works, thanks. Does my original query Field1:Value1 AND (NOT Field2:Val2) fall into need the *:* trick if all of the clauses of