Re: SOLR query - restrict access to user documents

2014-10-07 Thread Ahmet Arslan
is > component those a little more as we add some limitations to each type of > client, defining some constrains as how many documents. i.e. data points > can be requested, etc.). > > Hope it helps, > > On Oct 7, 2014, at 11:37 AM, Nitin Agarwal <2nitinagar...@gmail.com> > wrote

Re: SOLR query - restrict access to user documents

2014-10-07 Thread Nitin Agarwal
as we add some limitations to each type of > client, defining some constrains as how many documents. i.e. data points > can be requested, etc.). > > Hope it helps, > > On Oct 7, 2014, at 11:37 AM, Nitin Agarwal <2nitinagar...@gmail.com> > wrote: > > > Hi, I have a

Re: SOLR query - restrict access to user documents

2014-10-07 Thread Jorge Luis Betancourt Gonzalez
, defining some constrains as how many documents. i.e. data points can be requested, etc.). Hope it helps, On Oct 7, 2014, at 11:37 AM, Nitin Agarwal <2nitinagar...@gmail.com> wrote: > Hi, I have a question around SOLR query, I am trying to restrict access to > SOLR data. > > W

SOLR query - restrict access to user documents

2014-10-07 Thread Nitin Agarwal
Hi, I have a question around SOLR query, I am trying to restrict access to SOLR data. We are running SOLR 4.7.1, and wish to expose the query capabilities to our customers for the data that belongs to them. Specifically "/select", with default configuration is the only Request Ha

Re: Solr query field (qf) conditional boost

2014-09-29 Thread Aman Tandon
"= pf=""}),0,0,1,15)* I hope this might help. With Regards Aman Tandon On Tue, Sep 30, 2014 at 2:40 AM, shamik wrote: > Thanks Markus, let me play around with the functions and see if I can > achieve > the results. > > > > -- > View this message in contex

RE: Solr query field (qf) conditional boost

2014-09-29 Thread shamik
Thanks Markus, let me play around with the functions and see if I can achieve the results. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-field-qf-conditional-boost-tp4161783p4161803.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Solr query field (qf) conditional boost

2014-09-29 Thread Markus Jelsma
2014 22:54 > To: solr-user@lucene.apache.org > Subject: RE: Solr query field (qf) conditional boost > > Thanks Markus. Well, I tried using a conditional if-else function, but it > doesn't seem to work for boosting field. What I'm trying to do is boost > ProductLine fiel

RE: Solr query field (qf) conditional boost

2014-09-29 Thread shamik
Thanks Markus. Well, I tried using a conditional if-else function, but it doesn't seem to work for boosting field. What I'm trying to do is boost ProductLine field by 5, if the result documents contain Author = 'Tom'. -- View this message in context: http://lucene.47206

RE: Solr query field (qf) conditional boost

2014-09-29 Thread Markus Jelsma
solr-user@lucene.apache.org > Subject: Solr query field (qf) conditional boost > > Hi, > > I'm trying to check if it's possible to include a conditional boosting in > Solr qf field. For e.g. I've the following entry in qf parameter. > > text^0.5 title^10.0 P

Solr query field (qf) conditional boost

2014-09-29 Thread Shamik Bandopadhyay
Hi, I'm trying to check if it's possible to include a conditional boosting in Solr qf field. For e.g. I've the following entry in qf parameter. text^0.5 title^10.0 ProductLine^5 What I'm looking is to add the productline boosting only for a given Author field, something in the lines boost Prod

RE: solr query gives different numFound upon refreshing

2014-09-16 Thread Joshi, Shital
] Sent: Thursday, September 04, 2014 6:07 PM To: solr-user@lucene.apache.org Subject: Re: solr query gives different numFound upon refreshing Does this persist if you issue a hard commit? You can do something like http://solr/collection/update?stream.body= On Thu, Sep 4, 2014 at 2:19 PM, shamik

Re: solr query gives different numFound upon refreshing

2014-09-04 Thread Erick Erickson
r through zookeeper, even with that it seemed to be unavoidable at times. > We are committing every 10 mins. I'm pretty much sure there's a minor glitch > which creates a sync issue at times. > > > > -- > View this message in context: > http://lucene.

Re: solr query gives different numFound upon refreshing

