On 6/8/2016 11:44 PM, Naveen Pajjuri wrote:
> Trying to migrate from HttpSolrServer to CloudSolrServer. getting the
> following exception while adding docs using CloudSolrServer.
>
>
> org.apache.solr.common.SolrException: Unknown document router
> '{name=compositeId}'
>
> at org.apache.solr.common
Hi,
Trying to migrate from HttpSolrServer to CloudSolrServer. getting the
following exception while adding docs using CloudSolrServer.
org.apache.solr.common.SolrException: Unknown document router
'{name=compositeId}'
at org.apache.solr.common.cloud.DocRouter.getDocRouter(DocRouter.java:46)
whe
I don't think you can do such a thing ootb with solr but this is pretty
easy to achieve using a custom search component.
Just write some custom code which will limit your resultset and plug it
into your request handler as the last component.
On Thu, 9 Jun 2016, 08:53 Prasanna Josium,
wrote:
> H
Hi,
I use a dse stack with has solr4.10.
I want to control the number of rows from result set as a percent of the max
hit 'numFound' or 'maxScore' for a query.
e.g.,
1) for a query 'foo', if I get 100 hits and if I want to get the top 5%
percent (say rows=5%). Then I get only 5 rows.
for a quer
On 6/8/2016 2:28 PM, Steven White wrote:
> ?q=*&q.op=OR&fq={!field+f=DateA+op=Intersects}[2020-01-01+TO+2030-01-01]
Looking at this and checking the code for the Field query parser, I
cannot see how what you have used above is any different than:
fq=DateA:[2020-01-01 TO 2030-01-01]
The "op=Inter
What is the meaning of 'op=Intersects' here?
On Thursday, June 9, 2016 12:20 AM, Mikhail Khludnev
wrote:
oh.. hold on. you might need the space in the later one
?&q=*&q.op=OR&fq= {!field+f=DateB+op=Intersects v=$b}
{!field+f=DateA+op=Intersects
v=$a}&b=[2000-01-01+TO+2020-01-01]&a=[2020-01-01
Hi Eric
Thanks for prompt response. The reason for not flattening in given format
was (this I used as example for a very simple data structure). But in
actual my record has 100 of fields like this with different nesting inside.
and once I ingest data in Solr , then Business User will make a searc
Why not just flatten this? I.e. have fields
prev_temp
day_temp
next_temp
prev_humidity
day_humitidy
next_humidity
?
If you use multiValued fields, there's no good way to
express
prev_temp=X AND prev_humidity=Y
because they'd both be in a single MV field called "temp"
and "humidity"
so querying
tem
oh.. hold on. you might need the space in the later one
?&q=*&q.op=OR&fq= {!field+f=DateB+op=Intersects v=$b}
{!field+f=DateA+op=Intersects
v=$a}&b=[2000-01-01+TO+2020-01-01]&a=[2020-01-01+TO+2030-01-01]&...
I don't tell you why
On Thu, Jun 9, 2016 at 12:17 AM, Mikhail Khludnev <
mkhlud...@grid
?&q=*&q.op=OR&fq=filter({!field+f=DateB+op=Intersects}[2000-01-01+TO+2020-01-01])
filter({!field+f=DateA+op=Intersects}[2020-01-01+TO+2030-01-01])&...
or
?&q=*&q.op=OR&fq={!field+f=DateB+op=Intersects v=$b}
{!field+f=DateA+op=Intersects
v=$a}&b=[2000-01-01+TO+2020-01-01]&a=[2020-01-01+TO+2030-01-
Put the whole thing in a single clause, i.e.
fq=A OR B.
bq: I will have other fq in my query on different
field such as ISBN, or the same field as DateA or DateB that will need to
be AND'ed with the query
This is what Mikhail was telling you. Something like
q=A AND B AND C AND D
should give the s
bq: Also are multiple fq clauses supported for CloudSolrStream params
Generally not before 6.1 (which will be out soon), see: SOLR-8467
Best,
Erick
On Wed, Jun 8, 2016 at 1:58 PM, Susmit Shukla wrote:
> Thanks Joel,
>
> Yes, with /select handler start parameter is being applied to query running
Thanks Joel,
Yes, with /select handler start parameter is being applied to query running
on individual shard and doesn't return expected aggregate results. Probably
need to roll out some custom join on collections running on different solr
clouds.
Also are multiple fq clauses supported for CloudSo
Hi Susheel
Thanks for prompt response.
I have a further query on it. Wouldn't above mentioned approach be
appropriate if I am either getting PreviousDay or CurrentDay.
In my case I will sometimes be getting both PreviousDay and CurrentDay in
same record. so when I store temp/humidity as multi-v
Thanks Mikhail.
In that case, how do I force an OR for fq on DateA and DateB? And to make
things more interesting, I will have other fq in my query on different
field such as ISBN, or the same field as DateA or DateB that will need to
be AND'ed with the query.
Steve
On Wed, Jun 8, 2016 at 4:31
How about creating schema with temperature, humidity & a day field (and
other fields you may have like zipcode/city/country etc). Put day="next" or
day="previous" and during query use fq (filter query) to have
fq=day:previous or fq=day:next.
Thanks,
Susheel
On Wed, Jun 8, 2016 at 2:46 PM, Anirudd
C'mon Steve, filters fq=& are always intersected.
On Wed, Jun 8, 2016 at 11:28 PM, Steven White wrote:
> Hi everyone,
>
> I cannot make sense of this so I hope someone here can shed some light.
>
> The following gives me 0 hits (expected):
>
> ?q=*&q.op=OR&fq={!field+f=DateA+op=Intersects}[202
Hi everyone,
I cannot make sense of this so I hope someone here can shed some light.
The following gives me 0 hits (expected):
?q=*&q.op=OR&fq={!field+f=DateA+op=Intersects}[2020-01-01+TO+2030-01-01]
The following gives me hits (expected):
?q=*&q.op=OR&fq={!field+f=DateB+op=Intersects}[200
Hi
Request help
I have following XML data to start with
13
50
15
60
Please notice it has "previousDay" and "nextDay" and both of them contains
details of same field "temperature" and "humidity"
What is best way to create schema for it , where I coul
Hi,
In the Solr admin console, the java properties shows the
“javax.net.ssl.trustStorePassword” password in plain text.
“javax.net.ssl.trustStorePassword” is the password provided for the java
trust store to store the trusted SSL certificates.
1) Is there a way to mask the passwor
Hi all,
I am trying to query and match on a collection of documents with a field
which is basically text coming from pdfs. It could contain any type of text.
field type
It works well in ge
CloudSolrStream doesn't really understand the concept of paging. It just
sees a stream of Tuples coming from a collection and merges them.
If you're using the default /select handler it will be passed the start
param and start from that point. But if use the /export handler the start
parameter wil
Hi,
This is search result clustering.
Carrot2 also assigns labels to clusters. It automatically generates those
labels.
Ahmet
On Wednesday, June 8, 2016 12:36 PM, Mugeesh Husain wrote:
Hi,
I have a few question regarding clustering , i check out this link
https://cwiki.apache.org/confluence
Hi Shawn,
Thanks for the reply. You are right - once I choose XML format, i can see
the extra escape character '\' is not there any more.
As I mentioned, I was able to query with added escape '\' in my query.
Something like below works.
pathField:\\\root\path1\path2
But if this query
Hi
I am new to use Solr.
I am running Solr 4.10.3 on CDH 5.5.
My use case is , I have real time data ingestion in Hadoop on which I want
to implement search.
My input data format is XML and it has nested child nodes. So my question
is about schema creation for solr.
Technically I notice in JSO
Hi
I am new to use Solr.
I am running Solr 4.10.3 on CDH 5.5.
My use case is , I have real time data ingestion in Hadoop on which I want
to implement search.
My input data format is XML and it has nested child nodes. So my question
is about schema creation for solr.
Technically I notice in JSO
Hi,
Actually there were errors in the expression synthax , examining the logs
allowed me to see what the error was.
Thanks
--
View this message in context:
http://lucene.472066.n3.nabble.com/Streaming-expressions-malfunctioning-tp4281016p4281198.html
Sent from the Solr - User mailing list arc
Thanks! I thought it's a fairly-large amount. Looks like I need more exprience
on Solrcloud. Ya, I also believe reading from MySql could be a bottleneck of
the workflow. I pass your suggestion to my colleagues. Thanks again!
scott.chu,scott@udngroup.com
2016/6/8 (週三)
- Original Message
Hi.
We have a SolrCloud setup with 20 shards, each with only 1 replica, served
on 8 servers.
After a server went down we are left with 16 shards, which means that some
of the compositeId hash ranges aren't hosted by any cores. Somehow the
shards/cores didn't come back after the server came up ag
Hi,
I have a few question regarding clustering , i check out this link
https://cwiki.apache.org/confluence/display/solr/Result+Clustering.
In this article they implemented carrot2 for clustering.
Question:
1.)Is this classification or clustering ? if not then where is clustering
in solr
2.)if w
Hi,
unfortunately no, I haven't had the time to reproduce your settings with
separated zookeeper instances.
I'll update if I have something.
--
Renaud Delbru
On 07/06/16 16:55, Satvinder Singh wrote:
Hi,
Any updates on this??
Thanks
Satvinder Singh
Se
31 matches
Mail list logo