Re: solr query

2013-01-22 Thread Shawn Heisey
On 1/22/2013 8:33 AM, hassancrowdc wrote: I thought that is the problem in the beginning but I have tried Kobo, but it does not give me result(numFound=0) If you want i can send you xml of resultset. and can you explain ho i can make it flexible so that it takes care of upper/lowercase or any oth

Re: solr query

2013-01-22 Thread hassancrowdc
one fieldtype (text) that would make this match - the > analysis chain includes LowerCaseFilterFactory. You would have to > change the types of one or more of your fields and then completely > reindex. > > Thanks, > Shawn > > > > -- > If

Re: solr query

2013-01-22 Thread Shawn Heisey
On 1/22/2013 8:16 AM, hassancrowdc wrote: 0 1 all true true kobo model dismax Based on what I can see, I am thinking it didn't match because what's in your index is probably Kobo, and you are searching for kobo. The type on all your fields except id is string, which is defined as StrField

Re: solr query

2013-01-22 Thread hassancrowdc
obo kobo (+DisjunctionMaxQuery((model:kobo)) ())/no_coord +(model:kobo) () DisMaxQParser 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 -- View this message in context: http://lucene.472066.n3.nabble.com/solr-query-tp4035325p4035340.html Sent fro

Re: solr query

2013-01-22 Thread Shawn Heisey
On 1/22/2013 7:32 AM, hassancrowdc wrote: Hi, I have indexed data from mysql database to solr. Indexing is successful everything is woring ok but when i query through the fields of my table i can only query from one field none of the rest are giving me any resultset(numFound comes out to be 0) an

solr query

2013-01-22 Thread hassancrowdc
look for problem? I have seen logs it does not show anything happen. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-query-tp4035325.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Parsing a Lucene/Solr query and adding more clauses

2013-01-16 Thread Chris Hostetter
: I am trying to write a util which can parse a Lucene/Solr query and convert : into an object representation to add more clauses to the query. : : Eg. : Input: (name:John AND name:Doe) : Output: ((firstName:John OR lastName:John) AND (firstName:John OR : lastName:John)) edismax can support

Re: Solr Query | Loading documents with large content (Performance)

2013-01-15 Thread Otis Gospodnetic
Hi, Have a look under http://wiki.apache.org/solr/UpdateCSV#Methods_of_uploading_CSV_recordsabout uploading a *local* file. Otis -- Solr & ElasticSearch Support http://sematext.com/ On Tue, Jan 15, 2013 at 3:59 AM, Uwe Clement wrote: > Hi there, > > > > sometimes we have to load very big do

Re: Tutorial for Solr query language, dismax and edismax?

2013-01-15 Thread Walter Underwood
: > Does anyone have a great tutorial for learning the solr query language, > dismax and edismax? > I've searched endlessly for one but I haven't been able to locate one that > is comprehensive enough and has a lot of examples (that actually work!). > I also tried

Tutorial for Solr query language, dismax and edismax?

2013-01-15 Thread eShard
Does anyone have a great tutorial for learning the solr query language, dismax and edismax? I've searched endlessly for one but I haven't been able to locate one that is comprehensive enough and has a lot of examples (that actually work!). I also tried to use wildcards, logical operat

Solr Query | Loading documents with large content (Performance)

2013-01-15 Thread Uwe Clement
Hi there, sometimes we have to load very big documents, 1-2 multi-value-fields of it can contain 10.000 items. And unfortunately we need this informations. We have to load 50 documents in order to show to the result table in the UI. The query takes around 50 seconds. I guess 48 seconds of

