Re: Performance penalty for Multivalued field?

2007-03-19 Thread Maximilian Hütter
Chris Hostetter schrieb: : I would be shocked if you noticed any performance difference between a : single-valued field and a multivalued field with one entry. there shouldnt' be any difference at all in search performance, or index size ... marking a field multiValued should only have two

Re: Bug ? unique id

2007-03-19 Thread Maarten . De . Vilder
thanks for your reply... it kind of solved our problem ! we were in fact using Tokenizers that produce multiple tokens ... so i guess there is no other way for us then to use the copyfield workaround. it would maybe be a good idea to have Lucene check the *stored* value for duplicate keys ...

Re: Score / Sort question

2007-03-19 Thread Chris Hostetter
: wouldn't doing something like this in the query : : (field1:tag1 tag2) OR (field1:tag1 AND tag2) : The documents that have all the tags (tag1 and tag2) will comply with : both conditions and get scores from both while the documents that : don't have both tags will only get a score from the 1st

Re: Query syntax Question

2007-03-19 Thread Chris Hostetter
: : I have the following Query: : q=field1:tag1 tag2^0.5 OR field2:tag1 : tag2^0.5version=2.2start=0rows=170indent=onfl=*,score : : And i want to do : : 1. Return back ONLY documents that contain both tag1 AND tag2 in : field1. when i try using Lucene syntax (+tag1 or +(tag1)) i get an : exception

Re: Bug ? unique id

2007-03-19 Thread Chris Hostetter
: it would maybe be a good idea to have Lucene check the *stored* value for : duplicate keys ... that seems so much more logical to me ! : (imho, it makes no sense to check the *indexed* value for duplicate keys, : but maybe there is a reason ?) it's probably a terminology issue ... stored

XmlPullParserException

2007-03-19 Thread nick19701
I'm trying to put this html page into my solr instance. http://creditboards.com/forums/index.php?showtopic=30893 http://creditboards.com/forums/index.php?showtopic=30893 I surrounded the html with the following: field name=\html\![CDATA[ ]]/field Then I got the XmlPullParserException. If you

Re: XmlPullParserException

2007-03-19 Thread Chris Hostetter
: I surrounded the html with the following: : field name=\html\![CDATA[ : ]]/field This is not a safe way to XML encode arbitrary text ... CDATA is automaticly closed when ]] is encountered .. in your case, the HTML page itself contains the sequence ]] inside of a script tag ... so the parser is