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
I ended up with the same set of results earlier but I don't results such as
"the champion", I think because of the EdgeNGram filter.
With NGram, I'm back to the same problem:
Result for q=ca
0.8717008
Blu Jazz Cafe
0.8717008
Café in the Pond
On Fri, Oct 9, 2009 at 4:02 PM, R. Tan wrote:
How do these filters help the autosuggest?
On Fri, Oct 9, 2009 at 3:59 PM, Avlesh Singh wrote:
> >
> > What are the replacements for, the special character and 20 char?
> >
> I had no time to diff between your definitions and mine. Copy-pasting mine
> was easier :)
>
> Also, do you get resul
>
> What are the replacements for, the special character and 20 char?
>
I had no time to diff between your definitions and mine. Copy-pasting mine
was easier :)
Also, do you get results such as " formula"?
>
The "autocomplete" field would definitely not match this query, but the
"tokenized aut
Thanks, I'll give this a go. What are the replacements for, the special
character and 20 char? Also, do you get results such as " formula"?
On Fri, Oct 9, 2009 at 3:45 PM, Avlesh Singh wrote:
> I have a very similar set-up for my auto-suggest (I am sorry that it can't
> be viewed from an ext
I have a very similar set-up for my auto-suggest (I am sorry that it can't
be viewed from an external network).
I am sending you my field definitions, please use them and see if it works
out correctly.
Yeah, I do get results. Anything else I missed out?
I want it to work like this site's auto suggest feature.
http://www.sematext.com/demo/ac/index.html
Try the keyword 'formula'.
Thanks,
Rih
On Fri, Oct 9, 2009 at 3:24 PM, Avlesh Singh wrote:
> Can you just do q=autoCompleteHelper2:caf to se
Can you just do q=autoCompleteHelper2:caf to see you get results?
Cheers
Avlesh
On Fri, Oct 9, 2009 at 12:53 PM, R. Tan wrote:
> Yup, it is. Both are copied from another field called name.
>
> On Fri, Oct 9, 2009 at 3:15 PM, Avlesh Singh wrote:
>
> > Lame question, but are you populating data
Yup, it is. Both are copied from another field called name.
On Fri, Oct 9, 2009 at 3:15 PM, Avlesh Singh wrote:
> Lame question, but are you populating data in the autoCompleteHelper2
> field?
>
> Cheers
> Avlesh
>
> On Fri, Oct 9, 2009 at 12:36 PM, R. Tan wrote:
>
> > The problem is, I'm getti
Lame question, but are you populating data in the autoCompleteHelper2 field?
Cheers
Avlesh
On Fri, Oct 9, 2009 at 12:36 PM, R. Tan wrote:
> The problem is, I'm getting equal scores for this:
> Query:
> q=(autoCompleteHelper2:caf^10.0 autoCompleteHelper:caf)
>
> Partial Result:
>
>
> 0.7821733
The problem is, I'm getting equal scores for this:
Query:
q=(autoCompleteHelper2:caf^10.0 autoCompleteHelper:caf)
Partial Result:
0.7821733
Bikes Café
0.7821733
Cafe Feliy
I'm using the standard request handler with this.
Thanks,
Rih
On Fri, Oct 9, 2009 at 3:02 PM, R. Tan wrote:
> Avle
Avlesh,
I don't see anything wrong with the data from analysis.
KeywordTokenized:
*term position ** **1** **2** **3** **4** **5** **6** **7** **8** **9** **10
** **11** **12** **13** **14** **15** **16** **...*
*term text ** **th** **he** **e ** **c** **ch** **ha** **am** **mp** **pi**
**io** **o
Use the field analysis tool to see how the data is being analyzed in both
the fields.
Cheers
Avlesh
On Fri, Oct 9, 2009 at 12:56 AM, R. Tan wrote:
> Hmm... I don't quite get the desired results. Those starting with "cha" are
> now randomly ordered. Is there something wrong with the filters I ap
Hmm... I don't quite get the desired results. Those starting with "cha" are
now randomly ordered. Is there something wrong with the filters I applied?
On Thu, Oct 8, 2009 at 7:38 PM, Avlesh Singh wrote:
> Filters? I did not mean filters at all.
> I am in a mad rush right now, but on the face of
Filters? I did not mean filters 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 wro
Hi Avlesh,
I can't seem to get the scores right.
I now have these types for the fields I'm targeting,
My query is this,
q=*:*&fq=auto
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 wrote:
>
> Yes it can be done but it needs some customization. Search for custom sor
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
Hi Avlesh,
Thanks for your attention to my post.
1. If the word "computer" occurs in multiple times in a document what
would you do in that case? Is this dynamic field supposed to be
multivalued?
I can't even imagine what would you do if the word "computer" occurs in
multiple documen
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?
Thanks!
On Thu, Oct 8, 2009 at 1:40 PM, Sandeep Tagore wrote:
>
> Hi Rihaed,
> I guess we don't need to depend on scores all the times.
> You can
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
>
> I guess we don't need to depend on scores all the times.
> You can use custom sort to sort the results. Take a dynamicField, fill it
> with indexOf(keyword) value, sort the results by the field in ascending
> order. Then the records which contain the keyword at the earlier position
> will come
Hi Rihaed,
I guess we don't need to depend on scores all the times.
You can use custom sort to sort the results. Take a dynamicField, fill it
with indexOf(keyword) value, sort the results by the field in ascending
order. Then the records which contain the keyword at the earlier position
will come
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
24 matches
Mail list logo