Re: Range facet - Count in facet menu != Count in search results

2012-02-10 Thread Yuhao
Jay, Was the curly closing bracket "}" intentional?  I'm using 3.4, which also supports "fq=price:[10 TO 20]".  The problem is the results are not working properly. From: Jan Høydahl To: solr-user@lucene.apache.org; Yuhao Sent: T

Range facet - Count in facet menu != Count in search results

2012-02-09 Thread Yuhao
I've changed the "facet.range.include" option to every possible value (lower, upper, edge, outer, all)**.  It only changes the count shown in the "Ranges" facet menu on the left.  It has no effect on the count and results shown in search results, which ALWAYS is inclusive of both the lower AND u

I want to specify multiple facet prefixes per field

2012-02-07 Thread Yuhao
I simulated a hierarchical faceting browsing scheme using facet.prefix.  However, it seems there can only be one facet.prefix per field.  For OR queries, the browsing scheme requires multiple facet prefixes.  For example: fq=facet1:term1 OR facet1:term2 OR facet1:term3 Something like the above

Re: Help: nothing is searchable in Solr

2012-02-02 Thread Yuhao
against all of them now. I'm learning a lot as I go :) From: Erick Erickson To: solr-user@lucene.apache.org; Yuhao Sent: Thursday, February 2, 2012 1:56 PM Subject: Re: Help: nothing is searchable in Solr You're getting confused between defaul

Re: Help: nothing is searchable in Solr

2012-02-02 Thread Yuhao
xt", which gets populated by calling for each document field.  However I'm not sure if this is the best way. ____ From: Erick Erickson To: solr-user@lucene.apache.org; Yuhao Sent: Wednesday, February 1, 2012 7:57 PM Subject: Re: Help: nothing is searc

Re: Help: Creating another handler and template to display document attributes

2012-02-02 Thread Yuhao
ce isn't the issue though, but try &debugQuery=true and see how the query parsed to see for sure.     Erik On Feb 2, 2012, at 10:22 , Yuhao wrote: > Erik, > > Thanks for the slides.  I followed the example on pages 24-25 (maybe too > rigidly).  The f

Re: Help: Creating another handler and template to display document attributes

2012-02-02 Thread Yuhao
're after here in detail, but I think this will help:   <http://www.slideshare.net/erikhatcher/rapid-prototyping-with-solr-5675936> See slides 24 and 25.  Note the use of $id in the /document request handler definition using parameter substitution, a really cool technique.     Er

Re: Help: nothing is searchable in Solr

2012-02-01 Thread Yuhao
s with [a-zA-Z] characters, but nothing at all is found. From: Ahmet Arslan To: solr-user@lucene.apache.org; Yuhao Sent: Wednesday, February 1, 2012 5:59 PM Subject: Re: Help: nothing is searchable in Solr > For example, I defined a field called "Entrez

SOLVED Re: $doc.getFieldNames() - what determines the order of fields?

2012-02-01 Thread Yuhao
I found the answer to my question.  The order is determined by the order in which the fields were defined in the input XML or JSON record for this document. From: Yuhao To: "solr-user@lucene.apache.org" Sent: Wednesday, February 1, 2012 3:27

Help: nothing is searchable in Solr

2012-02-01 Thread Yuhao
After modifying the schema, I've somehow managed to break the text search functionality, because the search can't find anything any more.  For example, I defined a field called "Entrez ID" in my schema.xml file:     Here's one of the indexed documents:     {                 "Entrez ID

Help: Creating another handler and template to display document attributes

2012-02-01 Thread Yuhao
Like the title says, I want to create a "page" to display a bunch of document attributes.  I accomplished this by creating a new handler and a template for it.  However, I'm having trouble pulling up the details of the document in the new handler.  Here's my code.  Is this a good way to do it? 

$doc.getFieldNames() - what determines the order of fields?

2012-02-01 Thread Yuhao
$doc.getFieldNames() will give you a list of field names as defined in your schema.xml file.  However, the order in which it returns the field names is not the same order that I defined them in schema.xml.  What determines the order returned by $doc.getFieldNames() ?

Re: SOLVED: Strange things happen when I query with many facet.prefixes and fq filters

2012-01-30 Thread Yuhao
of header.  After I increased that limit, everything works. Problem solved. From: Erick Erickson To: solr-user@lucene.apache.org; Yuhao Sent: Sunday, January 29, 2012 1:05 PM Subject: Re: Strange things happen when I query with many facet.prefixes and fq

Re: Hierarchical faceting in UI

2012-01-24 Thread Yuhao
itive_Disease_Associations_parent" has the full path preceding the current term. So, let's say in the UI, I click on the term "Dementia, Vascular(MESH:D015140)" to get its child terms and data.  My filters in the URL querystring would be exactly: fq=GAD_Positive_Disease_Associations

Re: Hierarchical faceting in UI

2012-01-24 Thread Yuhao
path per above to add to the URL of each facet term.  I know "velocity/facet_field.vm" is where I build the URL.  I know how to simply add a "parent:" filter to the URL.  But I don't know how to access a document field, like the complete p

Hierarchical faceting in UI

2012-01-23 Thread Yuhao
I have some hierarchical data that I want to represent in the Solr UI (/browse).  I've read through many discussions on this topic, including http://wiki.apache.org/solr/HierarchicalFaceting and http://packtlib.packtpub.com/library/9781849516068/ch06lvl1sec09 .  However, I didn't see a solution