[Blacklight-development] solr schema; facetting vs searching

Erik Hatcher erikhatcher at mac.com
Sat Feb 16 04:16:29 EST 2008


On Feb 15, 2008, at 3:00 PM, Jonathan Rochkind wrote:
> Perfect, thanks. Before I was asking if you could do a fielded  
> search in
> the current blacklight. You said, yes, using lucene syntax, if you  
> knew
> the name of the field you wanted to search. But it sounds like most of
> the fields you might want to search actually aren't stored in the  
> index
> in a suitable way at present.

I wouldn't say that.   There are a lot of *_text fields that are  
surely useful for searching.   And take a look at the schema.xml -  
all fields are being stored currently so they are retrievable/ 
highlightable from the front-end easily.

Have a look at the Lucene index using Luke <http://www.getopt.org/ 
luke/> or Solr's Luke Request Handler - check out the fields indexed  
and play around.   There is more there than meets the eye.    
Certainly there is much more to MARC than the indexer is extracting  
currently, though - so lots more can be done.

> If Blacklight doesn't do sortable fields yet.... how does Blacklight
> sort search results?

Depends - if you're purely navigating by facets, the order is in  
index order (the order the records were indexed).

However, once you add a full-text query, sorting is by....  
relevance!   Imagine that :)

	Erik



More information about the Blacklight-development mailing list