2014-09-04 Thread shamik
s. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-query-gives-different-numFound-upon-refreshing-tp4155414p4157026.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr query gives different numFound upon refreshing

2014-08-29 Thread Erick Erickson
ster (Replicable) > Slave (Searching) > > What is Master Searching vs. Master Replicable vs Slave Searching? > > Thanks. > > -Original Message- > From: Erick Erickson [mailto:erickerick...@gmail.com] > Sent: Friday, August 29, 2014 12:22 AM > To: solr-user@lu

RE: solr query gives different numFound upon refreshing

2014-08-29 Thread Joshi, Shital
) Slave (Searching) What is Master Searching vs. Master Replicable vs Slave Searching? Thanks. -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Friday, August 29, 2014 12:22 AM To: solr-user@lucene.apache.org Subject: Re: solr query gives different numFound

Re: solr query gives different numFound upon refreshing

2014-08-28 Thread Erick Erickson
; > openedAt: 2014-08-28T16:17:24.829Z > registeredAt: 2014-08-28T16:21:02.278Z > warmupTime: 65727 > > Thanks for all help. > > > -Original Message- > From: Shawn Heisey [mailto:s...@elyograg.org] > Sent: Wednesday, August 27, 2014 2:37 PM > To: s

RE: solr query gives different numFound upon refreshing

2014-08-28 Thread Joshi, Shital
@lucene.apache.org Subject: Re: solr query gives different numFound upon refreshing On 8/27/2014 10:44 AM, Bryan Bende wrote: > Theoretically this shouldn't happen, but is it possible that the two > replicas for a given shard are not fully in sync? > > Say shard1 replica1 is missing a do

Re: solr query gives different numFound upon refreshing

2014-08-27 Thread Shawn Heisey
On 8/27/2014 10:44 AM, Bryan Bende wrote: > Theoretically this shouldn't happen, but is it possible that the two > replicas for a given shard are not fully in sync? > > Say shard1 replica1 is missing a document that is in shard1 replica2... if > you run a query that would hit on that document and r

Re: solr query gives different numFound upon refreshing

2014-08-27 Thread Bryan Bende
ly upgraded from 4.4.0 from 4.8. We have ~850 > mil documents. > > We are facing an issue where refreshing a Solr query may give different > results (number of documents returned). This issue is seen in all three > collections. > > We found that Solr admin would report

solr query gives different numFound upon refreshing

2014-08-27 Thread Joshi, Shital
Hi, We have SolrCloud cluster (5 shards and 2 replicas) on 10 boxes. We have three collections. We recently upgraded from 4.4.0 from 4.8. We have ~850 mil documents. We are facing an issue where refreshing a Solr query may give different results (number of documents returned). This issue is

Solr query involving Street Addresses

2014-08-12 Thread Guph
ress, city, state, and zip code. Any direction or suggestions on this would be extremely appreciated - As I've said, I'm new to Solr, and could use any help that can be provided. Thanks, Guph -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-involv

Solr Query Elevation Component

2014-07-31 Thread dboychuck
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Query-Elevation-Component-tp4150531.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to get related facets using Solr query ?

2014-07-04 Thread shamik
n it's not the right data. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-get-related-facets-using-Solr-query-tp4145580p4145684.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to get related facets using Solr query ?

2014-07-04 Thread Erik Hatcher
Why isn't IJK not under AB too? Are the "Facet" field names different? Pivot facets looks like what you want. facet.pivot=field1,field2 if they are different field names. Erik > On Jul 3, 2014, at 20:15, Shamik Bandopadhyay wrote: > > Hi, > > I've trying construct a facet query to or

How to get related facets using Solr query ?

2014-07-03 Thread Shamik Bandopadhyay
Hi, I've trying construct a facet query to organize related facets in the response. Let me illustrate a sample. Let's say I've the following documents indexed in Solr. 1. Doc A --> Facet:AB Facet:MNO 2. Doc B --> Facet:CD

RE: suspect SOLR query from D029 (SOLR master)

2014-06-04 Thread Branham, Jeremy [HR]
-Original Message- From: Branham, Jeremy [HR] Sent: Tuesday, June 3, 2014 3:57 AM To: solr-user@lucene.apache.org Cc: Worley, Chris [HR] Subject: RE: suspect SOLR query from D029 (SOLR master) Evidently I didn't understand enough about the synonym filter. I'm not sure anyone would be a

