Re: Exclude documents having same data in two fields

2015-10-10 Thread Walter Underwood
After several days, we finally get the real requirement. It really does waste a lot of time and energy when people won’t tell us that. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Oct 10, 2015, at 8:19 AM, Upayavira wrote: > > In which case you'

Re: Exclude documents having same data in two fields

2015-10-10 Thread Upayavira
In which case you'd be happy to wait for 30s for it to complete, in which case the func or frange function query should be fine. Upayavira On Fri, Oct 9, 2015, at 05:55 PM, Aman Tandon wrote: > Thanks Mikhail the suggestion. I will try that on monday will let you > know. > > *@*Walter This was j

Re: Exclude documents having same data in two fields

2015-10-09 Thread Aman Tandon
Thanks Mikhail the suggestion. I will try that on monday will let you know. *@*Walter This was just an random requirement to find those fields which are not same and then reindex only those. I can full index but I was wondering if there might some function or something. With Regards Aman Tandon

Re: Exclude documents having same data in two fields

2015-10-09 Thread Mikhail Khludnev
Aman, You can invoke Terms Component for the filed M, let it returns terms: {a,c,d,f} then you invoke it for field T let it return {b,c,f,e}, then you intersect both lists (it's quite romantic if they are kept ordered), you've got {c,f} and then you applies filter: fq=-((+M:c +T:c) (+M:f +T:f)) et

Re: Exclude documents having same data in two fields

2015-10-09 Thread Walter Underwood
e.java:99) >>>>>> at >>>>>> >>>> >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) >>>>>> at >>>>>> >>>> >>> >> org.apache.catalina.co

Re: Exclude documents having same data in two fields

2015-10-09 Thread Aman Tandon
> > > > at > > > > > > > > > > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > > > > > at > > > >

Re: Exclude documents having same data in two fields

2015-10-09 Thread Susheel Kumar
t.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > > > > at > > > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > > > > at java.lang.Thread.run(Thread.java:745) > > > > > > > > 500 > > > &

Re: Exclude documents having same data in two fields

2015-10-09 Thread Aman Tandon
; 500 > > > > > > > > > > > > > With Regards > > Aman Tandon > > > > On Thu, Oct 8, 2015 at 8:07 PM, Alessandro Benedetti < > > benedetti.ale...@gmail.com> wrote: > > > > > Hi agr

Re: Exclude documents having same data in two fields

2015-10-09 Thread Upayavira
lr/search/FunctionRangeQParserPlugin.html > > > > Cheers > > > > On 8 October 2015 at 13:31, NutchDev wrote: > > > > > Hi Aman, > > > > > > Have a look at this , it has query time approach also using Solr function > > > query, > >

Re: Exclude documents having same data in two fields

2015-10-09 Thread Aman Tandon
> http://stackoverflow.com/questions/15927893/how-to-check-equality-of-two-solr-fields > > > > > http://stackoverflow.com/questions/16258605/query-for-document-that-two-fields-are-equal > > > > > > > > -- > > View this message in context: > > >

Re: Exclude documents having same data in two fields

2015-10-08 Thread Alessandro Benedetti
sage in context: > http://lucene.472066.n3.nabble.com/Exclude-documents-having-same-data-in-two-fields-tp4233408p4233489.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- -- Benedetti Alessandro Visiting card - http://about.me/alessandro_b

Re: Exclude documents having same data in two fields

2015-10-08 Thread NutchDev
context: http://lucene.472066.n3.nabble.com/Exclude-documents-having-same-data-in-two-fields-tp4233408p4233489.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Exclude documents having same data in two fields

2015-10-08 Thread Aman Tandon
eld as > a > filter criteria while querying solr. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Exclude-documents-having-same-data-in-two-fields-tp4233408p4233411.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Exclude documents having same data in two fields

2015-10-07 Thread NutchDev
One option could be creating another boolean field field1_equals_field2 and set it to true for documents matching it while indexing. Use this field as a filter criteria while querying solr. -- View this message in context: http://lucene.472066.n3.nabble.com/Exclude-documents-having-same-data

Exclude documents having same data in two fields

2015-10-07 Thread Aman Tandon
Hi, Is there a way in solr to remove all those documents from the search results in which two of the fields, *mapping* and *title* is the exactly same. With Regards Aman Tandon