Re: Filter query question

2018-04-12 Thread Shawn Heisey
On 4/12/2018 1:46 AM, LOPEZ-CORTES Mariano-ext wrote: In our search application we have one facet filter (Status) Each status value corresponds to multiple values in the Solr database Example : Status : Initialized --> status in solr = 11I, 12I, 13I, 14I, ... On status value click, search is

Re: Filter query question

2018-04-12 Thread Emir Arnautović
Hi, What is the number of these status indicators? It is expected to have slower query if you have more clauses since Solr/Lucene has to load postings for each term and then OR them. The real question is why it is constantly slow since you are using fq and it should be cached. Did you disable fi

Filter query question

2018-04-12 Thread LOPEZ-CORTES Mariano-ext
Hi In our search application we have one facet filter (Status) Each status value corresponds to multiple values in the Solr database Example : Status : Initialized --> status in solr = 11I, 12I, 13I, 14I, ... On status value click, search is re-fired with fq filter: fq: status:(11I OR 12I OR

Re: Query question

2013-03-26 Thread Chris Hostetter
: So as I said, the search result I want is the one with the highest score, : but I was hoping to find a way to boost the score based on the number of : terms it finds (or matches well) so that I can differentiate between a close : match and nowhere near. Any suggestions? In general, this already

Re: Query question

2013-02-14 Thread Jack Krupansky
_fields.29 -- Jack Krupansky -Original Message- From: dm_tim Sent: Thursday, February 14, 2013 8:00 PM To: solr-user@lucene.apache.org Subject: Query question Howdy, I have a straight-forward index that contains a "name" field. I am currently taking a string of text, tokenizin

Query question

2013-02-14 Thread dm_tim
of terms it finds (or matches well) so that I can differentiate between a close match and nowhere near. Any suggestions? Regards, T -- View this message in context: http://lucene.472066.n3.nabble.com/Query-question-tp4040559.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: 4.0 query question

2012-11-12 Thread Otis Gospodnetic
gt; Regards, > > Tim > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/4-0-query-question-tp4019898.html > Sent from the Solr - User mailing list archive at Nabble.com. >

4.0 query question

2012-11-12 Thread dm_tim
I just discovered the idf scoring component and it's biting me on the butt. In the particular case I have all terms are equally relevant. Is there any way to turn off idf scoring? Regards, Tim -- View this message in context: http://lucene.472066.n3.nabble.com/4-0-query-question-tp40

Re: 4.0 query question

2012-11-12 Thread dm_tim
That is terrific. Thanks. Regards, Tim -- View this message in context: http://lucene.472066.n3.nabble.com/4-0-query-question-tp4019397p4019890.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: 4.0 query question

2012-11-11 Thread Amit Nithian
; Tim > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/4-0-query-question-tp4019397p4019426.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: 4.0 query question

2012-11-09 Thread dm_tim
k correct? Regards, Tim -- View this message in context: http://lucene.472066.n3.nabble.com/4-0-query-question-tp4019397p4019426.html Sent from the Solr - User mailing list archive at Nabble.com.

4.0 query question

2012-11-09 Thread dm_tim
Any help would be appreciated. Regards, Tim -- View this message in context: http://lucene.472066.n3.nabble.com/4-0-query-question-tp4019397.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: facet range query question

2012-05-14 Thread andy
THANKS for your relay -- View this message in context: http://lucene.472066.n3.nabble.com/facet-range-query-question-tp3976026p3983783.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: facet range query question

2012-05-12 Thread Erick Erickson
urn the facet range automatically like this: > 10 > 200 > 200 > 100 > 10 > > > does any one know something like this, or other functions can implement my > requirement ? > please give me a favor, > Thank You > > Andy > > > > > > > -- > Vi

facet range query question

2012-05-09 Thread andy
thing like this, or other functions can implement my requirement ? please give me a favor, Thank You Andy -- View this message in context: http://lucene.472066.n3.nabble.com/facet-range-query-question-tp3976026.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Cloud Query Question

2011-06-07 Thread Yonik Seeley
On Tue, Jun 7, 2011 at 1:01 PM, Jamie Johnson wrote: > Thanks Yonik.  I have a follow on now, how does Solr ensure consistent > results across pages?  So for example if we had my 3 theoretical solr > instances again and a, b and c each returned 100 documents with the same > score and the user only

Re: Solr Cloud Query Question

2011-06-07 Thread Jamie Johnson
Thanks Yonik. I have a follow on now, how does Solr ensure consistent results across pages? So for example if we had my 3 theoretical solr instances again and a, b and c each returned 100 documents with the same score and the user only requested 100 documents, how are those 100 documents chosen f

Re: Solr Cloud Query Question

2011-06-07 Thread Yonik Seeley
On Tue, Jun 7, 2011 at 9:35 AM, Jamie Johnson wrote: > I am currently experimenting with the Solr Cloud code on trunk and just had > a quick question.  Lets say my setup had 3 nodes a, b and c.  Node a has > 1000 results which meet a particular query, b has 2000 and c has 3000.  When > executing t

Solr Cloud Query Question

2011-06-07 Thread Jamie Johnson
I am currently experimenting with the Solr Cloud code on trunk and just had a quick question. Lets say my setup had 3 nodes a, b and c. Node a has 1000 results which meet a particular query, b has 2000 and c has 3000. When executing this query and asking for row 900 what specifically happens? F

Re: Newb query question

2011-03-09 Thread Otis Gospodnetic
iel Baughman > To: solr-user@lucene.apache.org > Sent: Wed, March 9, 2011 12:34:54 PM > Subject: Newb query question > > Is there a way to perform string logic on the key field using a subquery or > some other method. > > > > IE. If the left 4 characters of t

Re: Newb query question

2011-03-09 Thread Erick Erickson
How about something like: for exclusion +*:* -KEY:abcd* for inclusion +*:* +KEY:abcd* Best Erick On Wed, Mar 9, 2011 at 12:34 PM, Daniel Baughman wrote: > Is there a way to perform string logic on the key field using a subquery or > some other method. > > > > IE. If the left 4 characters of th

Newb query question

2011-03-09 Thread Daniel Baughman
Is there a way to perform string logic on the key field using a subquery or some other method. IE. If the left 4 characters of the key are ABCD, then include or exclude those from the search. Here is the "laymans" pseudo code for what I'm wanting to do: *:* AND LEFT(KEY, 4) <> 'abcd'

Re: Facet Query Question

2011-02-27 Thread Tim Christensen
My actual: INFO: [] webapp=null path=/select params={timeAllowed=3&qt=dismax&q=columbia&rows=1&facet.field={!ex%3Dcat}categories&facet.field={!ex%3Dadv}adventures&facet=true&facet.limit=-1&facet.mincount=1&fq={!tag%3Dcat}categories:Boots&fq={!tag%3Dadv}adventures:Camping} hits=1 status=0 QTi

Re: Facet Query Question

2011-02-27 Thread Tim Christensen
Sorry. It was hand typed, it is the other way around. It is part of the actual, but I did not copy and paste it. q=query&fq={!tag=cat}categories:Jackets&fq={!tag=adv}adventures:Camping&facet.field={!ex=cat}categories&facet.field={!ex=adv}adventures On Feb 27, 2011, at 5:48 PM, Yonik Seeley wrote

Re: Facet Query Question

2011-02-27 Thread Yonik Seeley
On Sun, Feb 27, 2011 at 7:32 PM, Tim Christensen wrote: > q=query&fq={!ex=cat}categories:Jackets&fq={!ex=adv}adventures:Camping&facet.field={!tag=cat}categories&facet.field={!tag=adv}adventures If this is the actual command you used, it looks like you switched "ex" and "tag"? -Yonik http://lucid

Re: Facet Query Question

2011-02-27 Thread Tim Christensen
Okay -- so I did see that before and I tested it. It does work for example when I do this: q=query&fq={!ex=cat}categories:Jackets&facet.field={!tag=cat}categories Thank you for that part. What I don't get is any of the other facet fields returning their full list of values. So in my case I need

Re: Facet Query Question

2011-02-27 Thread Jan Høydahl
Hi, LocalParam {!tag} and {!ex} will help you: http://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 28. feb. 2011, at 00.41, Tim Christensen wrote: > Hi, > > I am trying to do the following

Re: Facet Query Question

2011-02-27 Thread Rob Casson
if i'm understanding your question, it sounds like localparams/tagging/exclusion might be what you want: http://wiki.apache.org/solr/SimpleFacetParameters#Multi-Select_Faceting_and_LocalParams hth, rob On Sun, Feb 27, 2011 at 6:41 PM, Tim Christensen wrote: > Hi, > > I am trying to do the

Re: Facet Query Question

2011-02-27 Thread Ahmet Arslan
> I am trying to do the following: > > Where a query might return: > > Facet 1 > A > B > C > > Facet 2 > X > Y > Z > > User selects Facet 1 option A. Normally this paradigm would > contract the results as in a refining paradigm. That would > be fine and the obvious UI change. But by doing so, F

Facet Query Question

2011-02-27 Thread Tim Christensen
Hi, I am trying to do the following: Where a query might return: Facet 1 A B C Facet 2 X Y Z User selects Facet 1 option A. Normally this paradigm would contract the results as in a refining paradigm. That would be fine and the obvious UI change. But by doing so, Facet 2 option X is no longe

RE: Query question

2010-11-03 Thread cbennett
gt; Cc: kenf_nc > Subject: Re: Query question > > Another alternative (prettier to my eye), would be: > > (city:Chicago AND Romantic AND View)^10 OR (Romantic AND View) > > > -Mike > > > > On 11/03/2010 09:28 AM, kenf_nc wrote: > > Unfortunately the de

Re: Query question

2010-11-03 Thread Mike Sokolov
Another alternative (prettier to my eye), would be: (city:Chicago AND Romantic AND View)^10 OR (Romantic AND View) -Mike On 11/03/2010 09:28 AM, kenf_nc wrote: Unfortunately the default operator is set to AND and I can't change that at this time. If I do (city:Chicago^10 OR Romantic OR Vi

Re: Query question

2010-11-03 Thread kenf_nc
-- View this message in context: http://lucene.472066.n3.nabble.com/Query-question-tp1828367p1834793.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Query question

2010-11-03 Thread Ahmet Arslan
> My impression was that > > city:Chicago^10 +Romantic +View > > would do what you want (with the standard lucene query > parser and default operator OR), and I'm not sure about > this, but I have a feeling that the version with "Boolean" > operators AND/OR and parens might actually net out to th

Re: Query question

2010-11-02 Thread Michael Sokolov
My impression was that city:Chicago^10 +Romantic +View would do what you want (with the standard lucene query parser and default operator OR), and I'm not sure about this, but I have a feeling that the version with "Boolean" operators AND/OR and parens might actually net out to the same thing

Re: Query question

2010-11-02 Thread Ahmet Arslan
> Erick, that query would return all restaurants in Chicago, > whether they > matched Romantic View or not. Although the scores should > sort relevant > results to the top, the results would still contain a lot > of things I wasn't > interested in. How about this one? +(city:Chicago^1000 OR (*:*

Re: Query question

2010-11-02 Thread Erick Erickson
hould sort relevant > results to the top, the results would still contain a lot of things I > wasn't > interested in. > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Query-question-tp1828367p1828639.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Query question

2010-11-02 Thread Jonathan Rochkind
Don't worry about that line. It just means that one particular kind of 'default' behavior in bq shouldn't be relied upon, if you don't entirely understand that behavior they're saying is deprecated (as I don't either!) anyway, don't worry about it, just supply an explicit boost in your bq. b

Re: Query question

2010-11-02 Thread kenf_nc
s message in context: http://lucene.472066.n3.nabble.com/Query-question-tp1828367p1828639.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Query question

2010-11-02 Thread Erick Erickson
> Chicago (or even if it's missing the city field), but matches the other > query parameters it should still come back in the results. Is something > like > this possible? It's kind of like q=(some query) optional boost if > field:value. > > Thanks, > Ken &g

Re: Query question

2010-11-02 Thread Jonathan Rochkind
I think you'll find the dismax request handler helpful in general, it supports more flexible query wrangling like that. With the dismax request handler, I think the bq (boost query) parameter will do what you need, eg: bq=city:Chicago^5.0 The ^5.0 is how much boost you want, you can play aro

Query question

2010-11-02 Thread kenf_nc
ind of like q=(some query) optional boost if field:value. Thanks, Ken -- View this message in context: http://lucene.472066.n3.nabble.com/Query-question-tp1828367p1828367.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Filter Query question

2010-08-30 Thread Eric Grobler
Hi Grant, Thanks for the explanation. Regards ericz On Mon, Aug 30, 2010 at 3:22 PM, Grant Ingersoll wrote: > > On Aug 30, 2010, at 7:20 AM, Eric Grobler wrote: > > > Hi Solr Community > > > > If you use a filter like: > > q=*:* > > fq=make:Volkswagen > > > > and then the next query is: > >

Re: Filter Query question

2010-08-30 Thread Grant Ingersoll
On Aug 30, 2010, at 7:20 AM, Eric Grobler wrote: > Hi Solr Community > > If you use a filter like: > q=*:* > fq=make:Volkswagen > > and then the next query is: > q=blue > fq=make:Volkswagen > > will Solr use the filter cache before the main query, or only after a "blue" > subset? The firs

Filter Query question

2010-08-30 Thread Eric Grobler
Hi Solr Community If you use a filter like: q=*:* fq=make:Volkswagen and then the next query is: q=blue fq=make:Volkswagen will Solr use the filter cache before the main query, or only after a "blue" subset? In other words will this query make more sense? q=(blue) AND (make:Volkswagen)

Re: Query Question

2010-06-02 Thread findbestopensource
What analyzer you are using to index and search? Check out schema.xml. You are currently using analyzer which breaks the words. If you don't want to break then you need to use . Regards Aditya www.findbestopensource.com On Wed, Jun 2, 2010 at 2:41 PM, M.Rizwan wrote: > Hi, > > I have solr 1.4.

Query Question

2010-06-02 Thread M.Rizwan
Hi, I have solr 1.4. In schema i have a field called "title" of type "text" Now problem is, when I search for "Test_Title" it brings all documents with titles like "Test-Title", "Test_Title", "Test,Title, "Test Title", "Test.Title" What to do to avoid this? "Test_Title" should only return documen

Re: Solr/Drupal Integration - Query Question

2010-02-24 Thread Peter Wolanin
d(created),4,4,4)^200.0&f.changed.facet.date.gap=%2B1HOUR&hl.simple.post=&facet.field=uid&facet.field=is_book_bid&facet.field=type&facet.field=language&facet.field=im_vid_3&facet.field=im_vid_1&facet.field=im_vid_2&fq=tid:1&fq=tid:3&fq=hash:c13a544eb3ac)&fq=(nodeaccess_all:0+OR+hash:c13a544eb3ac)&hl.fragsize=&facet.mincount=1&qf=tags_inline^1.0&qf=body^40&qf=tags_a^5.0&qf=name^3.0&qf=taxonomy_names^2.0&qf=title^5.0&facet.date=created&facet.date=changed&hl.fl=&json.nl=map&f.changed.facet.date.end=2010-02-10T06:18:49Z%2B1HOUR/HOUR&wt=json&rows=10&f.created.facet.date.gap=%2B1HOUR&hl.snippets=&facet.sort=true&start=0&q=drupal&f.created.facet.date.end=2010-02-10T06:18:49Z%2B1HOUR/HOUR} > status=400 QTime=0 > > Thanks for your help, > > Jay > -- > View this message in context: > http://old.nabble.com/Solr-Drupal-Integration---Query-Question-tp27522362p27554055.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- Peter M. Wolanin, Ph.D. Momentum Specialist, Acquia. Inc. peter.wola...@acquia.com