Re: suspect SOLR query from D029 (SOLR master)

2014-06-03 Thread Jack Krupansky
AM To: solr-user@lucene.apache.org Cc: Worley, Chris [HR] Subject: RE: suspect SOLR query from D029 (SOLR master) Evidently I didn't understand enough about the synonym filter. I'm not sure anyone would be able to determine the impact based on the example queries below. However I

RE: suspect SOLR query from D029 (SOLR master)

2014-06-03 Thread Branham, Jeremy [HR]
rley, Chris [HR] Subject: RE: suspect SOLR query from D029 (SOLR master) These are the typical queries we are using. I'm curious if any of these parameters could be causing issues when using synonyms. ?shards=myserver1.com:8080/svc/solr/wdsc,myserver1.com:8080/svc/solr/kms&sort=score de

RE: suspect SOLR query from D029 (SOLR master)

2014-06-02 Thread Branham, Jeremy [HR]
ype:FlowDoc&fq=(-voice_network:[* TO *] AND *:*) OR voice_network:3G 1900/800, LTE&start=0&rows=10 ?fq=doctype:Scenario&q=device_id:"Motorola Moto X (XT1056)" AND (titleSearch:(this is a test)^2 OR text:(this is a test)^1.5)&start=0&rows=10 Jeremy D. Branham Tel:

RE: suspect SOLR query from D029 (SOLR master)

2014-06-02 Thread Branham, Jeremy [HR]
. Branham Tel: **DOTNET -Original Message- From: Branham, Jeremy [HR] Sent: Friday, May 30, 2014 4:43 PM To: solr-user@lucene.apache.org Subject: RE: suspect SOLR query from D029 (SOLR master) We've switched to CMS GC to see if there is any improvement. Looking at this use case, G1GC might

RE: suspect SOLR query from D029 (SOLR master)

2014-05-30 Thread Branham, Jeremy [HR]
anham, Jeremy [HR] Sent: Friday, May 30, 2014 11:52 AM To: solr-user@lucene.apache.org Subject: FW: suspect SOLR query from D029 (SOLR master) We saw the file descriptors peak out and full GCs running causing DOS on our SOLR servers this morning. * Does this stack trace give enough inform

FW: suspect SOLR query from D029 (SOLR master)

2014-05-30 Thread Branham, Jeremy [HR]
]; Duncan, Horace W [HR] Subject: suspect SOLR query from D029 (SOLR master) Looks like a suspect SOLR query was executed at approx. 8:54am this morning on the SOLR master server (D029) that caused the java GC to go through the roof. See below: 2014-05-30 08:54:17,092 ERROR - SolrDispatchFilter

Re: How to check and handle empty Solr query

2014-05-30 Thread Jack Krupansky
9:01 AM To: solr-user@lucene.apache.org Subject: How to check and handle empty Solr query In my code sometimes I get an emty query. Namely ... q=& which causes "bad request" exception. How to gracefully check query correctness and bypass execution if it is not correct. -- View

How to check and handle empty Solr query

2014-05-30 Thread vit
In my code sometimes I get an emty query. Namely ... q=& which causes "bad request" exception. How to gracefully check query correctness and bypass execution if it is not correct. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-check-and-handle-em

Re: “ClientAbortException: java.io.IOException” in solr query

2014-05-26 Thread Shawn Heisey
On 8/3/2013 7:18 AM, Alexandre Rafalovitch wrote: > The client closed the web-browser page or stopped loading or some other > timeout/connection close. Then, the server tries to write to no-longer > existing connection and fails. > > If you control the client, then you might have some sort of time

Re: “ClientAbortException: java.io.IOException” in solr query error

2014-05-25 Thread Tirthankar
But this exception could be thrown by SOLRJ which is a client to the SOLR server. Isn't that possible. -- View this message in context: http://lucene.472066.n3.nabble.com/ClientAbortException-java-io-IOException-in-solr-query-error-tp4082321p4138093.html Sent from the Solr - User mailing

Re: Help to Understand a Solr Query

2014-05-16 Thread Shawn Heisey
On 5/13/2014 8:56 AM, nativecoder wrote: > Exact_Word" omitPositions="true" termVectors="false" > omitTermFreqAndPositions="true" compressed="true" type="string_ci" > multiValued="false" indexed="true" stored="true" required="false" > omitNorms="true"/> > > multiValued="false" indexed="true" stor

