Re: problem during benchmarking solr query

2010-03-16 Thread Lance Norskog
arse error in solr. > > Can any one suggest me how do i handle this?so that entire query is > considered as uri  and also solr respond with appropriate reply. > thank you. > > > -- > View this message in context: > http://old.nabble.com/problem-during-benchmark

problem during benchmarking solr query

2010-03-16 Thread KshamaPai
http://old.nabble.com/problem-during-benchmarking-solr-query-tp27926801p27926801.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr query parser doesn't invoke analyzer for simple term query?

2010-03-16 Thread Teruhiko Kurosaka
It seems that Solr's query parser doesn't pass a single term query to the Analyzer for the field. For example, if I give it 2001年 (year 2001 in Japanese), the searcher returns 0 hits but if I quote them with double-quotes, it returns hits. In this experiment, I configured schema.xml so that the f

Re: Solr query parsing

2010-03-04 Thread Chris Hostetter
: Why would fq=sdate:+20100110 parse via a Solr server but not via : QueryParsing.parseQuery? Its choking on the + symbol in the sdate : value. is it something as simple as the fact that with a Solr Server the "+" is a URL escaped " " ? hard to say w/o knowing qhatr exactly it is you are doing

Solr query parsing

2010-03-03 Thread Jason Rutherglen
Why would fq=sdate:+20100110 parse via a Solr server but not via QueryParsing.parseQuery? Its choking on the + symbol in the sdate value. I'd use QParserPlugin however it requires passing a SolrQueryRequest, which is not kosher for testing, perhaps I'll need to bite the bullet and reproduce using

Re: Solr query single entity?

2010-01-21 Thread Shalin Shekhar Mangar
On Wed, Jan 20, 2010 at 9:47 PM, fredanthony wrote: > > Hi, I have Solr setup to use a DataImportHandler with my database. In the > data-config.xml file I have one document with two entities as follows: > > >query="SELECT user_id, user_id as pk_field, >

Solr query single entity?

2010-01-20 Thread fredanthony
message in context: http://old.nabble.com/Solr-query-single-entity--tp27244365p27244365.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr query search : flow of execution.

2009-12-31 Thread Erik Hatcher
My first recommendation would be to do this client-side, just search again with a new query if there are zero results returned. However, you can accomplish what you're after with custom QueryComponent, subclassing the default one, call super, check the count, if zero, adjust the query and c

solr query search : flow of execution.

2009-12-31 Thread Smith G
Hello All, I have no complete knowledge of query execution workflow . I have an issue. I had one approach to edit all the user submitted queries in the queryparser part ( for every request ), but later I was suggested to do query modification only if the user submitted query has no re

Re: solr query help alpha numeric and not

2009-11-05 Thread Joel Nylund
Avlesh, thanks those worked, for somre reason I never got your mail, found it in one of the list archives though. thanks again Joel On Nov 5, 2009, at 9:08 PM, Avlesh Singh wrote: Didn't the queries in my reply work? Cheers Avlesh On Fri, Nov 6, 2009 at 4:16 AM, Joel Nylund wrote: Hi yes

Re: solr query help alpha numeric and not

2009-11-05 Thread Avlesh Singh
Didn't the queries in my reply work? Cheers Avlesh On Fri, Nov 6, 2009 at 4:16 AM, Joel Nylund wrote: > Hi yes its a string, in the case of a title, it can be anything, a letter a > number, a symbol or a multibyte char etc. > > Any ideas if I wanted a query that was not a letter a-z or a number

Re: solr query help alpha numeric and not

2009-11-05 Thread Joel Nylund
Hi yes its a string, in the case of a title, it can be anything, a letter a number, a symbol or a multibyte char etc. Any ideas if I wanted a query that was not a letter a-z or a number 0-9, given that its a string? thanks Joel On Nov 4, 2009, at 9:10 AM, Jonathan Hendler wrote: Hi Joel,

Re: solr query help alpha numeric and not

2009-11-04 Thread Jonathan Hendler
Hi Joel, The ID is sent back as a string (instead of as an integer) in your example. Could this be the cause? - Jonathan On Nov 4, 2009, at 9:08 AM, Joel Nylund wrote: Hi, I have a field called firstLetterTitle, this field has 1 char, it can be anything, I need help with a few queries on