Re: Getting Lucense Query from Solr query (Or converting Solr Query to Lucense's query)

2013-01-07 Thread Roman Chyla
ery q = parser.parse(); maybe there is a one-line call to get the parser from solr core, but i can't find it now. Have a look at one of the subclasses of QParser --roman On Mon, Jan 7, 2013 at 4:27 AM, Sabeer Hussain wrote: > Is there a way to get Lucene's query from Solr query?. I h

Getting Lucense Query from Solr query (Or converting Solr Query to Lucense's query)

2013-01-07 Thread Sabeer Hussain
Is there a way to get Lucene's query from Solr query?. I have a requirement to search for terms in multiple heterogeneous indices. Presently, I am using the following approach try { Directory directory1 = FSDirectory.open(new File("E:\\databas

Re: Improving the speed of Solr query over 16 million tweets

2012-12-19 Thread naryad
/Improving-the-speed-of-Solr-query-over-16-million-tweets-tp4028222p4028228.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Improving the speed of Solr query over 16 million tweets

2012-12-19 Thread Alexandre Rafalovitch
value. So I am using wildcard for this. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Improving-the-speed-of-Solr-query-over-16-million-tweets-tp4028222p4028225.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Improving the speed of Solr query over 16 million tweets

2012-12-19 Thread naryad
message in context: http://lucene.472066.n3.nabble.com/Improving-the-speed-of-Solr-query-over-16-million-tweets-tp4028222.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Query Parameter : ids - What is this used for?

2012-12-03 Thread deniz
ield we are using for querying on shards? - Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Query-Parameter-ids-What-is-this-used-for-tp4024152p4024159.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Query Parameter : ids - What is this used for?

2012-12-03 Thread Yonik Seeley
On Mon, Dec 3, 2012 at 10:55 PM, deniz wrote: > Hello, as it is clear in the title too, i wanna know for what solr uses this > parameter... i see it on a sharding env on cloud, so i guess it is related > with cloud but still there is no explanation about it in any of wiki pages > that i have check

Solr Query Parameter : ids - What is this used for?

2012-12-03 Thread deniz
parameter? - Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Query-Parameter-ids-What-is-this-used-for-tp4024152.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr : query for multiValued Field

2012-11-27 Thread Scatman
I will get it quickly :) thanks for advice ! Thread can be closed ^^ -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-for-multiValued-Field-tp4022600p4022633.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Finding max value from a fieldvalue using solr query

2012-11-24 Thread Luis Cappa Banda
esponse. > > -- Jack Krupansky > > -Original Message- From: Shaveta_Chawla > Sent: Saturday, November 24, 2012 7:32 AM > To: solr-user@lucene.apache.org > Subject: Finding max value from a fieldvalue using solr query > > I have indexed an XML file in solr, which

Re: Finding max value from a fieldvalue using solr query

2012-11-24 Thread Jack Krupansky
he query response. -- Jack Krupansky -Original Message- From: Shaveta_Chawla Sent: Saturday, November 24, 2012 7:32 AM To: solr-user@lucene.apache.org Subject: Finding max value from a fieldvalue using solr query I have indexed an XML file in solr, which looks like: ABC 282307 121422 M

Finding max value from a fieldvalue using solr query

2012-11-24 Thread Shaveta_Chawla
.472066.n3.nabble.com/Finding-max-value-from-a-fieldvalue-using-solr-query-tp4022167.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Is it possible to use something like sum() in a solr-query?

2012-10-29 Thread Jack Krupansky
for a single document. Maybe what we need is a separate parameter for such aggregate functions. -- Jack Krupansky -Original Message- From: Markus.Mirsberger Sent: Monday, October 29, 2012 11:45 AM To: solr-user@lucene.apache.org Subject: Re: Is it possible to use something like sum(

Re: Is it possible to use something like sum() in a solr-query?

2012-10-29 Thread Rafał Kuć
--- From: Markus.Mirsberger >> Sent: Monday, October 29, 2012 11:08 AM >> To: solr-user@lucene.apache.org >> Subject: Is it possible to use something like sum() in a solr-query? >> >> Hi, >> >> the subject says it all :) >> Is there something like sum() available in a solr query to sum all >> values of a field ? >> >> Regards, >> Markus Mirsberger

Re: Is it possible to use something like sum() in a solr-query?

2012-10-29 Thread Markus.Mirsberger
: Markus.Mirsberger Sent: Monday, October 29, 2012 11:08 AM To: solr-user@lucene.apache.org Subject: Is it possible to use something like sum() in a solr-query? Hi, the subject says it all :) Is there something like sum() available in a solr query to sum all values of a field ? Regards, Markus Mirsberger

Re: Is it possible to use something like sum() in a solr-query?

2012-10-29 Thread Jack Krupansky
Krupansky -Original Message- From: Markus.Mirsberger Sent: Monday, October 29, 2012 11:08 AM To: solr-user@lucene.apache.org Subject: Is it possible to use something like sum() in a solr-query? Hi, the subject says it all :) Is there something like sum() available in a solr query to sum

Is it possible to use something like sum() in a solr-query?

2012-10-29 Thread Markus.Mirsberger
Hi, the subject says it all :) Is there something like sum() available in a solr query to sum all values of a field ? Regards, Markus Mirsberger

