A few random questions about solr queries.

2012-05-29 Thread santamaria2
*1)* With faceting, how does facet.query perform in comparison to facet.field? I'm just wondering this as in my use case, I need to facet over a field -- which would get me the top n facets for that field, but I also need to show the count for a "selected filter" which might have a relatively low c

Re: A few random questions about solr queries.

2012-05-30 Thread santamaria2
A wee bit of clarification on the 2nd question. I meant relative performance, ie. would it be much slower to facet over 20 facet.queries & 10 facet.fields compared to say, 4 facet.queries & facet.fields. I wonder if this makes sense... So... is a bump improper etiquette here? >_> -- View this mes

Is it faster to search over many different fields or one field that combines the values of all those other fields?

2012-06-05 Thread santamaria2
Say I have various categories of 'tags'. I want a keyword search to search through my index of articles. So I search over: 1) the title. 2) the body 3) about 10 of these tag-categories. Each tag category is multivalued with a few words per value. Without considering the affect on 'relevance', and

Wildcard query vs facet.prefix for autocomplete?

2012-07-15 Thread santamaria2
I'm about to implement an autocomplete mechanism for my search box. I've read about some of the common approaches, but I have a question about wildcard query vs facet.prefix. Say I want autocomplete for a title: 'Shadows of the Damned'. I want this to appear as a suggestion if I type 'sha' or 'dam

Re: Wildcard query vs facet.prefix for autocomplete?

2012-07-17 Thread santamaria2
I'll consider using the other methods, but I'd like to know which would be faster among the two approaches mentioned in my opening post. -- View this message in context: http://lucene.472066.n3.nabble.com/Wildcard-query-vs-facet-prefix-for-autocomplete-tp3995199p3995458.html Sent from the Solr -

Re: Wildcard query vs facet.prefix for autocomplete?

2012-07-18 Thread santamaria2
t;dam", all by itself, something > like > > 2 > 1 > > etc. > > which does not contain anything that lets you reconstruct the title > for autosuggest. > > Best > Erick > > On Tue, Jul 17, 2012 at 3:18 AM, santamaria2 <[hidden > email]<http://us

Re: Wildcard query vs facet.prefix for autocomplete?

2012-07-18 Thread santamaria2
Very interesting! Thanks for sharing, I'll ponder on it. -- View this message in context: http://lucene.472066.n3.nabble.com/Wildcard-query-vs-facet-prefix-for-autocomplete-tp3995199p3995899.html Sent from the Solr - User mailing list archive at Nabble.com.

Designing an index with multiple entity types, sharing field names across entity-types.

2012-08-08 Thread santamaria2
My question stems from a vague memory of reading somewhere that Solr's search performance depends on how the total number of 'terms' there are in all in a field that is searched upon. I'm setting up an index core for some autocomplete boxes on my site. There is a search box for each facet group in

Re: Designing an index with multiple entity types, sharing field names across entity-types.

2012-08-08 Thread santamaria2
To clarify a wee bit more. I'm wondering the performance impact on single-entity queries if I use common field names. eg. 'name' field for all entity types. 'Author' & 'Book' together make up for 200,000+ 'name' values. Will this affect anything if I search over 'Category'? Will using fq=type:categ

Re: Designing an index with multiple entity types, sharing field names across entity-types.

2012-08-08 Thread santamaria2
*civilized bump* -- View this message in context: http://lucene.472066.n3.nabble.com/Designing-an-index-with-multiple-entity-types-sharing-field-names-across-entity-types-tp3999727p451.html Sent from the Solr - User mailing list archive at Nabble.com.