solr query help alpha numeric and not

2009-11-04 Thread Joel Nylund
Hi, I have a field called firstLetterTitle, this field has 1 char, it can be anything, I need help with a few queries on this char: 1.) I want all NON ALPHA and NON numbers, so any char that is not A-Z or 0-9 I tried: http://localhost:8983/solr/select?q=NOT%20firstLetterTitle:0%20TO%209%20

Re: using regular expressions in solr query

2009-10-09 Thread Rakhi Khatwani
: buzz:"baseWord:khat*" => gives no result > QUERY:buzz:"frequency:[2 TO 10]" =>gives no result > QUERY: buzz:"baseWord*khatwani" => gives the result (example above) > QUERY:buzz:"baseWord*khat*" = > gives no results. > ny pointers? >

Re: using regular expressions in solr query

2009-10-09 Thread Rakhi Khatwani
hi On Tue, Oct 6, 2009 at 7:15 PM, Feak, Todd wrote: > Any particular reason for the double quotes in the 2nd and 3rd query > example, but not the 1st, or is this just an artifact of your email? > > -Todd > > -Original Message- > From: Rakhi Khatwani [mailto:rkhatw

RE: using regular expressions in solr query

2009-10-06 Thread Feak, Todd
Subject: using regular expressions in solr query Hi, i have an example in which i want to use a regular expression in my solr query: for example: suppose i wanna search on a sample : raakhi rajnish ninad goureya sheetal ritesh rajnish ninad goureya sheetal where my content field is of type

using regular expressions in solr query

2009-10-06 Thread Rakhi Khatwani
Hi, i have an example in which i want to use a regular expression in my solr query: for example: suppose i wanna search on a sample : raakhi rajnish ninad goureya sheetal ritesh rajnish ninad goureya sheetal where my content field is of type text when i type in QUERY: content:raa* RESPONSE

Re: Solr Query help - sorting

2009-08-25 Thread Erik Earle
hanks guys! - Original Message From: Erik Hatcher To: solr-user@lucene.apache.org Sent: Tuesday, August 25, 2009 11:26:58 AM Subject: Re: Solr Query help - sorting If you're using DataImportHandler, a custom (Java or script) transformer could do this. Also an UpdateProcessor could do it

Re: Solr Query help - sorting

2009-08-25 Thread Erik Hatcher
I can because the app and db that Solr is indexing are not really the best place to add this type of functionality. - Original Message From: Koji Sekiguchi To: solr-user@lucene.apache.org Sent: Tuesday, August 25, 2009 4:04:29 AM Subject: Re: Solr Query help - sorting Hi E

Re: Solr Query help - sorting

2009-08-25 Thread Erik Earle
ality. - Original Message From: Koji Sekiguchi To: solr-user@lucene.apache.org Sent: Tuesday, August 25, 2009 4:04:29 AM Subject: Re: Solr Query help - sorting Hi Erik Earle, Ahh, I read your mail too fast... Erik Hatcher's method should work. Thanks! Koji Erik Hatcher wrote: > You could

Re: Solr Query help - sorting

2009-08-25 Thread Koji Sekiguchi
Hi Erik Earle, Ahh, I read your mail too fast... Erik Hatcher's method should work. Thanks! Koji Erik Hatcher wrote: You couldn't sort on a multiValued field though. I'd simply index a max_side field, and have the indexing client add a single valued field with max(length,width) to it. The

Re: Solr Query help - sorting

2009-08-25 Thread Erik Hatcher
You couldn't sort on a multiValued field though. I'd simply index a max_side field, and have the indexing client add a single valued field with max(length,width) to it. Then sort on max_side. Erik On Aug 25, 2009, at 4:00 AM, Constantijn Visinescu wrote: make a new multivalued fi

Re: Solr Query help - sorting

2009-08-25 Thread Constantijn Visinescu
make a new multivalued field in your schema.xml, copy both width and length into that field, and then sort on that field ? On Tue, Aug 25, 2009 at 5:40 AM, erikea...@yahoo.com wrote: > Clever... but if more than one row adds up to the same value I may get the > wrong order (like 50, 50 and 10, 90

Re: Solr Query help - sorting

2009-08-24 Thread erikea...@yahoo.com
Clever... but if more than one row adds up to the same value I may get the wrong order (like 50, 50 and 10, 90) I need a max function but the one provided only compares against a constant. Sent from my iPhone On Aug 24, 2009, at 6:15 PM, Koji Sekiguchi wrote: How about using sum() FunctionQu

Re: Solr Query help - sorting

2009-08-24 Thread Koji Sekiguchi
How about using sum() FunctionQuery, via: http://localhost:8983/solr/select/?q=_val_%3A%22sum%28width%2Clength%29%22 Thanks, Koji Erik Earle wrote: Suppose I have a database of rectangle attributes that I have indexed in Solr and I want to get the top 10 widest or longest rectangles from on

Solr Query help - sorting

2009-08-24 Thread Erik Earle
Suppose I have a database of rectangle attributes that I have indexed in Solr and I want to get the top 10 widest or longest rectangles from one query. name | width | length A | 100| 10 B | 10 | 90 C | 80 | 10 ... My indexed fields are: name, width, length I

Re: Multiple values for custom fields provided in SOLR query

2009-07-08 Thread Otis Gospodnetic
query you need. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Suryasnat Das > To: solr-user@lucene.apache.org > Sent: Tuesday, July 7, 2009 12:16:30 PM > Subject: Re: Multiple values for custom fields provided in SOLR query

Re: Multiple values for custom fields provided in SOLR query

2009-07-07 Thread Suryasnat Das
Hi Otis, Thanks for replying to my query. My query is, if multiple values are provided for a custom field then how can it be represented in a SOLR query. So if my field is fileID and its values are 111, 222 and 333 and my search string is ‘product’ then how can this be represented in a SOLR

Re: Multiple values for custom fields provided in SOLR query

2009-07-06 Thread Otis Gospodnetic
e.apache.org > Sent: Monday, July 6, 2009 11:31:10 AM > Subject: Multiple values for custom fields provided in SOLR query > > Hi, > I have a requirement in which i need to have multiple values in my custom > fields while forming the search query to SOLR. For example, > fileID

Multiple values for custom fields provided in SOLR query

2009-07-06 Thread Suryasnat Das
Hi, I have a requirement in which i need to have multiple values in my custom fields while forming the search query to SOLR. For example, fileID is my custom field. I have defined the fileID in schema.xml as . Now fileID can have multiple values like 111,222,333 etc. So will my query be of the form

Re: Solr Query | Field:value with dismaxquery

2009-06-19 Thread prerna07
gt; ?q=facetFormat_product_s:"Pfqs Cassette Sfqs"&qt=dismaxrequest - >> return correct results > > I'd attribute that to the "mm" (minimum match) parameter, the meaning > of which you can understand reading the following page, which it would > probably

Re: Solr Query | Field:value with dismaxquery

2009-06-17 Thread Michael Ludwig
prerna07 schrieb: I am facing issue with query with dismaxrequest. ?q=facetFormat_product_s:"Pfqs ePub eBook Sfqs" - return correct results ?q=facetFormat_product_s:"Pfqs ePub eBook Sfqs"&qt=dismaxrequest - dose not return results, although field facetFormat_product_s is defined in dismaxreq

Solr Query | Field:value with dismaxquery

2009-06-17 Thread prerna07
;qt=dismaxrequest - return correct results Please suggest if there are issues with dismaxrequest or Query mentioned above. Thanks, Prerna -- View this message in context: http://www.nabble.com/Solr-Query-%7C-Field%3Avalue-with-dismaxquery-tp24069634p24069634.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Lucene Query to Solr query

2009-05-28 Thread Erik Hatcher
0li76 stage:09j1b7) -available_fields_field:*|DEACTIVATION_DATE|* +(content_authorization_group:0025t4) Gr, Reza On May 26, 2009, at 12:46 AM, Yonik Seeley wrote: On Mon, May 25, 2009 at 3:09 AM, Reza Safari wrote: One little question: is there any utility that can convert core Lu

Re: Lucene Query to Solr query

2009-05-28 Thread Avlesh Singh
(stage:00li84 stage:00li74 stage:00li76 >> stage:09j1b7) -available_fields_field:*|DEACTIVATION_DATE|* >> +(content_authorization_group:0025t4) >> >> Gr, Reza >> >> >> On May 26, 2009, at 12:46 AM, Yonik Seeley wrote: >> >> On Mon, Ma

Re: Lucene Query to Solr query

2009-05-28 Thread Reza Safari
) -available_fields_field:*|DEACTIVATION_DATE|* + (content_authorization_group:0025t4) Gr, Reza On May 26, 2009, at 12:46 AM, Yonik Seeley wrote: On Mon, May 25, 2009 at 3:09 AM, Reza Safari wrote: One little question: is there any utility that can convert core Lucene query (any type e.q. Ter

Re: Solr query performance issue

2009-05-26 Thread Otis Gospodnetic
> Subject: Re: Solr query performance issue > > We actually want OR operator on  those values.  Filters can only do AND, > right? > > Is it better performance to have the query as field1:01 field1:02 field1:03 > instead of field1:(01 02 03)? > > BR, > Larry >

Re: Solr query performance issue

2009-05-26 Thread Yonik Seeley
Another little optimization would be to flatten the query. Instead of "field1:(02 04 05) field2:(01 02 03)" use "field1:02 field1:04 field1:05 field2:01 field2:02 field2:03" But I'd try and narrow down what queries are taking a long time, and see if there is a common element that could be optimize

Re: Solr query performance issue

2009-05-26 Thread Larry He
Team > > To: solr-user@lucene.apache.org; yo...@lucidimagination.com > > Sent: Tuesday, May 26, 2009 4:54:34 PM > > Subject: Re: Solr query performance issue > > > > Yes, those terms are important in calculating the relevancy scores so > they > > are not in the filter queries.

Re: Solr query performance issue

2009-05-26 Thread Otis Gospodnetic
on.com > Sent: Tuesday, May 26, 2009 4:54:34 PM > Subject: Re: Solr query performance issue > > Yes, those terms are important in calculating the relevancy scores so they > are not in the filter queries. I was hoping if I can cache everything about > a field, any combinations on

Re: Solr query performance issue

2009-05-26 Thread Development Team
Yes, those terms are important in calculating the relevancy scores so they are not in the filter queries. I was hoping if I can cache everything about a field, any combinations on the field values will be read from cache. Then it does not matter if I query for field1:(02 04 05), or field1:(01 02)

Re: Solr query performance issue

2009-05-26 Thread Yonik Seeley
On Tue, May 26, 2009 at 3:42 PM, Larry He wrote: > We have about 100 different fields and 1 million documents we indexed with > Solr.  Many of the fields are multi-valued, and some are numbers (for range > search).  We are expecting to perform solr queries contains over 30 terms > and often the re

Solr query performance issue

2009-05-26 Thread Larry He
Hi All, We have about 100 different fields and 1 million documents we indexed with Solr. Many of the fields are multi-valued, and some are numbers (for range search). We are expecting to perform solr queries contains over 30 terms and often the response time is well over a second. I found that

Re: Lucene Query to Solr query

2009-05-26 Thread Reza Safari
y type e.q. TermQuery etc) to solr query? It's is really a lot of work for me to rewrite existing code. Solr internal APIs take Lucene query types. I guess perhaps you mean transforming a Lucene query into a parameter for the external HTTP API? new TermQuery(new Term("foo",&q