Re: Forming Solr Query for multiple operators against multiple fields

2012-10-23 Thread Ahmet Arslan
> Thanks Ahmet, however as I have > mentioned in my e-mail, we're using Solr > 1.4 here and edismax is supported from Solr 3.1. I think 1.4 has http://wiki.apache.org/solr/DisMaxQParserPlugin But you need to use - + unitary operators with this. (day AND world) NOT night => +day +world -night

Re: Forming Solr Query for multiple operators against multiple fields

2012-10-23 Thread Sandeep Mestry
Thanks Ahmet, however as I have mentioned in my e-mail, we're using Solr 1.4 here and edismax is supported from Solr 3.1. :-) On 23 October 2012 13:42, Ahmet Arslan wrote: > > > --- On Tue, 10/23/12, Sandeep Mestry wrote: > > > From: Sandeep Mestry > > Su

Re: Forming Solr Query for multiple operators against multiple fields

2012-10-23 Thread Ahmet Arslan
--- On Tue, 10/23/12, Sandeep Mestry wrote: > From: Sandeep Mestry > Subject: Forming Solr Query for multiple operators against multiple fields > To: solr-user@lucene.apache.org > Date: Tuesday, October 23, 2012, 2:51 PM > Dear All, > > I have a requirement to search ag

Forming Solr Query for multiple operators against multiple fields

2012-10-23 Thread Sandeep Mestry
Dear All, I have a requirement to search against multiple fields like title, description, annotations, comments, text and the query can contain multiple boolean operators. So, can someone point me out in right direction. If the user enters a query like , - (day AND world) NOT night I want to fo

Re: Problem with Special Characters in SOLR Query

2012-09-28 Thread Erick Erickson
sionalismo *É* Isso A*í* > > > Please suggest me in this. > > > > AnilJayanti > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Problem-with-Special-Characters-in-SOLR-Query-tp4010712p4010878.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Problem with Special Characters in SOLR Query

2012-09-27 Thread Erick Erickson
cally incorrect > (org.apache.lucene.queryParser.ParseException: Cannot parse 'Oot \': Lexical > error at line 1, column 6. Encountered: after : ""). > > anilJayanti > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Problem-with-Special-Characters-in-SOLR-Query-tp4010712p4010720.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Problem with Special Characters in SOLR Query

2012-09-27 Thread Toke Eskildsen
On Thu, 2012-09-27 at 13:49 +0200, aniljayanti wrote: > But getting error with below. > > q=Oot \& Aboot > > Error message : > -- > message org.apache.lucene.queryParser.ParseException: Cannot parse 'Oot \': > Lexical error at line 1, column 6. Encountered: after : "" It seems like

Re: Problem with Special Characters in SOLR Query

2012-09-27 Thread aniljayanti
p://lucene.472066.n3.nabble.com/Problem-with-Special-Characters-in-SOLR-Query-tp4010712p4010720.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Problem with Special Characters in SOLR Query

2012-09-27 Thread irshad siddiqui
uot; /> > ignoreCase="true" expand="true"/> > > > > > > > stored="true" /> > > multiValued="true"/> > > text > > > > Please suggest me in this, and thanks in advance. > > AnilJayanti > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Problem-with-Special-Characters-in-SOLR-Query-tp4010712.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Problem with Special Characters in SOLR Query

2012-09-27 Thread aniljayanti
r : "\"Healing \\"). schema.xml --- text Please suggest me in this, and thanks in advance. AnilJayanti -- View this message in context: http://lucene.472066.n3.nabble.c

Re: Is it possible to do an "if" statement in a Solr query?

2012-09-14 Thread Chris Hostetter
: Hello Hoss! : The case here would be: "if total result set contains any original medicines : X, : then remove all generic medicines Y such that Y is a generic form of X." : : In your example and in my case, the result should be Vaxidrop + Generipill then wunder's suggestion of grouping on the

Re: Is it possible to do an "if" statement in a Solr query?

2012-09-14 Thread Gustav
p://lucene.472066.n3.nabble.com/Is-it-possible-to-do-an-if-statement-in-a-Solr-query-tp4007311p4007853.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Is it possible to do an "if" statement in a Solr query?

2012-09-13 Thread Chris Hostetter
: But when i search for some medicine, following my business rules, i have to : verify if the result of my search contains any Original medicine, if there : is any, then i wouldn't show the generics of this respective medicine, on : the other hand, if there wasnt any original product in the resul

