boost ignored with wildcard queries
Using the StandardRequestHandler, it appears that the index boost values are ignored when the query has a wildcard in it. For example, if I have 2 's and one has a boost of 1.0 and another has a boost of 10.0, then I do a search for "bob*", both records will be returned with the same score of 1.0. If I just do a normal search then the that has the higher boost has the higher score as expected. Is this a bug? ~Tom p.s. Here's what my debug looks like: 1.0 = (MATCH) ConstantScoreQuery([EMAIL PROTECTED]), product of: 1.0 = boost 1.0 = queryNorm 1.0 = (MATCH) ConstantScoreQuery([EMAIL PROTECTED]), product of: 1.0 = boost 1.0 = queryNorm -- View this message in context: http://www.nabble.com/boost-ignored-with-wildcard-queries-tp15703334p15703334.html Sent from the Solr - User mailing list archive at Nabble.com.
Dedup results on the fly?
I would like to be able to tell SOLR to dedup the results based on a certain set of fields. For example, I like to return only one instance of the set of documents that have the same 'name' and 'address'. But I would still like to keep all instances around in case someone wants to retrieve one of the duplicate instances by ID. Is there some way to do something like this... maybe with a custom Comparator??? Has anyone attempted to do this? -- View this message in context: http://www.nabble.com/Dedup-results-on-the-fly--tp15721708p15721708.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Dedup results on the fly?
Thanks Sean! Sean Timm wrote: > > Take a look at https://issues.apache.org/jira/browse/SOLR-236 Field > Collapsing. > > -- View this message in context: http://www.nabble.com/Dedup-results-on-the-fly--tp15721708p15726106.html Sent from the Solr - User mailing list archive at Nabble.com.
Partial matches don't work (solr.NGramFilterFactory
Hello, I have the following definitions in my schema.xml: ... ... There is a document "Hippopotamus is fatter than a Platypus" indexed. When I search for "Hippopotamus" I receive the expected result. When I search for any partial such as "Hippo" or "potamu" I get nothing. I could use some guidance. Script Head
Partial matches don't work (solr.NGramFilterFactory)
Hello, I have the following definitions in my schema.xml: ... ... There is a document "Hippopotamus is fatter than a Platypus" indexed. When I search for "Hippopotamus" I receive the expected result. When I search for any partial such as "Hippo" or "potamu" I get nothing. I could use some guidance.
Re: Partial matches don't work (solr.NGramFilterFactory
Yes, I have tried searching on text_ngrams as well and it produces no results. On a related note, since I have wouldn't the ngrams produced by text_ngrams field definition also be available within the text field? 2011/2/2 Tomás Fernández Löbbe : > About this: > > > > The NGrams are going to be indexed on the field "text_ngrams", not on > "text". For the field "text", Solr will apply the text analysis (which I > guess doesn't have NGrams). You have to search on the "text_ngrams" field, > something like "text_ngrams:hippo" or "text_ngrams:potamu". Are you > searching like this? > > Tomás > > On Wed, Feb 2, 2011 at 4:07 PM, Script Head wrote: > >> Hello, >> >> I have the following definitions in my schema.xml: >> >> >> >> >> > maxGramSize="15"/> >> >> >> >> >> >> ... >> > stored="true"/> >> ... >> >> >> There is a document "Hippopotamus is fatter than a Platypus" indexed. >> When I search for "Hippopotamus" I receive the expected result. When I >> search for any partial such as "Hippo" or "potamu" I get nothing. I >> could use some guidance. >> >> Script Head >> >