Re: Help to Understand a Solr Query

2014-05-15 Thread nativecoder
uced query will be as below "parsedquery":"+DisjunctionMaxQuery((Exact_Word:d_sdasdsdwasd_...@dsadsadas.edu))",. This is what I expected solr to even with the "!" mark. with "_" mark it wont do a string split and treats the string as it is I thought if the KeywordTokenizerFactory is applied then it should return the exact string as it is Please help me to understand what is going wrong here -- View this message in context: http://lucene.472066.n3.nabble.com/Help-to-Understand-a-Solr-Query-tp4134686p4135464.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Help to Understand a Solr Query

2014-05-15 Thread Jack Krupansky
-user@lucene.apache.org Subject: Re: Help to Understand a Solr Query Hi All I have a following field settings in solr schema Exact_Word" omitPositions="true" termVectors="false" omitTermFreqAndPositions="true" compressed="true" type="string_ci" mult

Re: Help to Understand a Solr Query

2014-05-06 Thread Jack Krupansky
Think of debugQuery as your "Solr BFF"! -- Jack Krupansky -Original Message- From: nativecoder Sent: Tuesday, May 6, 2014 7:36 AM To: solr-user@lucene.apache.org Subject: Re: Help to Understand a Solr Query Thank you this is what I was looking for all this time I

Re: Help to Understand a Solr Query

2014-05-06 Thread nativecoder
Thank you this is what I was looking for all this time I wanted to understand how the query that I passed being evaluated by solr -- View this message in context: http://lucene.472066.n3.nabble.com/Help-to-Understand-a-Solr-Query-tp4134686p4134904.html Sent from the Solr - User mailing list

Re: Help to Understand a Solr Query

2014-05-06 Thread Jack Krupansky
alternatives - at least one of the alternatives must match. -- Jack Krupansky -Original Message- From: nativecoder Sent: Tuesday, May 6, 2014 4:44 AM To: solr-user@lucene.apache.org Subject: Re: Help to Understand a Solr Query When I go through the debug results I f

Re: Help to Understand a Solr Query

2014-05-06 Thread nativecoder
g2) > > > > Please note that in my query it is an AND clause. I am trying to > understand > > where the AND fits in. To be more precise my query is as below > > > > q=samplestring1 AND samplestring2&defType: edismax&qf: Exact_Field1^1.0 > > Exact_Field2

Re: Help to Understand a Solr Query

2014-05-06 Thread nativecoder
plestring1 ) ) +DisjunctionMaxQuery( ( Exact_Field1:samplestring2^0.6 | Exact_Field2:samplestring2^0.5 | Field1:samplestring2^0.9 | Field2:samplestring2 ) ) ) -- View this message in context: http://lucene.472066.n3.nabble.com/Help-to-Understand-a-Solr-Query-tp41346

Re: Help to Understand a Solr Query

2014-05-05 Thread Alexandre Rafalovitch
Exact_Field1^1.0 > Exact_Field2^0.9 Field1^0.8 Field2^0.7&fl= Column1, Column2 > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Help-to-Understand-a-Solr-Query-tp4134686p4134775.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Help to Understand a Solr Query

2014-05-05 Thread nativecoder
ntext: http://lucene.472066.n3.nabble.com/Help-to-Understand-a-Solr-Query-tp4134686p4134775.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Help to Understand a Solr Query

2014-05-05 Thread nativecoder
.472066.n3.nabble.com/Help-to-Understand-a-Solr-Query-tp4134686p4134763.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Help to Understand a Solr Query

2014-05-05 Thread Jack Krupansky
apache.org Subject: Re: Help to Understand a Solr Query I already went through the link. I understand about the boosting factor for the relevancy query=samplestring1 AND samplestring2 defType: edismax queryFields: Exact_Field1^1.0 Exact_Field2^0.9 Field1^0.8 Field2^0.7 fieldList: Column1, Column2

Re: Help to Understand a Solr Query

2014-05-05 Thread nativecoder
AND Field2:samplestring2) Is the above correct ? -- View this message in context: http://lucene.472066.n3.nabble.com/Help-to-Understand-a-Solr-Query-tp4134686p4134714.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Help to Understand a Solr Query