Re: Is it possible to do an "if" statement in a Solr query?

2012-09-13 Thread Gustav
>> on >>> the other hand, if there wasnt any original product in the result i >>> would >>> have to return its generics. >>> Im currently returning the original and generics, is there a way to do >>> this >>> kind of "checking" in solr? >>> >>> Thanks! :) > >> > I have tought doing this Amit, but in this specific case,i would not be able to show generics at all. a But i appreciate the help! -- View this message in context: http://lucene.472066.n3.nabble.com/Is-it-possible-to-do-an-if-statement-in-a-Solr-query-tp4007311p4007468.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Is it possible to do an "if" statement in a Solr query?

2012-09-12 Thread Amit Nithian
If the fact that it's "original" vs "generic" is a field "is_original" 0/1 can you sort by is_original? Similarly, could you put a huge boost on is_original in the dismax so that document matches on is_original score higher than those that aren't original? Or is your goal to not show generics *at a

Re: Is it possible to do an "if" statement in a Solr query?

2012-09-12 Thread Jack Krupansky
Solr and your app. http://wiki.apache.org/solr/SearchComponent -- Jack Krupansky -Original Message- From: Gustav Sent: Wednesday, September 12, 2012 5:09 PM To: solr-user@lucene.apache.org Subject: Is it possible to do an "if" statement in a Solr query? Hello everyone, I'm wo

Re: Is it possible to do an "if" statement in a Solr query?

2012-09-12 Thread Walter Underwood
You may be able to do this with grouping. Group on the medicine "family", and only show the Original if there are multiple items in the family. wunder On Sep 12, 2012, at 2:09 PM, Gustav wrote: > Hello everyone, I'm working on an e-commerce website and using Solr as my > Search Engine, im reall

Is it possible to do an "if" statement in a Solr query?

2012-09-12 Thread Gustav
uct in the result i would have to return its generics. Im currently returning the original and generics, is there a way to do this kind of "checking" in solr? Thanks! :) -- View this message in context: http://lucene.472066.n3.nabble.com/Is-it-possible-to-do-an-if-statement-in-a-Solr-

Re: display SOLR Query in web page

2012-08-22 Thread Michael Della Bitta
om >>> Where Influence Isn’t a Game >>> >>> >>> On Wed, Aug 22, 2012 at 3:40 AM, Bernd Fehling >>> wrote: >>>> Now this is very scary, while searching for "solr direct access per docid" >>>> I got a hit >>>&g

Re: display SOLR Query in web page

2012-08-22 Thread Bernd Fehling
omeland Security Digital Library. Interested in what they have to >>> tell me >>> about my search I clicked on the link to the page. First the page had >>> nothing unusual >>> about it, but why I get the hit? >>> http://www.hsdl.org/?collection/stratpol&i

Re: display SOLR Query in web page

2012-08-22 Thread Michael Della Bitta
hy I get the hit? >> http://www.hsdl.org/?collection/stratpol&id=4 >> >> Inspecting the page source view shows that they have the solr query >> displayed direct >> on their page as "span" with "style=display:none". >> -- snippe

Re: display SOLR Query in web page

2012-08-22 Thread Michael Della Bitta
he page had nothing > unusual > about it, but why I get the hit? > http://www.hsdl.org/?collection/stratpol&id=4 > > Inspecting the page source view shows that they have the solr query displayed > direct > on their page as "span" with "style=display

display SOLR Query in web page

2012-08-22 Thread Bernd Fehling
hit? http://www.hsdl.org/?collection/stratpol&id=4 Inspecting the page source view shows that they have the solr query displayed direct on their page as "span" with "style=display:none". -- snippet -- *** SOLR Query *** — q=Collection:0 AND (TabSection:(&qu

SOLR - Query - Filtering on grouped result

2012-07-24 Thread SARKAR, Subrata
Hi, Is there a way to make a SOLR query which will filter the result returned by the group. I am having the following three document in SOLR, and I want to pick up the latest document based on RqDate which is associated with OrganizationIdRef:154. So I wrote my query to group the results by

Re: what is the sequence of execution of solr query , is it right to left?

2012-07-05 Thread Erick Erickson
r of > execution of boolean operators? > > I guess it is > > 1)Get result of B OR C > 2) Get Result of A AND (result of step 1) > > Is it correct?. I am using solr 3.6. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/what-is-the-sequence-o