Re: Solr/Drupal Integration - Query Question

2010-02-24 Thread Peter Wolanin
id,name,ss_image_relative&bf=recip(rord(created),4,19,19)^200.0&f.changed.facet.date.gap=%2B1HOUR&hl.simple.post=&facet.field=uid&facet.field=type&facet.field=language&fq=(nodeaccess_all:0+OR+hash:c13a544eb3ac)&hl.fragsize=&facet.mincount=1&qf=name^3.0&facet

Re: Solr/Drupal Integration - Query Question

2010-02-11 Thread jaybytez
ss_all:0+OR+hash:c13a544eb3ac)&hl.fragsize=&facet.mincount=1&qf=tags_inline^1.0&qf=body^40&qf=tags_a^5.0&qf=name^3.0&qf=taxonomy_names^2.0&qf=title^5.0&facet.date=created&facet.date=changed&hl.fl=&json.nl=map&f.changed.facet.date.end=2010-02-10T06:18:49Z%2B1HOUR/HOUR&wt=json&rows=10&f.created.facet.date.gap=%2B1HOUR&hl.snippets=&facet.sort=true&start=0&q=drupal&f.created.facet.date.end=2010-02-10T06:18:49Z%2B1HOUR/HOUR} status=400 QTime=0 Thanks for your help, Jay -- View this message in context: http://old.nabble.com/Solr-Drupal-Integration---Query-Question-tp27522362p27554055.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr/Drupal Integration - Query Question