Re: Lucene Query to Solr query

2009-05-25 Thread Yonik Seeley
On Mon, May 25, 2009 at 3:09 AM, Reza Safari wrote: > One little question: is there any utility that can convert core Lucene query > (any type e.q. TermQuery etc) to solr query? It's is really a lot of work > for me to rewrite existing code. Solr internal APIs take Lucene query

Re: Lucene Query to Solr query

2009-05-25 Thread Avlesh Singh
> > Also, most (none?) Query objects do not have a parseable toString > representation so it may not even work at all. > IMO, this behavior is limited to the Subclasses of SpanQuery. Anyways, I understand the general notion here. Cheers Avlesh On Mon, May 25, 2009 at 9:30 PM, Shalin Shekhar Mang

Re: Lucene Query to Solr query

2009-05-25 Thread Shalin Shekhar Mangar
On Mon, May 25, 2009 at 9:16 PM, Avlesh Singh wrote: > Point taken, Erik. But, is there really a downside towards using > Query.toString() if someone is not using any of the complex Query > Subclasses > (like a SpanQuery)? > Well, you will be relying on undocumented behavior that might change in

Re: Lucene Query to Solr query

2009-05-25 Thread Avlesh Singh
ermQueries, BooleanQueries, >> RangeQueries etc ..) and just do a luceneQuery.toString() when performing >> a >> Solr query. >> >> Thinking aloud, does it make sense for the SolrQuery object to take a >> Lucene >> Query object? >> I am suggesting something like this -