Re: How to improve this solr query?

2012-07-04 Thread Chamnap Chhorn
Hi Amit, Thanks for your response. 1. It's just sometimes I see solr doesn't sort by score desc, so I made it like that. I will have to check that again. 2. q1 and q2 are doing the search but just on different fields. String fields means that it must match exactly, and solr need the q parameter to

Re: How to improve this solr query?

2012-07-04 Thread Amit Nithian
Couple questions: 1) Why are you explicitly telling solr to sort by score desc, shouldn't it do that for you? Could this be a source of performance problems since sorting requires the loading of the field caches? 2) Of the query parameters, q1 and q2, which one is actually doing "text" searching on

Re: How to improve this solr query?

2012-07-03 Thread Chamnap Chhorn
Hi Erick and Michael, It's not asterisk at all. Sorry to confuse you guys, it's actually *dot *letter. I put it that way because it contains quite a lot of fields there. The reason I'm doing that is because I have some string fields and non-string fields. The idea is to send quoted value to strin

Re: How to improve this solr query?

2012-07-03 Thread Erick Erickson
Chamnap: I've seen various e-mail programs put the asterisk in for terms that are in bold face. The queries you pasted have lots of "*" characters in it, I suspect that they were just things you put in bold in your original, that may be the source of the confusion about whether you were using wil

Re: How to improve this solr query?

2012-07-03 Thread Michael Della Bitta
Chamnap, I have a hunch you can get away with not using *s. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinions.com On Tue, Jul 3, 2012 at 2:16 AM, Chamnap Chhorn wrote: > Lance, I didn't use widcard at all

Re: How to improve this solr query?

2012-07-02 Thread Chamnap Chhorn
Lance, I didn't use widcard at all. I use only this, the difference is quoted or not. q2=*"apartment"* q1=*apartment* * * On Tue, Jul 3, 2012 at 12:06 PM, Lance Norskog wrote: > &q2=*"apartment"* > q1=*apartment* > > These are wildcards > > On Mon, Jul 2, 2012 at 8:30 PM, Chamnap Chhorn > wrote

Re: How to improve this solr query?

2012-07-02 Thread Lance Norskog
&q2=*"apartment"* q1=*apartment* These are wildcards On Mon, Jul 2, 2012 at 8:30 PM, Chamnap Chhorn wrote: > Hi Lance, > > I didn't use wildcards at all. This is a normal text search only. I need a > string field because it needs to be matched exactly, and the value is > sometimes a multi-word,

Re: How to improve this solr query?

2012-07-02 Thread Chamnap Chhorn
Hi Lance, I didn't use wildcards at all. This is a normal text search only. I need a string field because it needs to be matched exactly, and the value is sometimes a multi-word, so quoted it is necessary. By the way, if I do a super plain query, it takes at least 600ms. I'm not sure why. On anot

Re: How to improve this solr query?

2012-07-02 Thread Lance Norskog
Wildcards are slow. Leading wildcards are even more slow. Is there some way to search that data differently? If it is a string, can you change it to a text field and make sure 'apartment' is a separate word? On Mon, Jul 2, 2012 at 10:01 AM, Chamnap Chhorn wrote: > Hi Michael, > > Thanks for quick

Re: How to improve this solr query?

2012-07-02 Thread Chamnap Chhorn
Hi Michael, Thanks for quick response. Based on documentation, "facet.mincount" means that solr will return facet fields that has at least that number. For me, I just want to ensure my facet fields count doesn't have zero value. I try to increase to 10, but it still slows even for the same query.

Re: How to improve this solr query?

2012-07-02 Thread Michael Della Bitta
Hi Chamnap, The first thing that jumped out at me was "facet.mincount=1". Are you sure you need this? Increasing this number should drastically improve speed. Michael Della Bitta Appinions, Inc. -- Where Influence Isn’t a Game. http://www.appinion

Re: Solr - query

2012-06-29 Thread Michael Della Bitta
request hanlder is default="true" name="auto"> > >    edismax >   all >   10 > >    id name Street_Addr >   id,name,Street_Addr > > > > > Can some one give me a clue where I am going wrong > > Thanks > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-query-tp3992117.html > Sent from the Solr - User mailing list archive at Nabble.com.

Solr - query

