MultiValue Exclusion

2010-06-04 Thread homerlex
How would you model this? We have a table of news items that people can view in their news stream and comment on. Users have the ability to "mute" item so they never see them in their feed or search results. >From what I can see there are a couple ways to accomplish this. 1 - Post process the

Re: Highlighting Issue

2010-06-03 Thread homerlex
iorixxx wrote: > > hl.requireFieldMatch=true > > http://wiki.apache.org/solr/HighlightingParameters#hl.requireFieldMatch > > I had tried this before but it did not work because in the query I did not specify body:. This does work fine if I put body:terms in the query. Is there an simpler s

Highlighting Issue

2010-06-03 Thread homerlex
We have Highlighting enabled. We specify that we only want highlighting on the "body" property. When doing a query like this: (body:tester OR project_id:704) the text highlighted in the body includes any text that is "tester" and any text that is "704". Is there a way to prevent the highlightin

Highlighting - Turn of Escaping of HTML?

2010-05-05 Thread homerlex
In the solrconfig, is there any way to have a "fragmenter" that doesn't escape html in the text? We are going to render the full text of the field and want to render the text as is (with html in tact). -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-Turn-of-Esc

Re: Multi Select Facets through Java API

2010-03-22 Thread homerlex
of different filter queries > which are all independently cached... I don't see any other way at the > moment though.. > > Geert-Jan > > > > 2010/3/22 homerlex > >> >> bump - anyone? >> -- >> View this message in context: >> http:

Re: Multi Select Facets through Java API

2010-03-22 Thread homerlex
bump - anyone? -- View this message in context: http://old.nabble.com/Multi-Select-Facets-through-Java-API-tp27951014p27986301.html Sent from the Solr - User mailing list archive at Nabble.com.

Multi Select Facets through Java API

2010-03-19 Thread homerlex
I have a facet field called Cars. I want the user to be able to select multiple values (Camaro, Corvette, etc) and the results should include all records with Cars = Camaro OR Cars = Corvette. Are there samples somewhere on how to do this with the Java API? Does anything special need to be set

Re: Return all Facets?

2010-03-19 Thread homerlex
Its still not clear to me how to use the LukeRequestHandler (from the API) to get a list of all existing facet fields. Is there an example somewhere? Thanks for the help! -- View this message in context: http://old.nabble.com/Return-all-Facets--tp27944999p27950957.html Sent from the Solr - Us

Re: Return all Facets?

2010-03-18 Thread homerlex
Thanks for the reply. Can someone point me to a sample on how to use the luke request handler to get this info? Erik Hatcher-4 wrote: > > No, there isn't. How would one know what all the facet fields are, > though? > > One trick, use the luke request handler to get the list of fields, >

Return all Facets?

2010-03-18 Thread homerlex
I'm starting to play with Solr. I am looking at the API and see that there is an addFacetField on the SolrQuery Object that is required to specify which facet fields you want returned. Is there any way to specify that we want all facet fields with explicitly having to add them all via addFacetFi