Re: Lucene Query to Solr query

2009-05-25 Thread Erik Hatcher
eries, RangeQueries etc ..) and just do a luceneQuery.toString() when performing a Solr query. Thinking aloud, does it make sense for the SolrQuery object to take a Lucene Query object? I am suggesting something like this - SolrQuery.setQuery(org.apache.lucene.search.Query luceneQuery) Cheers Avlesh O

Re: Lucene Query to Solr query

2009-05-25 Thread Avlesh Singh
You missed the point, Reza. toString *has to be implemented* by all Queryobjects in Lucene. All you have to do is to compose the right Lucene query matching your needs (all combinations of TermQueries, BooleanQueries, RangeQueries etc ..) and just do a luceneQuery.toString() when performing a Solr

Re: Lucene Query to Solr query

2009-05-25 Thread Reza Safari
(*myLuceneQuery.toString()*); QueryResponse response = mySolrServer.query(solrQuery); Cheers Avlesh On Mon, May 25, 2009 at 12:39 PM, Reza Safari wrote: Hello, One little question: is there any utility that can convert core Lucene query (any type e.q. TermQuery etc) to solr query? It'

Re: Lucene Query to Solr query

2009-05-25 Thread Avlesh Singh
llo, > > One little question: is there any utility that can convert core Lucene > query (any type e.q. TermQuery etc) to solr query? It's is really a lot of > work for me to rewrite existing code. > > Thanks, > Reza > > -- > Reza Safari > LUKKIEN > Coperni

