Re: multiple values encountered for non multiValued field type:[text/html, text, html]

2012-02-06 Thread William_Xu
Thank you for your reply, it is much helpful for me ! -- View this message in context: http://lucene.472066.n3.nabble.com/multiple-values-encountered-for-non-multiValued-field-type-text-html-text-html-tp3719088p3721305.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: multiple values encountered for non multiValued field type:[text/html, text, html]

2012-02-06 Thread tamanjit.bin...@yahoo.co.in
Hi I am not sure if what you are doing is possible i.e. having a schema other than that provided by nutch. The schema provided by nutch in its directory \conf is to be used as the solr schema. -- View this message in context: http://lucene.472066.n3.nabble.com/multiple-values-encountered-for-non-

Re: multiple values encountered for non multiValued field type:[text/html, text, html]

2012-02-06 Thread William_Xu
error message: org.apache.solr.common.SolrException: ERROR: [http://bbs.dichan.com/] mult iple values encountered for non multiValued field type: [text/html, text, html] at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.jav a:242) at org.apache.solr.update.proc

Re: Multiple Values not getting Indexed

2011-06-11 Thread Gora Mohanty
On Sat, Jun 11, 2011 at 9:52 PM, Pawan Darira wrote: > sorry for the inconvenience. actually i was trying the solution suggested in > this mail thread. As mentioned in 1st mail, > > I am trying to index 2 fields with multiple values. BUT, it is only putting > 1 value for each & ignoring rest of th

Re: Multiple Values not getting Indexed

2011-06-11 Thread Pawan Darira
sorry for the inconvenience. actually i was trying the solution suggested in this mail thread. As mentioned in 1st mail, I am trying to index 2 fields with multiple values. BUT, it is only putting 1 value for each & ignoring rest of the values after comma(,). I am fetching query through DIH. It wo

Re: Multiple Values not getting Indexed

2011-06-09 Thread Gora Mohanty
On Fri, Jun 10, 2011 at 10:36 AM, Pawan Darira wrote: > it did not work :( [...] Please provide more details of what you tried, what was the error, and any error messages that you got. Just saying that "it did not work" makes it pretty much impossible for anyone to help you. You might take a loo

Re: Multiple Values not getting Indexed

2011-06-09 Thread Pawan Darira
it did not work :( On Thu, Jun 9, 2011 at 12:53 PM, Bill Bell wrote: > You have to take the input and splitBy something like "," to get it into > an array and reposted back to > Solr... > > I believe others have suggested that? > > On 6/8/11 10:14 PM, "Pawan Darira" wrote: > > >Hi > > > >I am t

Re: Multiple Values not getting Indexed

2011-06-09 Thread Bill Bell
You have to take the input and splitBy something like "," to get it into an array and reposted back to Solr... I believe others have suggested that? On 6/8/11 10:14 PM, "Pawan Darira" wrote: >Hi > >I am trying to index 2 fields with multiple values. BUT, it is only >putting >1 value for each &

Re: Multiple Values not getting Indexed

2011-06-09 Thread Bill Bell
Is there a way to splitBy and trim the field after splitting? I know I can do it with Javascript in DIH, but how about using the regex parser? On 6/9/11 1:18 AM, "Stefan Matheis" wrote: >Pawan, > >just separating multiple values by comma does not make them >multi-value in solr-speak. But if you

Re: Multiple Values not getting Indexed

2011-06-09 Thread Stefan Matheis
Pawan, just separating multiple values by comma does not make them multi-value in solr-speak. But if you're already using DIH, you may try the http://wiki.apache.org/solr/DataImportHandler#RegexTransformer to 'splitBy' the field and get the expected field-values Regards Stefan On Thu, Jun 9, 201

Re: multiple values

2010-08-27 Thread Lance Norskog
Would "number of values" be an interesting value source/function? Is it easy to do with a Lucene query? On Fri, Aug 27, 2010 at 5:25 AM, Erik Hatcher wrote: > My recommendation is if you need to query on something, index it as you > need... so in this case index another field with the number of v

Re: multiple values

2010-08-27 Thread Erik Hatcher
My recommendation is if you need to query on something, index it as you need... so in this case index another field with the number of values in that field. This is easy if you're writing a custom indexer, but maybe not so trivial if you're indexing other ways - so a custom update processo

Re: multiple values

2010-08-20 Thread Lance Norskog
The most basic test is a direct search against Solr and look at the XML output for the values: http://localhost:8983/solr/select?q=*:* Perhaps an xpath without the 'Author' element /PublishedArticles/Article/AuthorList will give Authors as a multivalued field. It is also possible that the DIH cre

Re: multiple values

2010-08-19 Thread Erick Erickson
The first thing I'd do is look at the document in the admin pages and determine what you actually have in the index. If that's OK, have you dumped your responses to see if the returned document has multiple entries but you're parsing is off? Best Erick On Wed, Aug 18, 2010 at 5:00 PM, Ma, Xiaohui

Re: Multiple values for custom fields provided in SOLR query

2009-07-08 Thread Otis Gospodnetic
query you need. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Suryasnat Das > To: solr-user@lucene.apache.org > Sent: Tuesday, July 7, 2009 12:16:30 PM > Subject: Re: Multiple values for custom fields provided in SOLR query

Re: Multiple values for custom fields provided in SOLR query

2009-07-07 Thread Suryasnat Das
Hi Otis, Thanks for replying to my query. My query is, if multiple values are provided for a custom field then how can it be represented in a SOLR query. So if my field is fileID and its values are 111, 222 and 333 and my search string is ‘product’ then how can this be represented in a SOLR query

Re: Multiple values for custom fields provided in SOLR query

2009-07-06 Thread Otis Gospodnetic
I actually don't fully understand your question. q=+fileID:111+fileID:222+fileID:333+apple looks like a valid query to me. (not sure what that space encoded as + is, though) Also not sure what you mean by: > Basically the requirement is , if fileIDs are provided as search parameter > then search

RE: multiple values encountered for non multiValued copy field

2009-03-23 Thread Radha C.
That works thanks! _ From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: Monday, March 23, 2009 2:11 PM To: solr-user@lucene.apache.org; cra...@ceiindia.com Subject: Re: multiple values encountered for non multiValued copy field multiValued should be camel cased but in

Re: multiple values encountered for non multiValued copy field

2009-03-23 Thread Shalin Shekhar Mangar
multiValued should be camel cased but in your schema it is in lowercase. On Mon, Mar 23, 2009 at 1:57 PM, Radha C. wrote: > Hi, > > I am having mutivalued field "all" in my schema.xml . But it is not > identified and got below error. > Can anyone help me with this.. > > > > omitNorms="true"

Re: Multiple Values -Structured?

2007-09-04 Thread Bharani
No Size is not an issue - atleast for now. But i am thinking of implementing some sort of duplicate removal based on field. I happen to look at this thread http://www.nabble.com/Group-results-by-field--tf3683765.html#a10296394 Tom mentions some changes to the code to do that so was thinking in th

Re: Multiple Values -Structured?

2007-09-04 Thread Bharani
Thanks Yonik - I didnt know that before. But i am not sure how i can use the range queries on this compound field so that i dont get the wrong result. -Bharani Yonik Seeley wrote: > > You could index both a compound field and the components separately. > This could be simplified by sending th

Re: Multiple Values -Structured?

2007-09-04 Thread Yonik Seeley
You could index both a compound field and the components separately. This could be simplified by sending the value in once as the compound format: review,1 Jan 2007 revision, 2 Jan 200 And then use a copyField with a regex tokenizer to extract and index the date into a separate field. You coul

Re: Multiple Values -Structured?

2007-09-04 Thread Erik Hatcher
multiValued fields retain their order, for the record. Erik On Sep 4, 2007, at 12:37 AM, Jed Reynolds wrote: One of the difficulties that you're going to find with multi-valued fields is that they are an unordered collection without relation. If you have a document with a list of ed

Re: Multiple Values -Structured?

2007-09-03 Thread Jed Reynolds
Bharani wrote: Hi, I have got two sets of document 1) Primary Document 2) Occurrences of primary document Since there is no such thing as "join" i can either a) Post the primary document with occurrences as multi valued field or b) Post the primary document for every occurrences i.e. class