2012-06-29 Thread gopes
all 10 id name Street_Addr id,name,Street_Addr Can some one give me a clue where I am going wrong Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-tp3992117.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: sort by publishedDate and get published Date in solr query results

2012-06-06 Thread Shameema Umer
Original Message- From: Shameema Umer > Sent: Wednesday, June 06, 2012 7:37 AM > To: solr-user@lucene.apache.org > Subject: Re: sort by publishedDate and get published Date in solr query > results > > > Versions: Nutch: 1.4 and Solr: 3.4

Re: sort by publishedDate and get published Date in solr query results

2012-06-06 Thread Jack Krupansky
publishedDate and get published Date in solr query results Versions: Nutch: 1.4 and Solr: 3.4 My schema file contains But I do not know whether this feed plugin is working or not as I am new to nutch and solr. Here is my query http://localhost:8983/solr

Re: sort by publishedDate and get published Date in solr query results

2012-06-06 Thread Shameema Umer
new tools that should make that easier. > > See: > https://issues.apache.org/**jira/browse/SOLR-2802<https://issues.apache.org/jira/browse/SOLR-2802> > > -- Jack Krupansky > > -Original Message- From: Shameema Umer > Sent: Wednesday, June 06, 2012 4:12 AM > To: so

Re: sort by publishedDate and get published Date in solr query results

2012-06-06 Thread Jack Krupansky
-Original Message- From: Shameema Umer Sent: Wednesday, June 06, 2012 4:12 AM To: solr-user@lucene.apache.org Subject: sort by publishedDate and get published Date in solr query results Hi, Please help me sort by publishedDate and get publishedDate in solr query results. Do i need to install anything(plugin). Thanks Shameema

Re: Solr query and double quotes

2012-05-16 Thread Jack Krupansky
Change "blah blah" to "blah" "blah", two separate strings, two separate query terms. -- Jack Krupansky -Original Message- From: anarchos78 Sent: Wednesday, May 16, 2012 1:28 PM To: solr-user@lucene.apache.org Subject: Solr query and double quotes Hel

Solr query and double quotes

2012-05-16 Thread anarchos78
remove the double quotes from Solr? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-and-double-quotes-tp3984181.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr query issues

2012-05-10 Thread anarchos78
I am newbie in "Solr" thing. But with your advices i am in track now (sort of way). It seems that "Lucene" community is responsible, and fortunately it doesn't turns its back to newbies! Thank you guys, Tom -- View this message in context: http://lucene.472066.n3.nab

Re: Solr query issues

2012-05-09 Thread Lance Norskog
e- From: anarchos78 > Sent: Wednesday, May 09, 2012 5:04 PM > To: solr-user@lucene.apache.org > Subject: Re: Solr query issues > > > I have imported data from a database. When i set a type different than > string > solr throws error: Unknown fieldtype 'text' s

Re: Solr query issues

2012-05-09 Thread Jack Krupansky
lds that have text you want to search on. Then the (text) string fields would be searchable by default. -- Jack Krupansky -Original Message- From: anarchos78 Sent: Wednesday, May 09, 2012 5:04 PM To: solr-user@lucene.apache.org Subject: Re: Solr query issues I have imported data from

Re: Solr query with mandatory values

2012-05-09 Thread Li Li
ucene will take it as a phrase query. > so you need escape space like title:hello\\ world > which will take "hello world" as a field value. and the analyzer then > will tokenize it. so you should use analyzer which can deal with > space. e.g. you can use keyword analyzer > >

Re: Solr query with mandatory values

2012-05-09 Thread Li Li
d value. and the analyzer then will tokenize it. so you should use analyzer which can deal with space. e.g. you can use keyword analyzer as far as I know On Thu, May 10, 2012 at 3:35 AM, Matt Kuiper wrote: > Yes. > > See http://wiki.apache.org/solr/SolrQuerySyntax  - The standard S

Re: Solr query issues

2012-05-09 Thread anarchos78
I have imported data from a database. When i set a type different than string solr throws error: Unknown fieldtype 'text' specified on field biog at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:511) -- View this message in context: http://lucene.472066.n3.nabble.com/

Re: Solr query issues

2012-05-09 Thread anarchos78
Can you give me any example on how to do this? I am really stuck Thank you in advance -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-issues-tp3974922p3975384.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr query issues

