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'
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
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
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
e.java:99)
>>>>>> at
>>>>>>
>>>>
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
>>>>>> at
>>>>>>
>>>>
>>>
>> org.apache.catalina.co
> > > > at
> > > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> > > > > at
> > > >
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
> > > &
; 500
> > >
> > >
> > >
> >
> > With Regards
> > Aman Tandon
> >
> > On Thu, Oct 8, 2015 at 8:07 PM, Alessandro Benedetti <
> > benedetti.ale...@gmail.com> wrote:
> >
> > > Hi agr
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,
> >
> 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:
> >
>
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
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.
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.
>
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
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
15 matches
Mail list logo