I am asking the question again. Hope someone knows the answer. Basically i
just don't want the boosting scoring(generated from the formula) to be
normalized. Can I do it without hacking the source code?
Elaine
On Wed, Jul 20, 2011 at 3:07 PM, Elaine Li wrote:
> Hi Folks,
>
> My
Hi Folks,
My boost function bf=div(product(num_clicks,0.3),sum(num_clicks,25))
I would like to directly add the score of it to the final scoring instead of
letting it be normalized by the queryNorm value.
Is there anyway to do it?
Thanks.
Elaine
Hi,
I am trying to trace the exception I get from the deletedPkQuery I am
running.
When I kick off the delta-import, the statusMessage has the following
message after 2 hours, but no single document was modified or deleted.
2813450
and then it bailed out when i submitted another heavy query on the
om> wrote:
> On Thu, Jul 14, 2011 at 1:39 AM, Elaine Li
wrote:
>
>> Hi Folks,
>>
>> I am trying to use the deletedPkQuery to enable deltaImport to remove
>> the inactive products from solr.
>> I am keeping getting the syntax error saying the query syntax is
Hi Folks,
I am trying to use the deletedPkQuery to enable deltaImport to remove
the inactive products from solr.
I am keeping getting the syntax error saying the query syntax is not
right. I have tried many alternatives to the following query. Although
all of them work in the mysql prompt directly
Thanks for the link. Using the fq with MLT request handler works.
Elaine
On Tue, Jul 12, 2011 at 12:55 PM, Koji Sekiguchi wrote:
> (11/07/13 1:40), Elaine Li wrote:
>>
>> Hi Folks,
>>
>> I need to filter out the returns if the document's field activated =
>&
Hi Folks,
I need to filter out the returns if the document's field activated = false.
I tried the following in order to retrieve similar products which are
all activated products. But this does not work.
http://localhost:8983/solr/mlt?q=(id:2043144 AND activated:true)&mlt.count=10
Can you sugges
of them, then you get no results :)
>
This makes sense. Just curious to know how much more space the term
vectors will take.
My 'text'(a product's description) can be very long, it can be 2K's
long paragraphs.
Is it crazy to create term vectors out of it?
Elaine
> On Fri
to store the term vectors, which actually
>> is
>> "termVectors" and not "term_vectored" (see
>> http://wiki.apache.org/solr/SchemaXml#Expert_field_options).
>>
>> Try changing that and tell us if it worked!
>>
>> Regards,
>>
>>
Hi Folks,
This is my configuration for mlt in solrconfig.xml
name,text,category_text
2
1
3
1000
50
5000
true
name,text,category_text
I also defined the three fields to have term_vectored attribute in schema.xml
When i su
Thanks.
I am pretty sure the url is no problem. The query syntax has a
problem, so it returns 400. I just want to grab that value.
On Thu, Oct 22, 2009 at 4:50 AM, James liu wrote:
> Are you sure the url is correct?
>
>
> --
> regards
> j.L ( I live in Shanghai, China)
>
Hi,
I am using Javascript and JSON to submit the solr query. I want to get
the reponse status so if there is a 400 http error, i will issue an
error instead of doing nothing which is very confusing to the user.
Hope I can even grab the message body.
How do i do that?
Thanks.
Elaine
ik
> http://www.lucidimagination.com
>
> On Tue, Oct 13, 2009 at 4:33 PM, Elaine Li wrote:
>> Hi,
>>
>> In my query, i have around 80 boolean clauses. I don't know if it is
>> because the number of boolean clauses are too big, so I got into this
>> problem.
>>
Hi,
In my query, i have around 80 boolean clauses. I don't know if it is
because the number of boolean clauses are too big, so I got into this
problem.
My solr config file actually says the max number to be 1024.
Can any one help?
_header=[1515632954,1939520811,m=3653,g=4096,p=4096,c=4096]={saui
Hi,
What is the correct syntax for the following boolean search from a field?
fieldname1:(word_a1 or word_b1) && (word_a2 or word_b2) && (word_a3 or
word_b3) && fieldname2:.
Thanks.
Elaine
You can increase the java heap size, e.g. java -Xms128m -Xmx8192m -jar <*.xml>
Or i split the file if it is too big.
Elaine
On Thu, Oct 8, 2009 at 6:47 AM, Pravin Karne
wrote:
> Hi,
> I am new to solr. I am able to index, search and update with small
> size(around 500mb)
> But if I try to index
the results in one shot but it uses http call. You cant avoid
> it. You don't need to query multiple times with Solrj. Query once, get the
> results, store them in java beans, process it and display the results.
>
> Regards,
> Sandeep
>
>
> Elaine Li wrote:
>>
&g
ds (results) save the output of
> sentence.indexOf(keyword) in your java bean. Here sentence is a variable
> declared in the java bean.
> For more details you need to read the usage of Solrj. If you have any issues
> in modifying the configuration post the configuration you have for the
>
; Text.. u can't achieve that because the sentence will be tokenized.
>
> Sandeep
>
>
> Elaine Li wrote:
>>
>> I have a field. The field has a sentence. If the user types in a word
>> or a phrase, how can I return the index of this word or the index of
&
Hi,
I have a field. The field has a sentence. If the user types in a word
or a phrase, how can I return the index of this word or the index of
the first word of the phrase?
I tried to use &bf=ord..., but it does not work as i expected.
Thanks.
Elaine
't you do that comparison at index time and store the result in an
> additional field? At query time you could include that other field as
> condition.
>
> Cheers,
> Chantal
>
> Elaine Li schrieb:
>>
>> Hi Shalin,
>>
>> Thanks for your attention.
>&
Hi Sandeep,
I read about this chapter before. It did not mention how to create my
own customized function.
Can you point me to some instructions?
Thanks.
Elaine
On Mon, Oct 5, 2009 at 10:15 AM, Sandeep Tagore
wrote:
>
> Hi Elaine,
> You can make use of http://wiki.apache.org/solr/FunctionQuer
found aligned in the table,
then it is a hit. Otherwise, it should not return.
Hope I clarified what i need to achieve. Your help is greatly appreciated!
Thanks!
Elaine
On Mon, Oct 5, 2009 at 5:57 AM, Shalin Shekhar Mangar
wrote:
> On Sat, Oct 3, 2009 at 1:16 AM, Elaine Li wrote:
>
>>
Hi,
My doc has three fields, say field1, field2, field3.
My search would be q=field1:string1 && field2:string2. I also need to
do some computation and comparison of the string1 and string2 with the
contents in field3 and then determine if it is a hit.
What can I do to implement this?
Thanks.
E
Hi,
What is the best way to do pagination?
I searched around and only found some YUI utilities can do this. But
their examples don't have very close match to the pattern I have in
mind. I would like to have pretty plain display, something like the
search results from google.
Thanks.
Elaine
ows=100&start=0 and the
> second 100 results with rows=100&start=100 etc. etc.
>
> Regards,
>
> gwk
>
> Elaine Li wrote:
>>
>> gwk,
>>
>> Sorry for confusion. I am doing simple phrase search among the
>> sentences which could be in english o
fl parameter
> (http://wiki.apache.org/solr/CommonQueryParameters#head-db2785986af2355759faaaca53dc8fd0b012d1ab).
> Hope this helps.
>
> Regards,
>
> gwk
>
> Elaine Li wrote:
>>
>> I want to get the 10K results, not just the top 10.
>> The fields are regular l
so
> in a set of 10K? Also, are you retrieving really large stored fields? If
> you add &debugQuery=true to your request, Solr will return timing
> information for the various components.
>
>
> On Sep 9, 2009, at 10:10 AM, Elaine Li wrote:
>
>> Hi,
>>
>&g
Hi,
I have 20 million docs on solr. If my query would return more than
10,000 results, the response time will be very very long. How to
resolve such problem? Can I slice my docs into pieces and let the
query operate within one piece at a time so the response time and
response data will be more man
Thanks a lot! Really helped.
On Mon, Aug 31, 2009 at 2:21 PM, AHMET ARSLAN wrote:
>> I use text as my field type, but whenever my field has
>> '&' sign, the post.jar will error out. What can I do to work around this?
>> Thanks.
>
> The files - that you are posting - must be valid xml. Escape spe
Hi,
I use text as my field type, but whenever my field has '&' sign, the
post.jar will error out. What can I do to work around this? Thanks.
solr returned an error:
comctcwstxexcWstxLazyException_Unexpected_character___code_32_missing_name__
at_javaxxmlstreamSerializableLocation587f587f__comctcws
Uri,
Thanks a lot! I don't need to do cross language search. So Option 2
sounds better, coz my corpus is very large.
I am still looking for help on chinese language search. I tried
chinesetokenizerfactory as my analyzer, but it did not help. Only word
with white space, comma and etc around them c
Hi,
I have two questions.
1) Can solr be configured so all my english docs will be saved in a
group, say group-en? My chinese docs will be saved in group-cn. So my
search will only be conducted in the intended group, instead of
everywhere.
2) I posted some chinese docs to the server. The query o
None of
>> > them produce the correct result.
>> >
>>
>> Please provide sample queries and their desired responses (what is
>> "correct"
>> according to you). This will help people to suggest field definitions for
>> you to use.
>>
>
Hi,
In every doc of mine, there is a sentence.
I tried to set the sentence to fieldtype as one of the three 'text',
'text_ws' and 'textTight'. None of them produce the correct result.
For eg.
"The Arab Presense" is returned when I search for ("arabic").
"to confirm the existence of many communi
thanks for the info.
On Fri, Aug 21, 2009 at 1:42 PM, Chris
Hostetter wrote:
>
> : I want the query to return all the found docs, not just 10 of them by
> : default. It could be in the thousands. So i can furture process the
> : returned json structure in my javascript.
>
> FAQ...
>
> http://wiki.
I want the query to return all the found docs, not just 10 of them by
default. It could be in the thousands. So i can furture process the
returned json structure in my javascript.
Is such option? What should i do with the 'rows' number in the
solrconfig.xml file?
Thanks.
-
fast_warm
0
10
-
Hi,
I am new solr user. I want to use solr search to run query against
many xml files I have.
I have set up the solr server to run query against the example files.
One problem is my xml does not have tag and "name" attribute.
My format is rather easy:
I looked at the schema.xml
38 matches
Mail list logo