2010-02-09 Thread Lance Norskog
.mincount=1&qf=name^3.0&facet.date=changed&hl.fl=&json.nl=map&wt=json&f.changed.facet.date.end=2010-02-09T17:44:16Z%2B1HOUR/HOUR&rows=10&hl.snippets=&start=0&facet.sort=true&q=video} > hits=0 status=0 QTime=0 > > Any thoughts on the search query that gets generated by the Drupal/Solr > module? > > Thanks...jay > -- > View this message in context: > http://old.nabble.com/Solr-Drupal-Integration---Query-Question-tp27522362p27522362.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- Lance Norskog goks...@gmail.com

Solr/Drupal Integration - Query Question

2010-02-09 Thread jaybytez
QTime=0 Any thoughts on the search query that gets generated by the Drupal/Solr module? Thanks...jay -- View this message in context: http://old.nabble.com/Solr-Drupal-Integration---Query-Question-tp27522362p27522362.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Range Query question

2009-07-30 Thread Matt Beaumont
information you need for searching. > > e.g.- > > > Ford > Ka >garage1 >2000 > 4000 > > > - Matt Beaumont mibe...@yahoo.co.uk -- View this message in context: http://www.nabble.com/Range-Query-question-tp24737656p24742062.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Range Query question

2009-07-30 Thread Ensdorf Ken
> The problem is that the indexed form of this XML is flattened so the > > entity has 2 garage names, 2 min values and 2 max values, but the > grouping > between the garage name and it's min and max values is lost. The > danger is > that we end up doing a comparison of the min-of-the-mins and the