2014-05-05 Thread Jack Krupansky
ativecoder Sent: Monday, May 5, 2014 9:11 AM To: solr-user@lucene.apache.org Subject: Help to Understand a Solr Query Hi All I am completely new to solr and hoping to understand the basics. Can one of you help me to understand what the following query does, in which order it is getting executed I

Help to Understand a Solr Query

2014-05-05 Thread nativecoder
s in the query Sample of Schema for fields -- View this message in context: http://lucene.472066.n3.nabble.com/Help-to-Understand-a-Solr-Query-tp4134686.html Sent from the Solr - User mailing list archive at Nabble.com.

Explain Solr Query Execution

2014-05-05 Thread nativecoder
queryFields: Exact_Field1^1.0 Exact_Field2^0.9 Field1^0.8 Field2^0.7 fieldList: Column1, Column2 resultRows: 10 startRow: 0 P.S samplestring1 AND samplestring2 are some test strings in the query Sample of Schema for fields -- View this message in context: http://lucene.472066.n

Re: Understand Solr Query Execution

2014-05-04 Thread nativecoder
Can someone help with me this request -- View this message in context: http://lucene.472066.n3.nabble.com/Understand-Solr-Query-Execution-tp4134562p4134617.html Sent from the Solr - User mailing list archive at Nabble.com.

Understand Solr Query Execution

2014-05-04 Thread nativecoder
.n3.nabble.com/Understand-Solr-Query-Execution-tp4134562.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Explain Solr Query Execution

2014-05-04 Thread nativecoder
Hi Jack I have updated the query correctly. Please have a look -- View this message in context: http://lucene.472066.n3.nabble.com/Explain-Solr-Query-Execution-tp4134547p4134555.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Explain Solr Query Execution

2014-05-04 Thread nativecoder
Hi Jack I have updated the query correctly. Please have a look -- View this message in context: http://lucene.472066.n3.nabble.com/Explain-Solr-Query-Execution-tp4134547p4134554.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Explain Solr Query Execution

2014-05-04 Thread nativecoder
testuser.lastn...@hotmail.com AND testuser.lastname are some test strings in the query -- View this message in context: http://lucene.472066.n3.nabble.com/Explain-Solr-Query-Execution-tp4134547p4134552.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Explain Solr Query Execution

2014-05-04 Thread fiedzia
g is happening here where samplestring1 order by ... -- View this message in context: http://lucene.472066.n3.nabble.com/Explain-Solr-Query-Execution-tp4134547p4134549.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Explain Solr Query Execution

2014-05-04 Thread Jack Krupansky
ntity in your request. Maybe you should start by telling us what you are trying to achieve, in plain English. -- Jack Krupansky -Original Message- From: nativecoder Sent: Sunday, May 4, 2014 2:20 PM To: solr-user@lucene.apache.org Subject: Explain Solr Query Execution How will a

Explain Solr Query Execution

2014-05-04 Thread nativecoder
message in context: http://lucene.472066.n3.nabble.com/Explain-Solr-Query-Execution-tp4134547.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: how to write my first solr query

2014-04-28 Thread Evan Smith
in context: http://lucene.472066.n3.nabble.com/how-to-write-my-first-solr-query-tp4133509p4133601.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: how to write my first solr query

2014-04-28 Thread Jeroen Steggink
wingonwing.com] Sent: maandag 28 april 2014 19:20 To: solr-user@lucene.apache.org Subject: Re: how to write my first solr query Hello, Here is a better use case Documents A, B, C, and D A: "dear foo bar hello" B: "dear cat foo bar hello" C: "dear cat foo bar hello foo b

Re: how to write my first solr query

2014-04-28 Thread Evan Smith
prefixed with "cat". Does this make sense? I see that the ("foo bar" and not "cat foo bar") would not work as it would miss document C. Or at least I think it would. Evan -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-write-my-first-solr-query-tp4133509p4133537.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to write my first solr query

2014-04-28 Thread Ahmet Arslan
hen I don't want it while if it has "foo bar" I want it. I looked at span queries but was not able to come up with how to phrase this. Any pointers would be great! Thank you in advance, Evan -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-write-my-first-solr-query-tp4133509.html Sent from the Solr - User mailing list archive at Nabble.com.

how to write my first solr query