Lucene Query to Solr query

2009-05-25 Thread Reza Safari
Hello, One little question: is there any utility that can convert core Lucene query (any type e.q. TermQuery etc) to solr query? It's is really a lot of work for me to rewrite existing code. Thanks, Reza -- Reza Safari LUKKIEN Copernicuslaan 15 6716 BM Ede The Nether

Re: Error java.net.SocketException: Connection reset with longer Solr Query

2009-05-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
d for now. > > Ankit > -- > View this message in context: > http://www.nabble.com/Error--java.net.SocketException%3A-Connection-reset-with-longer-Solr-Query-tp23322549p23340562.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- --Noble Paul

Re: Error java.net.SocketException: Connection reset with longer Solr Query

2009-05-01 Thread ANKITBHATNAGAR
Hi Guys Solr 1.3 only uses GET never uses POST. So I started using Sol4 1.4 nightly build for now. Ankit -- View this message in context: http://www.nabble.com/Error--java.net.SocketException%3A-Connection-reset-with-longer-Solr-Query-tp23322549p23340562.html Sent from the Solr - User mailing

Re: Error java.net.SocketException: Connection reset with longer Solr Query

2009-04-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
   at > org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) >        at > org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) >        at > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) >        at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) >        at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) >        at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) >        at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) >        at > org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:303) >        ... 70 more > -- > View this message in context: > http://www.nabble.com/Error--java.net.SocketException%3A-Connection-reset-with-longer-Solr-Query-tp23322549p23322549.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- --Noble Paul

Re: Error java.net.SocketException: Connection reset with longer Solr Query

2009-04-30 Thread Caio Quiozini
Hi ANKITBHATNAGAR have you already tried to set up the column36 as sfloat and a query like column36:[xxx.yy OR zzz.aa OR ... ] I think it should help to make the decrease the number of characters. A time ago I have expected problems cause the size of the url passed to tomcat. ANKITBHATN

Re: Problem encoding ':' char in a solr query

2009-03-18 Thread Erik Hatcher
With SolrJ, you can use ClientUtils.escapeQueryChars(str) Erik On Mar 18, 2009, at 7:51 AM, Toby Cole wrote: You'll need to escape the colon with a backslash, e.g. fileAbsolutePath:file\:///Volumes/spare/ts/ford/schema/data/news/ fdw2008/jn71796.xml see the lucene query parser synt