Range Query question

2009-07-30 Thread Matt Beaumont
ahoo.co.uk -- View this message in context: http://www.nabble.com/Range-Query-question-tp24737656p24737656.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: filter query question

2009-04-03 Thread Shalin Shekhar Mangar
On Fri, Apr 3, 2009 at 2:04 PM, Ashish P wrote: > > Another question what is the meaning of this syntax > [* TO *] > > It means match all tokens from the beginning to the end. -- Regards, Shalin Shekhar Mangar.

Re: filter query question

2009-04-03 Thread Ashish P
gt;> not equal to creationuser value. >> >> Can we do this??? > > > Nope. But you can create a new field which holds true if actionuser != > creationuser and filter on that. > > -- > Regards, > Shalin Shekhar Mangar. > > -- View this message in con

Re: filter query question

2009-04-03 Thread Shalin Shekhar Mangar
On Fri, Apr 3, 2009 at 1:32 PM, Ashish P wrote: > > I want to query all documents where name:somevalue and actionuser value is > not equal to creationuser value. > > Can we do this??? Nope. But you can create a new field which holds true if actionuser != creationuser and filter on that. -- Re

filter query question

2009-04-03 Thread Ashish P
Consider, I have following 3 fields I want to query all documents where name:somevalue and actionuser value is not equal to creationuser value. Can we do this??? -- View this message in context: http://www.nabble.com/filter-query-question-tp22863789p22863789.html Sent from the Solr - User

Re: wildcard query question

2008-02-21 Thread Chris Hostetter
: the record is found. I was wondering how the colon character affects : the search, and if there is another way to write a wildcard query. most likely the issue is that your analyzer is striping out the colon character, hence your normal phrase search works (because the colon is striped out

wildcard query question

2008-02-12 Thread Alessandro Senserini
I have indexed a field called courseTitle of 'text' type (as in the schema.xml but without the stemming factory) that contains COBOL: Data Structure Searching with a wildcard query like courseTitle:cobol\:* AND courseTitle:data* AND courseTitle:structure* (the colon character ":" i

Index/Query question

2007-11-13 Thread Marc Jones
Hello all, I am in the process of learning Solr (and the underlying Lucene engine). I have been unable to successfully implement the following scenario, so I was hoping someone on the list might have some insight. - I want to index data values for different data types (fields) that are c