Re: Searching multivalue fields.

2014-04-08 Thread Vijay Kokatnur
Since Span is the only way to solve the problem, I won't mind re-indexing. It's just that I have never done it before. We've got 80G of indexed data replicated on two nodes in a cluster. Is there a preferred way to go about re-indexing? On Tue, Apr 8, 2014 at 12:17 AM, Ahmet Arslan wrote: >

Re: Searching multivalue fields.

2014-04-08 Thread Ahmet Arslan
Hi, Changing value of omitTermFreqAndPositions requires re-indexing, unfortunately. And I remembered that you don't want to reindex. It looks like we are out of options. Ahmet On Tuesday, April 8, 2014 12:45 AM, Vijay Kokatnur wrote: Yes I did restart solr, but did not re-index.  Is that

Re: Searching multivalue fields.

2014-04-07 Thread Vijay Kokatnur
Yes I did restart solr, but did not re-index. Is that necessary? We've got 80G of indexed data, is there a "preferred" way of doing it without impacting performance? On Sat, Apr 5, 2014 at 9:44 AM, Ahmet Arslan wrote: > Hi, > > Did restart solr and you re-index after schema change? >On Sa

Re: Searching multivalue fields.

2014-04-05 Thread Ahmet Arslan
Hi, Did restart solr and you re-index after schema change? On Saturday, April 5, 2014 2:39 AM, Vijay Kokatnur wrote: I had already tested with omitTermFreqAndPositions="false" .  I still got the same error. Is there something that I am overlooking? On Fri, Apr 4, 2014 at 2:45 PM, Ahmet Ars

Re: Searching multivalue fields.

2014-04-04 Thread Vijay Kokatnur
I had already tested with omitTermFreqAndPositions="false" . I still got the same error. Is there something that I am overlooking? On Fri, Apr 4, 2014 at 2:45 PM, Ahmet Arslan wrote: > Hi Vijay, > > Add omitTermFreqAndPositions="false" attribute to fieldType definitions. > > omitTermFreq

Re: Searching multivalue fields.

2014-03-27 Thread Jack Krupansky
Sounds good... for Lucene users, but for Solr users... sounds like a Jira is needed. -- Jack Krupansky -Original Message- From: Ahmet Arslan Sent: Wednesday, March 26, 2014 4:54 PM To: solr-user@lucene.apache.org ; kokatnur.vi...@gmail.com Subject: Re: Searching multivalue fields

Re: Searching multivalue fields.

2014-03-26 Thread Ahmet Arslan
Hi Vijay, After reading the documentation it seems that following query is what you are after. It will return OrderId:345 without matching OrderId:123 SpanQuery q1  = new SpanTermQuery(new Term("BookingRecordId", "234")); SpanQuery q2  = new SpanTermQuery(new Term("OrderLineType", "11")); SpanQu

Re: Searching multivalue fields.

2014-03-26 Thread Ahmet Arslan
Hi Vijay, I personally don't understand joins very well. Just a guess may be  FieldMaskingSpanQuery could be used? http://blog.griddynamics.com/2011/07/solr-experience-search-parent-child.html Ahmet On Wednesday, March 26, 2014 9:46 PM, Vijay Kokatnur wrote: Hi, I am bumping this thread a

Searching multivalue fields.

2014-03-26 Thread Vijay Kokatnur
Hi, I am bumping this thread again one last time to see if anyone has a solution. In it's current state, our application is storing child items as multivalue fields. Consider some orders, for example - { OrderId:123 BookingRecordId : ["145", "987", "*234*"] OrderLineType : ["11", "12", "*13*"