Avlesh,
I got it, finally, by doing an OR between the two fields, one with an exact
match keyword and the other is grouped.
q=suggestion:"formula xxx" OR tokenized_suggestion:(formula )
Thanks for all your help!
Rih
On Fri, Oct 9, 2009 at 4:26 PM, R. Tan wrote:
> I ended up with the sam
ilters at all.
>> > > > > > > > >> > > I am in a mad rush right now, but on the face of it
>> your
>> > > > field
>> > > > > > > > >> > definitions
>> > > > > > > > >> > > look right.
>> > > > > > > > >> > >
>> > > > > > > > >> > > This is what I asked for -
>> > > > > > > > >> > > q=(autoComplete2:cha^10 autoComplete:cha)
>> > > > > > > > >> > >
>> > > > > > > > >> > > Lemme know if this does not work for you.
>> > > > > > > > >> > >
>> > > > > > > > >> > > Cheers
>> > > > > > > > >> > > Avlesh
>> > > > > > > > >> > >
>> > > > > > > > >> > > On Thu, Oct 8, 2009 at 4:58 PM, R. Tan <
>> > > > tanrihae...@gmail.com
>> > > > > >
>> > > > > > > > wrote:
>> > > > > > > > >> > >
>> > > > > > > > >> > > > Hi Avlesh,
>> > > > > > > > >> > > >
>> > > > > > > > >> > > > I can't seem to get the scores right.
>> > > > > > > > >> > > >
>> > > > > > > > >> > > > I now have these types for the fields I'm
>> targeting,
>> > > > > > > > >> > > >
>> > > > > > > > >> > > > > class="solr.TextField"
>> > > > > > > > >> > > > positionIncrementGap="1">
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >> > > > class="solr.WhitespaceTokenizerFactory"/>
>> > > > > > > > >> > > >> />
>> > > > > > > > >> > > >> > > > > minGramSize="1"
>> > > > > > > > >> > > > maxGramSize="20"/>
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >> > > > class="solr.WhitespaceTokenizerFactory"/>
>> > > > > > > > >> > > >> />
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >> > > class="solr.TextField"
>> > > > > > > > >> > > > positionIncrementGap="1">
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >> > class="solr.KeywordTokenizerFactory"/>
>> > > > > > > > >> > > >> />
>> > > > > > > > >> > > >> > > > > minGramSize="1"
>> > > > > > > > >> > > > maxGramSize="20"/>
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >> > class="solr.KeywordTokenizerFactory"/>
>> > > > > > > > >> > > >> />
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >
>> > > > > > > > >> > > > My query is this,
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >
>> > > > > > > > >> > >
>> > > > > > > > >> >
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> q=*:*&fq=autoCompleteHelper:cha+autoCompleteHelper2:cha&qf=autoCompleteHelper^10.0+autoCompleteHelper2^1.0
>> > > > > > > > >> > > >
>> > > > > > > > >> > > > What should I tweak from the above config and
>> query?
>> > > > > > > > >> > > >
>> > > > > > > > >> > > > Thanks,
>> > > > > > > > >> > > > Rih
>> > > > > > > > >> > > >
>> > > > > > > > >> > > >
>> > > > > > > > >> > > > On Thu, Oct 8, 2009 at 4:38 PM, R. Tan <
>> > > > > tanrihae...@gmail.com
>> > > > > > >
>> > > > > > > > >> wrote:
>> > > > > > > > >> > > >
>> > > > > > > > >> > > > > I will have to pass on this and try your
>> suggestion
>> > > > first.
>> > > > > > So,
>> > > > > > > > how
>> > > > > > > > >> > does
>> > > > > > > > >> > > > > your suggestion (1 and 2) boost the my startswith
>> > > query?
>> > > > > Is
>> > > > > > it
>> > > > > > > > >> > because
>> > > > > > > > >> > > of
>> > > > > > > > >> > > > > the n-gram filter?
>> > > > > > > > >> > > > >
>> > > > > > > > >> > > > >
>> > > > > > > > >> > > > >
>> > > > > > > > >> > > > > On Thu, Oct 8, 2009 at 2:27 PM, Sandeep Tagore <
>> > > > > > > > >> > > sandeep.tag...@gmail.com
>> > > > > > > > >> > > > >wrote:
>> > > > > > > > >> > > > >
>> > > > > > > > >> > > > >>
>> > > > > > > > >> > > > >> Yes it can be done but it needs some
>> customization.
>> > > > > Search
>> > > > > > > for
>> > > > > > > > >> > custom
>> > > > > > > > >> > > > sort
>> > > > > > > > >> > > > >> implementations/discussions.
>> > > > > > > > >> > > > >> You can check...
>> > > > > > > > >> > > > >>
>> > > > > > > > >> > > > >>
>> > > > > > > > >> > > >
>> > > > > > > > >> > >
>> > > > > > > > >> >
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://lucene.apache.org/solr/api/org/apache/solr/schema/RandomSortField.html
>> > > > > > > > >> > > > >> .
>> > > > > > > > >> > > > >> Let us know if you have any issues.
>> > > > > > > > >> > > > >>
>> > > > > > > > >> > > > >> Sandeep
>> > > > > > > > >> > > > >>
>> > > > > > > > >> > > > >>
>> > > > > > > > >> > > > >> R. Tan wrote:
>> > > > > > > > >> > > > >> >
>> > > > > > > > >> > > > >> > This might work and I also have a single value
>> > > field
>> > > > > > which
>> > > > > > > > >> makes
>> > > > > > > > >> > it
>> > > > > > > > >> > > > >> > cleaner.
>> > > > > > > > >> > > > >> > Can sort be customized (with indexOf()) from
>> the
>> > > solr
>> > > > > > > > >> parameters
>> > > > > > > > >> > > > alone?
>> > > > > > > > >> > > > >> >
>> > > > > > > > >> > > > >>
>> > > > > > > > >> > > > >> --
>> > > > > > > > >> > > > >> View this message in context:
>> > > > > > > > >> > > > >>
>> > > > > > > > >> > > >
>> > > > > > > > >> > >
>> > > > > > > > >> >
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25799055.html
>> > > > > > > > >> > > > >> Sent from the Solr - User mailing list archive
>> at
>> > > > > > Nabble.com.
>> > > > > > > > >> > > > >>
>> > > > > > > > >> > > > >>
>> > > > > > > > >> > > > >
>> > > > > > > > >> > > >
>> > > > > > > > >> > >
>> > > > > > > > >> >
>> > > > > > > > >>
>> > > > > > > > >
>> > > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>
>
gt; > > Lemme know if this does not work for you.
> > > > > > > > >> > >
> > > > > > > > >> > > Cheers
> > > > > > > > >> > > Avlesh
> > > > > > > > >> > >
> > > > > > > > >
t;
> > > > > > > wrote:
> > > > > > > >> > >
> > > > > > > >> > > > Hi Avlesh,
> > > > > > > >> > > >
> > > > > > > >> > > > I can't seem to get the scores right.
> > > > > > > >> > > >
> > > > > > > >> > > > I now have these types for the fields I'm targeting,
> > > > > > > >> > > >
> > > > > > > >> > > > > > > > > > >> > > > positionIncrementGap="1">
> > > > > > > >> > > >
> > > > > > > >> > > > > > class="solr.WhitespaceTokenizerFactory"/>
> > > > > > > >> > > >
> > > > > > > >> > > > > > > minGramSize="1"
> > > > > > > >> > > > maxGramSize="20"/>
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > > > class="solr.WhitespaceTokenizerFactory"/>
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > > class="solr.TextField"
> > > > > > > >> > > > positionIncrementGap="1">
> > > > > > > >> > > >
> > > > > > > >> > > > class="solr.KeywordTokenizerFactory"/>
> > > > > > > >> > > >
> > > > > > > >> > > > > > > minGramSize="1"
> > > > > > > >> > > > maxGramSize="20"/>
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > class="solr.KeywordTokenizerFactory"/>
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > My query is this,
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> q=*:*&fq=autoCompleteHelper:cha+autoCompleteHelper2:cha&qf=autoCompleteHelper^10.0+autoCompleteHelper2^1.0
> > > > > > > >> > > >
> > > > > > > >> > > > What should I tweak from the above config and query?
> > > > > > > >> > > >
> > > > > > > >> > > > Thanks,
> > > > > > > >> > > > Rih
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > On Thu, Oct 8, 2009 at 4:38 PM, R. Tan <
> > > > tanrihae...@gmail.com
> > > > > >
> > > > > > > >> wrote:
> > > > > > > >> > > >
> > > > > > > >> > > > > I will have to pass on this and try your suggestion
> > > first.
> > > > > So,
> > > > > > > how
> > > > > > > >> > does
> > > > > > > >> > > > > your suggestion (1 and 2) boost the my startswith
> > query?
> > > > Is
> > > > > it
> > > > > > > >> > because
> > > > > > > >> > > of
> > > > > > > >> > > > > the n-gram filter?
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > > On Thu, Oct 8, 2009 at 2:27 PM, Sandeep Tagore <
> > > > > > > >> > > sandeep.tag...@gmail.com
> > > > > > > >> > > > >wrote:
> > > > > > > >> > > > >
> > > > > > > >> > > > >>
> > > > > > > >> > > > >> Yes it can be done but it needs some customization.
> > > > Search
> > > > > > for
> > > > > > > >> > custom
> > > > > > > >> > > > sort
> > > > > > > >> > > > >> implementations/discussions.
> > > > > > > >> > > > >> You can check...
> > > > > > > >> > > > >>
> > > > > > > >> > > > >>
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://lucene.apache.org/solr/api/org/apache/solr/schema/RandomSortField.html
> > > > > > > >> > > > >> .
> > > > > > > >> > > > >> Let us know if you have any issues.
> > > > > > > >> > > > >>
> > > > > > > >> > > > >> Sandeep
> > > > > > > >> > > > >>
> > > > > > > >> > > > >>
> > > > > > > >> > > > >> R. Tan wrote:
> > > > > > > >> > > > >> >
> > > > > > > >> > > > >> > This might work and I also have a single value
> > field
> > > > > which
> > > > > > > >> makes
> > > > > > > >> > it
> > > > > > > >> > > > >> > cleaner.
> > > > > > > >> > > > >> > Can sort be customized (with indexOf()) from the
> > solr
> > > > > > > >> parameters
> > > > > > > >> > > > alone?
> > > > > > > >> > > > >> >
> > > > > > > >> > > > >>
> > > > > > > >> > > > >> --
> > > > > > > >> > > > >> View this message in context:
> > > > > > > >> > > > >>
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25799055.html
> > > > > > > >> > > > >> Sent from the Solr - User mailing list archive at
> > > > > Nabble.com.
> > > > > > > >> > > > >>
> > > > > > > >> > > > >>
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
; > > > > > > > > >> > > > positionIncrementGap="1">
> > > > > > >> > > >
> > > > > > >> > > > > class="solr.WhitespaceTokenizerFactory"/>
> > > > > > >> > > >
> > > > > > >> > > > > > minGramSize="1"
> > > > > > >> > > > maxGramSize="20"/>
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > > class="solr.WhitespaceTokenizerFactory"/>
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > class="solr.TextField"
> > > > > > >> > > > positionIncrementGap="1">
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > > > minGramSize="1"
> > > > > > >> > > > maxGramSize="20"/>
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > My query is this,
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> q=*:*&fq=autoCompleteHelper:cha+autoCompleteHelper2:cha&qf=autoCompleteHelper^10.0+autoCompleteHelper2^1.0
> > > > > > >> > > >
> > > > > > >> > > > What should I tweak from the above config and query?
> > > > > > >> > > >
> > > > > > >> > > > Thanks,
> > > > > > >> > > > Rih
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > On Thu, Oct 8, 2009 at 4:38 PM, R. Tan <
> > > tanrihae...@gmail.com
> > > > >
> > > > > > >> wrote:
> > > > > > >> > > >
> > > > > > >> > > > > I will have to pass on this and try your suggestion
> > first.
> > > > So,
> > > > > > how
> > > > > > >> > does
> > > > > > >> > > > > your suggestion (1 and 2) boost the my startswith
> query?
> > > Is
> > > > it
> > > > > > >> > because
> > > > > > >> > > of
> > > > > > >> > > > > the n-gram filter?
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > On Thu, Oct 8, 2009 at 2:27 PM, Sandeep Tagore <
> > > > > > >> > > sandeep.tag...@gmail.com
> > > > > > >> > > > >wrote:
> > > > > > >> > > > >
> > > > > > >> > > > >>
> > > > > > >> > > > >> Yes it can be done but it needs some customization.
> > > Search
> > > > > for
> > > > > > >> > custom
> > > > > > >> > > > sort
> > > > > > >> > > > >> implementations/discussions.
> > > > > > >> > > > >> You can check...
> > > > > > >> > > > >>
> > > > > > >> > > > >>
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> http://lucene.apache.org/solr/api/org/apache/solr/schema/RandomSortField.html
> > > > > > >> > > > >> .
> > > > > > >> > > > >> Let us know if you have any issues.
> > > > > > >> > > > >>
> > > > > > >> > > > >> Sandeep
> > > > > > >> > > > >>
> > > > > > >> > > > >>
> > > > > > >> > > > >> R. Tan wrote:
> > > > > > >> > > > >> >
> > > > > > >> > > > >> > This might work and I also have a single value
> field
> > > > which
> > > > > > >> makes
> > > > > > >> > it
> > > > > > >> > > > >> > cleaner.
> > > > > > >> > > > >> > Can sort be customized (with indexOf()) from the
> solr
> > > > > > >> parameters
> > > > > > >> > > > alone?
> > > > > > >> > > > >> >
> > > > > > >> > > > >>
> > > > > > >> > > > >> --
> > > > > > >> > > > >> View this message in context:
> > > > > > >> > > > >>
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25799055.html
> > > > > > >> > > > >> Sent from the Solr - User mailing list archive at
> > > > Nabble.com.
> > > > > > >> > > > >>
> > > > > > >> > > > >>
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
amSize="1"
> > > > > >> > > > maxGramSize="20"/>
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > class="solr.WhitespaceTokenizerFactory"/>
> > > >> > > >
> > > > >> > > >
> > > > >> > > > > > > >> > > > positionIncrementGap="1">
> > > > >> > > >
> > > > >> > > >
> > > > >&g
gt; >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > > > >> > > > maxGramSize="20"/>
> > > >> > > >
> > >
>
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > My query is this,
&g
; > > >
> >> > > > What should I tweak from the above config and query?
> >> > > >
> >> > > > Thanks,
> >> > > > Rih
> >> > > >
> >> > > >
> >> > > > On Thu, Oct 8, 2009 at 4:38 PM, R. Tan
> >> wrote:
> >> > > >
> >> > > > > I will have to pass on this and try your suggestion first. So,
> how
> >> > does
> >> > > > > your suggestion (1 and 2) boost the my startswith query? Is it
> >> > because
> >> > > of
> >> > > > > the n-gram filter?
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > On Thu, Oct 8, 2009 at 2:27 PM, Sandeep Tagore <
> >> > > sandeep.tag...@gmail.com
> >> > > > >wrote:
> >> > > > >
> >> > > > >>
> >> > > > >> Yes it can be done but it needs some customization. Search for
> >> > custom
> >> > > > sort
> >> > > > >> implementations/discussions.
> >> > > > >> You can check...
> >> > > > >>
> >> > > > >>
> >> > > >
> >> > >
> >> >
> >>
> http://lucene.apache.org/solr/api/org/apache/solr/schema/RandomSortField.html
> >> > > > >> .
> >> > > > >> Let us know if you have any issues.
> >> > > > >>
> >> > > > >> Sandeep
> >> > > > >>
> >> > > > >>
> >> > > > >> R. Tan wrote:
> >> > > > >> >
> >> > > > >> > This might work and I also have a single value field which
> >> makes
> >> > it
> >> > > > >> > cleaner.
> >> > > > >> > Can sort be customized (with indexOf()) from the solr
> >> parameters
> >> > > > alone?
> >> > > > >> >
> >> > > > >>
> >> > > > >> --
> >> > > > >> View this message in context:
> >> > > > >>
> >> > > >
> >> > >
> >> >
> >>
> http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25799055.html
> >> > > > >> Sent from the Solr - User mailing list archive at Nabble.com.
> >> > > > >>
> >> > > > >>
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> >
> >
>
gt; On Thu, Oct 8, 2009 at 4:38 PM, R. Tan
>> wrote:
>> > > >
>> > > > > I will have to pass on this and try your suggestion first. So, how
>> > does
>> > > > > your suggestion (1 and 2) boost the my startswith query? Is it
>> > because
>> > > of
>> > > > > the n-gram filter?
>> > > > >
>> > > > >
>> > > > >
>> > > > > On Thu, Oct 8, 2009 at 2:27 PM, Sandeep Tagore <
>> > > sandeep.tag...@gmail.com
>> > > > >wrote:
>> > > > >
>> > > > >>
>> > > > >> Yes it can be done but it needs some customization. Search for
>> > custom
>> > > > sort
>> > > > >> implementations/discussions.
>> > > > >> You can check...
>> > > > >>
>> > > > >>
>> > > >
>> > >
>> >
>> http://lucene.apache.org/solr/api/org/apache/solr/schema/RandomSortField.html
>> > > > >> .
>> > > > >> Let us know if you have any issues.
>> > > > >>
>> > > > >> Sandeep
>> > > > >>
>> > > > >>
>> > > > >> R. Tan wrote:
>> > > > >> >
>> > > > >> > This might work and I also have a single value field which
>> makes
>> > it
>> > > > >> > cleaner.
>> > > > >> > Can sort be customized (with indexOf()) from the solr
>> parameters
>> > > > alone?
>> > > > >> >
>> > > > >>
>> > > > >> --
>> > > > >> View this message in context:
>> > > > >>
>> > > >
>> > >
>> >
>> http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25799055.html
>> > > > >> Sent from the Solr - User mailing list archive at Nabble.com.
>> > > > >>
>> > > > >>
>> > > > >
>> > > >
>> > >
>> >
>>
>
>
gt; > > > your suggestion (1 and 2) boost the my startswith query? Is it
> > because
> > > of
> > > > > the n-gram filter?
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Oct 8, 2009 at 2:27 PM, Sandeep
?
> > > >
> > > >
> > > >
> > > > On Thu, Oct 8, 2009 at 2:27 PM, Sandeep Tagore <
> > sandeep.tag...@gmail.com
> > > >wrote:
> > > >
> > > >>
> > > >> Yes it can be done but it needs some
es it can be done but it needs some customization. Search for custom
> > sort
> > >> implementations/discussions.
> > >> You can check...
> > >>
> > >>
> >
> http://lucene.apache.org/solr/api/org/apache/solr/schema/RandomSortField.html
> > >> .
> > >> Let us know if you have any issues.
> > >>
> > >> Sandeep
> > >>
> > >>
> > >> R. Tan wrote:
> > >> >
> > >> > This might work and I also have a single value field which makes it
> > >> > cleaner.
> > >> > Can sort be customized (with indexOf()) from the solr parameters
> > alone?
> > >> >
> > >>
> > >> --
> > >> View this message in context:
> > >>
> >
> http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25799055.html
> > >> Sent from the Solr - User mailing list archive at Nabble.com.
> > >>
> > >>
> > >
> >
>
know if you have any issues.
> >>
> >> Sandeep
> >>
> >>
> >> R. Tan wrote:
> >> >
> >> > This might work and I also have a single value field which makes it
> >> > cleaner.
> >> > Can sort be customized (with indexOf()) from the solr parameters
> alone?
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25799055.html
> >> Sent from the Solr - User mailing list archive at Nabble.com.
> >>
> >>
> >
>
This might work and I also have a single value field which makes it
>> > cleaner.
>> > Can sort be customized (with indexOf()) from the solr parameters alone?
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25799055.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
>
ave a single value field which makes it
> > cleaner.
> > Can sort be customized (with indexOf()) from the solr parameters alone?
> >
>
> --
> View this message in context:
> http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25799055.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
o have a single value field which makes it
> cleaner.
> Can sort be customized (with indexOf()) from the solr parameters alone?
>
--
View this message in context:
http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25799055.html
Sent from the Solr - User mailing
distance which user requests for.
Please tell me your thoughts and correct me if I am wrong.
Thanks,
Sandeep
--
View this message in context:
http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25798925.html
Sent from the Solr - User mailing list archive at Nabble.com.
>
> R. Tan wrote:
> >
> > Hi,
> > How can I get wildcard search (e.g. cha*) to score documents based on the
> > position of the keyword in a field? Closer (to the start) means higher
> > score.
> >
>
> --
> View this message in context:
> http:
I will try this out. How does 1 and 2 boost the my startswith query? Is it
because of the n-gram filter?
On Thu, Oct 8, 2009 at 1:29 PM, Avlesh Singh wrote:
> You would need to boost your "startswith" matches artificially for the
> desired behavior.
> I would do it this way -
>
> 1. Create a
in a field? Closer (to the start) means higher
> > score.
> >
>
> --
> View this message in context:
> http://www.nabble.com/Scoring-for-specific-field-queries-tp25798390p25798657.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
come first.
Regards,
Sandeep
R. Tan wrote:
>
> Hi,
> How can I get wildcard search (e.g. cha*) to score documents based on the
> position of the keyword in a field? Closer (to the start) means higher
> score.
>
--
View this message in context:
http://www.nabble.com/Sco
You would need to boost your "startswith" matches artificially for the
desired behavior.
I would do it this way -
1. Create a KeywordTokenized field with n-gram filter.
2. Create a Whitespace tokenized field with n-gram flter.
3. Search on both the fields, boost matches for #1 over #2.
H
Hi,
How can I get wildcard search (e.g. cha*) to score documents based on the
position of the keyword in a field? Closer (to the start) means higher
score.
For example, I have multiple documents with titles containing the word
"champion". Some of the document titles start with the word "champion"
25 matches
Mail list logo