2014-04-28 Thread Evan Smith
only has "cat foo bar" then I don't want it while if it has "foo bar" I want it. I looked at span queries but was not able to come up with how to phrase this. Any pointers would be great! Thank you in advance, Evan -- View this message in context: http://lucene.47

Bug within the solr query parser (version 4.7.1)

2014-04-15 Thread Johannes Siegert
Hi, I have updated my solr instance from 4.5.1 to 4.7.1. Now the parsed query seems to be not correct. Query: /*q=*:*&fq=title:T&E&debug=true */ Before the update the parsed filter query is "*/+title:t&e +title:t +title:e/*". After the update the parsed filter query is "*/+((title:t&e title

Re: Asp.net MVC 4 and Solr Query Begining

2014-04-01 Thread danielkrudolf
Nazik thanks for the help, is there similar forums, this one seems that is not working, I can't post new subject or question. Thanks for help. -- View this message in context: http://lucene.472066.n3.nabble.com/Asp-net-MVC-4-and-Solr-Query-Begining-tp4128372p4128390.html Sent from the

Re: Asp.net MVC 4 and Solr Query Begining

2014-04-01 Thread Nazik
string error = ex.Message; >} >return View(); >} >} > }/ > > 5) And finaly I have create View (Index) > > So far I put this: > > /@model TestSolr.Models.Poskus > @{ >ViewBag.Title = "Index"; > } > > Index > / > > ---

Asp.net MVC 4 and Solr Query Begining

2014-04-01 Thread danielkrudolf
--- Now, this code does not work, it not returns customers from my Solr databse. Any sugestions, ideas, links to make this work. Realy, realy thanks for help. Daniel -- View this message in context: http://lucene.472066.n3.nabble.com/Asp-net-MVC-4-and-Solr-Query-Begining-tp4128372.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: regex in Solr Query

2014-03-13 Thread Priti Solanki
Both works!! pubdateraw:[2005 TO 2005] pubdateraw:[20050101 TO 20051231] Thanks Raymond for sharing the useful info as well. On Thu, Mar 13, 2014 at 4:30 PM, Raymond Wiker wrote: > Regular expressions is a text-matching mechanism, so you shouldn't expect > to be able to use it on nume

Re: regex in Solr Query

2014-03-13 Thread Raymond Wiker
Regular expressions is a text-matching mechanism, so you shouldn't expect to be able to use it on numeric data. If your timestamps are of the form you indicate, you should be able to filter on pubdateraw:[2005 TO 2005]. On Thu, Mar 13, 2014 at 11:45 AM, Priti Solanki wrote: > Hi, > > > I

Re: regex in Solr Query

2014-03-13 Thread Ahmet Arslan
Hi Priti, Thats an interesting question, I wonder the answer by myself too. Does prefix query work with int? q=pubdateraw:2013*  ? By mean time, as a workaround, try range queries. q=pubdateraw:{20130101 TO 20131231} On Thursday, March 13, 2014 12:45 PM, Priti Solanki wrote: Hi, I am try

regex in Solr Query

2014-03-13 Thread Priti Solanki
Hi, I am trying to fetch all the record for 2005 I have field(int) "pubdateraw": 20130508 Not working - select?q=pubdateraw:/2013*/ Not working - select?q=pubdateraw:/.2013*./ Is it possible to have regex on int field in solr 4.5?? to get the record with "20130508" how am i suppose to write

Re: Tracing Solr Query Execution and Performance

2014-02-26 Thread KNitin
Thanks, Jack. I will file a jira then. What are the generic ways to improve/tune a solr query if we know its expensive? Does the analysis page help with this at all? On Wed, Feb 26, 2014 at 3:39 PM, Jack Krupansky wrote: > I don't recall seeing anything related to passing the debug/de

Re: Tracing Solr Query Execution and Performance

2014-02-26 Thread Jack Krupansky
esday, February 26, 2014 5:25 PM To: solr-user@lucene.apache.org Subject: Tracing Solr Query Execution and Performance Hi there I have a few very expensive queries (atleast thats what the QTime tells me) that is causing high CPU problems on a few nodes. Is there a way where I can "trace

Tracing Solr Query Execution and Performance

2014-02-26 Thread KNitin
Hi there I have a few very expensive queries (atleast thats what the QTime tells me) that is causing high CPU problems on a few nodes. Is there a way where I can "trace" or do an "explain" on the solr query to see where it spends more time? More like profiling on a per sub