Re: Problem encoding ':' char in a solr query

2009-03-18 Thread Toby Cole
You'll need to escape the colon with a backslash, e.g. fileAbsolutePath:file\:///Volumes/spare/ts/ford/schema/data/news/ fdw2008/jn71796.xml see the lucene query parser syntax page: http://lucene.apache.org/java/2_3_2/queryparsersyntax.html#Escaping%20Special%20Characters Toby. On 1

Problem encoding ':' char in a solr query

2009-03-18 Thread Fergus McMenemie
Hello I have a solr field:- which an unrelated query reveals is populated with:- file:///Volumes/spare/ts/ford/schema/data/news/fdw2008/jn71796.xml however when I try and query for that exact document explicitly:- http://localhost:8080/apache-solr-1.4-dev/select?q=fileAbsolutePath:fil

Re: SOLR query.

2009-03-05 Thread Shalin Shekhar Mangar
On Thu, Mar 5, 2009 at 11:45 PM, Erik Hatcher wrote: > > On Mar 5, 2009, at 1:07 PM, Suryasnat Das wrote: > >> I have some queries on SOLR fo which i need immediate resolution. A fast >> help would be greatly appreciated. >> >> a.) We know that fields are also indexed. So can we index some specifi

Re: SOLR query.

2009-03-05 Thread Erik Hatcher
On Mar 5, 2009, at 1:07 PM, Suryasnat Das wrote: I have some queries on SOLR fo which i need immediate resolution. A fast help would be greatly appreciated. a.) We know that fields are also indexed. So can we index some specific fields(like author, id, etc) first and then do the indexing fo

SOLR query.

2009-03-05 Thread Suryasnat Das
Hi, I have some queries on SOLR fo which i need immediate resolution. A fast help would be greatly appreciated. a.) We know that fields are also indexed. So can we index some specific fields(like author, id, etc) first and then do the indexing for rest of the fields(like creation date etc) at a l

Re: Solr query for date

2009-01-08 Thread Akshay
ate_field:[NOW TO NOW+45DAYS] > >> > > >> > On Wed, Jan 7, 2009 at 3:00 PM, prerna07 > >> wrote: > >> > > >> >> > >> >> Hi, > >> >> > >> >> what will be the syntax of this sql query > >&g

Re: Solr query for date

2009-01-08 Thread prerna07
te_field:[NOW TO NOW+45DAYS] >> > >> > On Wed, Jan 7, 2009 at 3:00 PM, prerna07 >> wrote: >> > >> >> >> >> Hi, >> >> >> >> what will be the syntax of this sql query >> >> SELECT * FROM table WHERE date &g

Re: Solr query for date

2009-01-08 Thread Akshay
n 7, 2009 at 3:00 PM, prerna07 > wrote: > > > >> > >> Hi, > >> > >> what will be the syntax of this sql query > >> SELECT * FROM table WHERE date > SYSDATE and date >> in solr format ? > >> > >> I need to fetch r

Re: Solr query for date

2009-01-08 Thread prerna07
>> SELECT * FROM table WHERE date > SYSDATE and date > in solr format ? >> >> I need to fetch records where date is between current date and 45 days >> from >> today. >> >> Thanks, >> Prerna >> -- >> View this message in context:

Re: Solr query for date

2009-01-07 Thread prerna07
Is this necessary to define date_field as in schema.xml. OR Solr query can work on text field type ? Akshay-8 wrote: > > You can use DateMath as: > > date_field:[NOW TO NOW+45DAYS] > > On Wed, Jan 7, 2009 at 3:00 PM, prerna07 wrote: > >> >> Hi, >>

Re: Solr query for date

2009-01-07 Thread Akshay
date is between current date and 45 days > from > today. > > Thanks, > Prerna > -- > View this message in context: > http://www.nabble.com/Solr-query-for-date-tp21327696p21327696.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- Regard

Solr query for date

2009-01-07 Thread prerna07
Hi, what will be the syntax of this sql query SELECT * FROM table WHERE date > SYSDATE and date http://www.nabble.com/Solr-query-for-date-tp21327696p21327696.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Default Solr Query