2012-05-09 Thread Dmitry Kan
> > > > > words="lang/stopwords_hi.txt" enablePositionIncrements="true"/> > > > > > > positionIncrementGap="100"> > > > > words="lang/stopwords_hu.txt" format="snowball" > enablePositionIncrements="true"/> > language="Hungarian"/> > > > > > > positionIncrementGap="100"> > > > > words="lang/stopwords_hy.txt" enablePositionIncrements="true"/> > language="Armenian"/> > > > > > positionIncrementGap="100"> > > > > words="lang/stopwords_id.txt" enablePositionIncrements="true"/> > > stemDerivational="true"/> > > > > > positionIncrementGap="100"> > > > > articles="lang/contractions_it.txt"/> > > words="lang/stopwords_it.txt" format="snowball" > enablePositionIncrements="true"/> > > > > > > > positionIncrementGap="100" autoGeneratePhraseQueries="false"> > > > > > > > > tags="lang/stoptags_ja.txt" enablePositionIncrements="true"/> > > > > words="lang/stopwords_ja.txt" enablePositionIncrements="true" /> > > minimumLength="4"/> > > > > > > > positionIncrementGap="100"> > > > > words="lang/stopwords_lv.txt" enablePositionIncrements="true"/> > > > > > > positionIncrementGap="100"> > > > > words="lang/stopwords_nl.txt" format="snowball" > enablePositionIncrements="true"/> > dictionary="lang/stemdict_nl.txt" ignoreCase="false"/> > > > > > > positionIncrementGap="100"> > > > > words="lang/stopwords_no.txt" format="snowball" > enablePositionIncrements="true"/> > language="Norwegian"/> > > > > > > > positionIncrementGap="100"> > > > > words="lang/stopwords_pt.txt" format="snowball" > enablePositionIncrements="true"/> > > > > > > > > > positionIncrementGap="100"> > > > > words="lang/stopwords_ro.txt" enablePositionIncrements="true"/> > language="Romanian"/> > > > > > positionIncrementGap="100"> > > > > words="lang/stopwords_ru.txt" format="snowball" > enablePositionIncrements="true"/> > language="Russian"/> > > > > > > positionIncrementGap="100"> > > > > words="lang/stopwords_sv.txt" format="snowball" > enablePositionIncrements="true"/> > language="Swedish"/> > > > > > > positionIncrementGap="100"> > > > > > words="lang/stopwords_th.txt" enablePositionIncrements="true"/> > > > > > positionIncrementGap="100"> > > > > words="lang/stopwords_tr.txt" enablePositionIncrements="true"/> > language="Turkish"/> > > > > > > > > required="true" /> > > > > > > > > > id > > > biog > > > > > > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-query-issues-tp3974922p3975167.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Regards, Dmitry Kan

Re: Solr query issues

2012-05-09 Thread anarchos78
/Solr-query-issues-tp3974922p3975167.html Sent from the Solr - User

RE: Solr query with mandatory values

2012-05-09 Thread Matt Kuiper
Yes. See http://wiki.apache.org/solr/SolrQuerySyntax - The standard Solr Query Parser syntax is a superset of the Lucene Query Parser syntax. Which links to http://lucene.apache.org/core/3_6_0/queryparsersyntax.html Note - Based on the info on these pages I believe the "+" symbo

Re: Solr query issues

2012-05-09 Thread Dmitry Kan
Below are the configuration files: > http://lucene.472066.n3.nabble.com/file/n3974922/conf.rar conf.rar > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-query-issues-tp3974922.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Regards, Dmitry Kan

Solr query issues

2012-05-09 Thread anarchos78
://lucene.472066.n3.nabble.com/file/n3974922/conf.rar conf.rar -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-issues-tp3974922.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr query with mandatory values

2012-05-09 Thread G.Long
Hi :) I remember that in a Lucene query, there is something like mandatory values. I just have to add a "+" symbol in front of the mandatory parameter, like: +myField:my value I was wondering if there was something similar in Solr queries? Or is this behaviour activated by default? Gary

Re: Is there any performance cost of using lots of OR in the solr query

2012-04-06 Thread Erick Erickson
Shawn: Ahhh, so *that* was what your JIRA was about Consider https://issues.apache.org/jira/browse/SOLR-2429 for your ACL calculations, that's what this was developed for. The basic idea is that you can write a custom filter that returns whether the document should be included in the results

Re: Is there any performance cost of using lots of OR in the solr query