RE: Performance problem on Solr query on stemmed values

2014-02-26 Thread Erwin Gunadi
2014 3:27 PM To: solr-user@lucene.apache.org Subject: Re: Performance problem on Solr query on stemmed values Right, highlighting may have to re-analyze the input in order to return the highlighted data. This will be significantly slower than the search, especially if you have a large number of

Re: Performance problem on Solr query on stemmed values

2014-02-25 Thread Erick Erickson
Right, highlighting may have to re-analyze the input in order to return the highlighted data. This will be significantly slower than the search, especially if you have a large number of rows you're returning. You can get better performance in highlighting by using FastVectorHighlighter. See: http

Performance problem on Solr query on stemmed values

2014-02-25 Thread Erwin Gunadi
Hi, I would like to know whether anyone have experienced this kind of phenomena. We are having performance problem regarding query on stemmed value. I've documented the symptoms which I'm currently facing: Search on field content Search on field spell Highlighting (on content field)

Re: Tweaking Solr Query Result Cache

2014-02-22 Thread KNitin
Thanks, Erick. Turned off the query cache and sharded more aggressively helped bring down the latencies On Thu, Feb 20, 2014 at 5:07 PM, Erick Erickson wrote: > What you _do_ want to do is add replicas so you distribute the CPU > load across a bunch of machines. > > The QueryResultCache isn't ve

Re: Tweaking Solr Query Result Cache

2014-02-20 Thread Erick Erickson
What you _do_ want to do is add replicas so you distribute the CPU load across a bunch of machines. The QueryResultCache isn't very useful unless you have multiple queries that 1> reference the _exact_ same query, q, fq, sorting and all 2> don't page very far. This cache really only holds the doc

Tweaking Solr Query Result Cache

2014-02-20 Thread KNitin
Hello I have a 4 node cluster running Solr cloud 4.3.1. I have a few large collections sharded 8 ways across all the 4 nodes (with 2 shards per node). The size of the shard for the large collections is around 600-700Mb containing around 250K+ documents. Currently the size of the query cache is

Re: Using numeric ranges in Solr query

2014-02-12 Thread Jack Krupansky
USD. Any help is appreciated. Thank You. -- View this message in context: http://lucene.472066.n3.nabble.com/Using-numeric-ranges-in-Solr-query-tp4116941.html Sent from the Solr - User mailing list archive at Nabble.com.

Using numeric ranges in Solr query

2014-02-12 Thread jay67
. Any help is appreciated. Thank You. -- View this message in context: http://lucene.472066.n3.nabble.com/Using-numeric-ranges-in-Solr-query-tp4116941.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Using numeric ranges in Solr query

2014-02-12 Thread Rafał Kuć
s message in context: > http://lucene.472066.n3.nabble.com/Using-numeric-ranges-in-Solr-query-tp4116941.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr-query with NOT and OR operator

2014-02-11 Thread Johannes Siegert
@lucene.apache.org Subject: solr-query with NOT and OR operator Hi, my solr-request contains the following filter-query: fq=((-(field1:value1)))+OR+(field2:value2). I expect solr deliver documents matching to ((-(field1:value1))) and documents matching to (field2:value2). But solr deliver only

Re: solr-query with NOT and OR operator

2014-02-11 Thread Erick Erickson
). > > -- Jack Krupansky > > -Original Message- From: Johannes Siegert > Sent: Tuesday, February 11, 2014 10:57 AM > To: solr-user@lucene.apache.org > Subject: solr-query with NOT and OR operator > > > Hi, > > my solr-request contains the following filter-

Re: solr-query with NOT and OR operator