2009-01-06 Thread Sandeep_metacube
Hi Bhawani' Ur Query should be *:*.Try this and have fun.! Bhawani Sharma wrote: > > Hi All, > > I want to fetch all the data from database. > so what my Solr query should be to get all documents from database? > like in mysql syntex is : SELECT * FROM table; >

Re: Default Solr Query

2009-01-06 Thread Shalin Shekhar Mangar
On Tue, Jan 6, 2009 at 3:09 PM, Bhawani Sharma wrote: > > Hi All, > > I want to fetch all the data from database. > so what my Solr query should be to get all documents from database? > like in mysql syntex is : SELECT * FROM table; > so what will be the syntex of this que

Default Solr Query

2009-01-06 Thread Bhawani Sharma
Hi All, I want to fetch all the data from database. so what my Solr query should be to get all documents from database? like in mysql syntex is : SELECT * FROM table; so what will be the syntex of this query in solr ? Please reply ASAP. Thanks in Advance. Thanks: Bhawani Sharma -- View this

Customize solr query

2008-11-02 Thread Marc Sturlese
ks in advanced Marc Sturlese -- View this message in context: http://www.nabble.com/Customize-solr-query-tp20293029p20293029.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR query times

2008-10-14 Thread Chris Hostetter
: If the latency is caused by loading and caching of Lucene's segments, : is there a way to force Lucene's index to preload this? This seems to configure some static queries in newSearcher and firstSearcher listeners ... it doesn't really matter what the queries are as long as they force some

Re: SOLR query times

2008-10-13 Thread Sammy Yu
Hi Grant, Thanks for your response. I'm trying to simulate our production environment's search traffic which has very low cache hit rate. Turning off the caches can help us better understand query times and the load of the slave's when distribution occurs with a small list of pre-canned queries

Re: SOLR query times

2008-10-12 Thread Grant Ingersoll
This is pretty typical. The first query is always more expensive, as Lucene lazily loads some pieces of the index into memory and you may see the FieldCache in action, depending on sorting, not to mention you are also seeing operating system caching take place. Is there some reason you don

SOLR query times

2008-10-10 Thread Sammy Yu
Hi, I'm using SOLR 1.3 on a index with approximately 8 million documents. I would like to disable SOLR's cache so that it is easier for me to test the scenario when there is a small likelihood of cache hits. I've disabled caching by commenting out the filterCache, queryResultCache, and documen

Re: Geo question: Need distance from a lat/lon from SOLR query

2008-06-13 Thread Shalin Shekhar Mangar
There's a solr integration already available -- LocalSolr http://locallucene.wiki.sourceforge.net/ http://locallucene.wiki.sourceforge.net/LocalSolr+(R1.5) On Sat, Jun 14, 2008 at 6:18 AM, Rich Rein <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm a newbie to this group. > > > > What is the best wa

Re: Geo question: Need distance from a lat/lon from SOLR query

2008-06-13 Thread Otis Gospodnetic
IL PROTECTED] > Sent: Friday, June 13, 2008 8:48:10 PM > Subject: Geo question: Need distance from a lat/lon from SOLR query > > Hi all, > > I'm a newbie to this group. > > > > What is the best way to build a SOLR service with geo-location? Would that >

Geo question: Need distance from a lat/lon from SOLR query

2008-06-13 Thread Rich Rein
Hi all, I'm a newbie to this group. What is the best way to build a SOLR service with geo-location? Would that be locallucene? Also what are the issues with integrating locallucene with SOLR? Is there a better solution altogether? Thanks, Rich

Re: solr query syntax

2008-06-06 Thread Otis Gospodnetic
executed. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Cam Bazz <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Thursday, June 5, 2008 4:14:30 PM > Subject: solr query syntax > > Hello, > >

solr query syntax

2008-06-05 Thread Cam Bazz
Hello, how can we specify in query so it will just bring certain field and query in the default field? for example can I do a year:1998 AND searchword Best Regards, -C.B.

Re: solr query time

2008-04-14 Thread neil22
gt; > - Original Message > From: neil22 <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Monday, April 14, 2008 5:00:05 PM > Subject: solr query time > > > It seems that response time to a query is linear with the size of the > result >

Re: solr query time

2008-04-14 Thread Otis Gospodnetic
-- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: neil22 <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Monday, April 14, 2008 5:00:05 PM Subject: solr query time It seems that response time to a query is linear with the size of the result set eve