2012-04-06 Thread Shawn Heisey
On 4/5/2012 3:49 PM, Erick Erickson wrote: Of course putting more clauses in an OR query will have a performance cost, there's more work to do OK, being a smart-alec aside you will probably be fine with a few hundred clauses. The question is simply whether the performance hit is acceptable.

Re: Is there any performance cost of using lots of OR in the solr query

2012-04-05 Thread Erick Erickson
Of course putting more clauses in an OR query will have a performance cost, there's more work to do OK, being a smart-alec aside you will probably be fine with a few hundred clauses. The question is simply whether the performance hit is acceptable. I'm afraid that question can't be answered in

Is there any performance cost of using lots of OR in the solr query

2012-04-04 Thread roz dev
Hi All, I am working on an application which makes few solr calls to get the data. On the high level, We have a requirement like this - Make first call to Solr, to get the list of products which are children of a given category - Make 2nd solr call to get product documents based on a l

RE: using stored procedures in solr query..

2012-04-03 Thread Klostermeyer, Michael
storedprocedures in solr query.. Importance: Low Hi all, Is it possible to execute to stored procedures placed in data-config.xml file in solr ? please give response ... Thanx in advance. -- View this message in context: http://lucene.472066.n3.nabble.com/using-storedprocedures-in-solr-query

using storedprocedures in solr query..

2012-04-03 Thread vighnesh
Hi all, Is it possible to execute to stored procedures placed in data-config.xml file in solr ? please give response ... Thanx in advance. -- View this message in context: http://lucene.472066.n3.nabble.com/using-storedprocedures-in-solr-query-tp3880557p3880557.html Sent from the Solr - User

Re: SOLR Query Intersection

2012-03-12 Thread balaji
Hi, Thank you guys Erik and Mikhail , You saved my day Thanks Balaji -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-Query-Intersection-tp3818756p3819571.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR Query Intersection

2012-03-12 Thread Erik Hatcher
gle & IE" , "Google & Firefox" > > Is it possible to do with the Query Intersections or do I need to write > separate queries for all the above , If not please suggest how it can be > achieved > > > Thanks > Balaji > > > -- > View this message

Re: SOLR Query Intersection

2012-03-12 Thread balaji
Hi, I got your point are you suggesting me to run using the *facet.query* param for the various combinations Thanks Balaji -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-Query-Intersection-tp3818756p3819165.html Sent from the Solr - User mailing list archive at

Re: SOLR Query Intersection

2012-03-12 Thread balaji
Hi Mikhail, Yes I am trying to get the facets counts for all these and populate the chart , but comparison between the values is what I am wondering Will facets handle all the 3 possible scenarios Thanks Balaji -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR

Re: SOLR Query Intersection

2012-03-12 Thread Mikhail Khludnev
it possible to do with the Query Intersections or do I need to write > separate queries for all the above , If not please suggest how it can be > achieved > > > Thanks > Balaji > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SOLR-Query-

SOLR Query Intersection

2012-03-12 Thread balaji
tion among them like "Google & IE" , "Google & Firefox" Is it possible to do with the Query Intersections or do I need to write separate queries for all the above , If not please suggest how it can be achieved Thanks Balaji -- View this message in context: h

[commercial] soleami - The Solr Query Log Visualization Tool Launched

2012-02-13 Thread Koji Sekiguchi
We are excited to announce the launch of soleami - a free visualization service for Apache Solr query log. soleami - Visualize the needs of your visitors. http://soleami.com/ Soleami summarizes Solr query logs of past 12 months by search keyword. It is a very useful tool for you to see various

Re: Tokenize result of a NGramFilterFactory in Solr (query analyzer)

2012-02-10 Thread Mathias Hodler
Hi Ahmet, awesome! Now it works. 2012/2/10 Ahmet Arslan : >> I'm using the NGramFilterFactory for indexing and querying. >> >> So if I'm searching for "overflow" it creates an query like >> this: >> >> mySearchField:"ov ve ... erflow overflo verflow overflow" >> >> But if I misspelled "overflow",

Re: Tokenize result of a NGramFilterFactory in Solr (query analyzer)

2012-02-10 Thread Ahmet Arslan
> I'm using the NGramFilterFactory for indexing and querying. > > So if I'm searching for "overflow" it creates an query like > this: > > mySearchField:"ov ve ... erflow overflo verflow overflow" > > But if I misspelled "overflow", i.e. "owerflow" there are no > matches > because the quotes arou

<    1   2   3   4   5   6   7   8   >