2014-02-11 Thread Jack Krupansky
)))+OR+(field2:value2). -- Jack Krupansky -Original Message- From: Johannes Siegert Sent: Tuesday, February 11, 2014 10:57 AM To: solr-user@lucene.apache.org Subject: solr-query with NOT and OR operator Hi, my solr-request contains the following filter-query: fq=((-(field1:value1

Re: solr-query with NOT and OR operator

2014-02-11 Thread Mikhail Khludnev
http://wiki.apache.org/solr/CommonQueryParameters#debugQuery and http://wiki.apache.org/solr/CommonQueryParameters#explainOther usually help so much On Tue, Feb 11, 2014 at 7:57 PM, Johannes Siegert < johannes.sieg...@marktjagd.de> wrote: > Hi, > > my solr-request contains the following filter-q

solr-query with NOT and OR operator

2014-02-11 Thread Johannes Siegert
Hi, my solr-request contains the following filter-query: fq=((-(field1:value1)))+OR+(field2:value2). I expect solr deliver documents matching to ((-(field1:value1))) and documents matching to (field2:value2). But solr deliver only documents, that are the result of (field2:value2). I receive

Re: Cancel Solr query?

2014-01-14 Thread Mikhail Khludnev
F it can find PostFilter in the map and trigger the interruption flag. On Mon, Jan 13, 2014 at 10:47 PM, Luis Lebolo wrote: > Hi All, > > Is it possible to cancel a Solr query/request currently in progress? > > Suppose the user starts searching for something (that takes a long time

Re: Cancel Solr query?

2014-01-13 Thread Alexandre Rafalovitch
y/solr/Common+Query+Parameters#CommonQueryParameters-The{{timeAllowed}}Parameter > . > It's a problem for Servlet request/response model, it need to be revised to > AJAX-one. > > > On Mon, Jan 13, 2014 at 10:47 PM, Luis Lebolo > wrote: > > > Hi All, > >

Re: Cancel Solr query?

2014-01-13 Thread Mikhail Khludnev
on, Jan 13, 2014 at 10:47 PM, Luis Lebolo wrote: > Hi All, > > Is it possible to cancel a Solr query/request currently in progress? > > Suppose the user starts searching for something (that takes a long time for > Solr to process), then decides the modify the query. I can

Cancel Solr query?

2014-01-13 Thread Luis Lebolo
Hi All, Is it possible to cancel a Solr query/request currently in progress? Suppose the user starts searching for something (that takes a long time for Solr to process), then decides the modify the query. I can simply ignore the previous request and create a new request, but Solr is still

Re: Solr Query Slowliness

2013-12-27 Thread Jilal Oussama
Thank you guys for your replies, Sorry that I forgot to mention that I have allocated 10 GB of memory to the Java Heap. 2013/12/26 Shawn Heisey > On 12/26/2013 3:38 AM, Jilal Oussama wrote: > > Solr was hosted on an Amazon ec2 m1.large (2 vCPU with 4 ECU, 7.5 GB > memory > > & 840 GB storage)

Re: Solr Query Slowliness

2013-12-26 Thread Shawn Heisey
On 12/26/2013 3:38 AM, Jilal Oussama wrote: > Solr was hosted on an Amazon ec2 m1.large (2 vCPU with 4 ECU, 7.5 GB memory > & 840 GB storage) and contained several cores for different usage. > > When I manually executed a query through Solr Admin (a query containing > 10~15 terms, with some of the

Re: Solr Query Slowliness

2013-12-26 Thread Rafał Kuć
Hello! It seems that the number of queries per second generated by your scripts may be too much for your Solr cluster to handle with the latency you want. Try launching your scripts one by one and see what is the bottle neck with your instance. I assume that for some number of scripts running at

Re: Solr Query Slowliness

2013-12-26 Thread Jilal Oussama
This an example of a query: http://myip:8080/solr/TestCatMatch_shard12_replica1/select?q=Royal+Cashmere+RC+106+CS+Silk+Cashmere+V+Neck+Moss+Green+Men ^10+s+Sweater+Cashmere^3+Men^3+Sweaters^3+Clothing^3&rows=1&wt=json&indent=true in return : { "responseHeader":{ "status":0, "QTime":191

Re: Solr Query Slowliness

2013-12-26 Thread Rafał Kuć
Hello! Different queries can have different execution time, that's why I asked about the details. When running the scripts, is Solr CPU fully utilized? To tell more I would like to see what queries are run against Solr from scripts. Do you have any information on network throughput between the se

Re: Solr Query Slowliness

2013-12-26 Thread Jilal Oussama
Thanks Rafal for your reply, My scripts are running on other independent machines so they does not affect Solr, I did mention that the queries are not the same (that is why I removed the query cache from solrconfig.xml), and I only get 1 result from Solr (which is the top scored one so no sorting

<    1   2   3   4   5   6   7   8   >