solr query time

2008-04-14 Thread neil22
documents that have "feature1" all with the same score - query time = 30 seconds to get first 10 hits. Is there any optimization I can do so that query time for first 10 is constant regardless of result set size? -- View this message in context: http://www.nabble

Re: Changing Solr Query Syntax

2008-03-18 Thread Yonik Seeley
n, thanks a lot for answering that fast. > > > > > > > > > Use Case: > > > I'm migrating from a proprietary index server (XYZ) to Solr. All my > > > applications and my customer's applications relay on the query > > specification &g

Re: Changing Solr Query Syntax

2008-03-18 Thread Ben Sanchez
<[EMAIL PROTECTED]> wrote: > > Hi Shalin, thanks a lot for answering that fast. > > > > > > Use Case: > > I'm migrating from a proprietary index server (XYZ) to Solr. All my > > applications and my customer's applications relay on the query &

Re: Changing Solr Query Syntax

2008-03-18 Thread Shalin Shekhar Mangar
r. All my > applications and my customer's applications relay on the query specification > of XYZ. It would be hard to modify all those apps to use the Solr Query > Syntax (although, it would be ideal, Sorl query is a lot superior than that > of XYZ). > > Basically I need

Re: Changing Solr Query Syntax

2008-03-18 Thread Ben Sanchez
Hi Shalin, thanks a lot for answering that fast. Use Case: I'm migrating from a proprietary index server (XYZ) to Solr. All my applications and my customer's applications relay on the query specification of XYZ. It would be hard to modify all those apps to use the Solr Query Syntax (al

Re: Changing Solr Query Syntax

2008-03-18 Thread Ben Sanchez
Shalin, thanks a lot for answering that fast. Use Case: I'm migrating from a proprietary index server (XYZ) to Solr. All my applications and my customer's applications relay on the query specification of XYZ. It would be hard to modify all those apps to use the Solr Query Syntax (al

Re: Changing Solr Query Syntax

2008-03-18 Thread Shalin Shekhar Mangar
Hi Ben, It would be nice if you can tell us your use-case so that we can be more helpful. Why does the normal query syntax not work well for you? What are you trying to accomplish? Maybe there is an easier way. On Tue, Mar 18, 2008 at 8:17 PM, Ben Sanchez <[EMAIL PROTECTED]> wrote: > Hi solr use

Changing Solr Query Syntax

2008-03-18 Thread Ben Sanchez
Hi solr users, I need to change the query format for solr a little bit. How can I accomplish this. I don't wan to modify the underlying lucene query specification but just the way I query the index through the the GET http method in solr. Thanks a lot for your help. Ben

Re: Fastest Solr query

2008-03-02 Thread Chris Hostetter
: The fastest solr query I can find is any query on unused dynamic field name: : unused_dynamic_field_s:3 : A better ping query would be : : q=unused_dynamic_field_s:3 faster isn't neccessarily better for a ping query ... the goal of a ping query is typically to get a baseline sen

Fastest Solr query

2008-03-01 Thread Lance Norskog
The fastest solr query I can find is any query on unused dynamic field name: unused_dynamic_field_s:3 Is there another query style that should be faster? See this line in http://wiki.apache.org/solr/SolrConfigXml q=solr&version=2.0&start=0&rows=0 A better ping query would be

RE: Solr Query Language

2007-04-16 Thread Daniel Pitts
+"]"; > -Original Message- > From: Jack L [mailto:[EMAIL PROTECTED] > Sent: Sunday, April 15, 2007 10:32 PM > To: solr-user@lucene.apache.org > Subject: Solr Query Language > > > Is the lucene query syntax available in solr? I saw this page > about

Re: Solr Query Language

2007-04-15 Thread Bertrand Delacretaz
On 4/16/07, Jack L <[EMAIL PROTECTED]> wrote: Is the lucene query syntax available in solr? ... The syntax depends on the request handler used, if you're using the standard one the docs are at http://wiki.apache.org/solr/StandardRequestHandler -Bertrand

Solr Query Language

2007-04-15 Thread Jack L
500" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:447) at java.lang.Integer.parseInt(Integer.java:497) If solr query language is different from that of Lucene, is there a page that documents this? -- Best regards, Jack

<    3   4   5   6   7   8