I am using solrj in my java client to talk to the solr servers. I want the
solr query to timeout if I dont get the complete response within X amount
of time. In other words, I dont want my thread to wait indefinitely for the
response and I want a TimeoutException if solr response takes longer than
Hello all,
I am facing a need to store and retrieve json string in a
field.
eg. Imagine a schema like below.
[Please note that this is just an example but not actual specification.]
carDescription is a json string . An example would be
{ "model":1988 "type":"manual"}
I d
Clarification:
" Once the parser is response aware, its easy for the components to grab
the response and use them. " In the context of function queries, by
components, I mean various Functions that has been extended from
ValueSource.
On Thu, Sep 13, 2012 at 3:02 PM, Karthick
Hello all,
I am making multiple queries in a single url and trying to
boost the value of a field in the 2nd based on the results of the 1st. To
achieve this, my function query should be able to have access to the
response of the first query. However, QParser and QParserPlugin only
a
score of "Paid Ads" higher than
> "Ford Automobile". Basically, the result structure will look like
>
> - [Paid Ads Section]
> [Most valuable Ads 1]
> [Most valuable Ads 2]
> [Less valuable Ads 1]
> [Less valuable Ads 2]
> - [Re
Hi
You might add an int field "Search Rule" that identifies the type of
search.
example
Search Rule Description
0 Unpaid Search
1 Paid Sear
Not sure if this can help. But once I had a similar problem with Solr 3.6.0
where tomcat refused to find one of the classes that existed. I deleted the
tomcat's webapp directory and then it worked fine.
On Thu, Aug 23, 2012 at 8:19 AM, Erick Erickson wrote:
> First, I'm no Tomcat expert here'
Srini,
Whats the size of your index? You are saying that searching on
'string' fieldType takes 400 milli seconds but did you try searching on any
other fieldType other than string? If so, how much time did it take?
On Wed, Aug 22, 2012 at 10:35 AM, srinalluri wrote:
> This is string fiel
ow more than 10
> .."
>
> If you experience problem with constructing search result page, I can
> suggest submit search request with rows=0&facet.field=BRAND, then your
> algorithm can choose number of necessary items per every brand and submit
> rows=X&fq=BRAND:Y it giv
lue at query time, this will shuffle your results, that's probably
> the simplest thing to do.
>
> Hope this helps,
>
> Tanguy
>
> 2012/8/20 Karthick Duraisamy Soundararaj
>
>> Hello Mikhail,
>> Thank you for the reply. In terms
low. Can you explain the expected user
> experience, and/or solution approach before diving into the algorithm
> design?
>
> Thanks
>
>
> On Sat, Aug 18, 2012 at 2:50 AM, Karthick Duraisamy Soundararaj <
> karthick.soundara...@gmail.com> wrote:
>
>> My pro
whenever there is a match. You bf
should be something like this
bf=product_name^5.0
case 2: You have a field that just has product_name in it
If you have a field product_name, then just boost it directly by just
changing its field type to string.
On Sat, Aug 11, 2012 at 2:06 PM, Karthick Duraisa
ics^5.0
On Sat, Aug 11, 2012 at 2:06 PM, Karthick Duraisamy Soundararaj <
karthick.soundara...@gmail.com> wrote:
> @ajdabholkar, It certainly achievable. How exactly to achieve this
> depends on your document structure.
>
> Lets say you have
> iphone 4 - white
> iphone 4s - wh
@ajdabholkar, It certainly achievable. How exactly to achieve this depends
on your document structure.
Lets say you have
iphone 4 - white
iphone 4s - white
iphone 4 - black
case 1: You have product_name - color format
If you have a field in each of your documents that specifies product_name
and
tomcat
did not pick the new version. Once I flushed the work directly and
restarted tomcat, it seems to be happy!
On Fri, Jul 27, 2012 at 10:19 PM, Karthick Duraisamy Soundararaj <
karthick.soundara...@gmail.com> wrote:
> subQueries.get(i).close() is nothing but pulling the refrence from the
subQueries.get(i).close() is nothing but pulling the refrence from the
vector and closing it. So yes. it wouldnt throw exception.
vector subQueries
Please let me know if you need any more information
On Fri, Jul 27, 2012 at 10:14 PM, Karthick Duraisamy Soundararaj <
karthick.sound
I also hold a reference to query component as a private member in my
CustomHandler. Considering that the component is initialized only once
during the start up, I assume this isnt a cause of concernt.
On Fri, Jul 27, 2012 at 9:49 PM, Karthick Duraisamy Soundararaj <
karthick.soundara...@gma
First no. Because i do the following
for(i=0;i wrote:
> A finally clause can throw exceptions. Can this throw an exception?
> subQueries.get(i).close();
>
> If so, each close() call should be in a try-catch block.
>
> On Fri, Jul 27, 2012 at 5:28 PM, Karthick Dur
Just to clarify, the leak happens everytime a new searcher is opened.
On Fri, Jul 27, 2012 at 8:28 PM, Karthick Duraisamy Soundararaj <
karthick.soundara...@gmail.com> wrote:
> Hello all,
> While running in my eclipse and run a set of queries, this
> works fine, but w
think
of a reason why my extended version wouldnt work.. Does anyone have any
idea?
On Fri, Jul 27, 2012 at 10:19 AM, Karthick Duraisamy Soundararaj <
karthick.soundara...@gmail.com> wrote:
> I have tons of these open.
> searcherName : Searcher@24be0446 main
> caching : true
>
bsolete index files are held open, it may be old searchers. How big
> > are the caches? How long does it take to autowarm them?
> >
> > On Thu, Jul 26, 2012 at 6:15 PM, Karthick Duraisamy Soundararaj
> > wrote:
> > > Mark,
> > > We use solr 3.6.0 on f
Mark,
We use solr 3.6.0 on freebsd 9. Over a period of time, it
accumulates lots of space!
On Thu, Jul 26, 2012 at 8:47 PM, roz dev wrote:
> Thanks Mark.
>
> We are never calling commit or optimize with openSearcher=false.
>
> As per logs, this is what is happening
>
> openSearcher=true,
Did you find any more clues? I have this problem in my machines as well..
On Fri, Jun 29, 2012 at 6:04 AM, Bernd Fehling <
bernd.fehl...@uni-bielefeld.de> wrote:
> Hi list,
>
> while monitoring my solr 3.6.1 installation I recognized an increase of
> memory usage
> in OldGen JVM heap on my slave.
newReq = req.getCore();
> .
> // newReq.close()Will removing this lead to OOME?
> }
>
My conviction is yes. But just want to confirm..
>
On Wed, Jul 18, 2012 at 11:04 PM, Karthick Duraisamy Soundararaj <
karthick.soundara...@gm
Interesting, omitTf=true eventhough it would give strict enforcement,
wouldnt it affect the relevancy? Like, I am wondering if the ordering
amongst the three word matches would be not as good as it would be when we
have omitNorms=true&omitTf=true. Do you have an idea?
On Mon, May 21, 2012 at 8:51
.
On Fri, May 11, 2012 at 11:10 AM, Jack Krupansky wrote:
> Strict enforcement? Of what? Your query rule seems rather loose, and
> compatible with simple OR of the terms.
>
>
> -- Jack Krupansky
>
> -Original Message- From: Karthick Duraisamy Soundararaj
> Sent: Fr
t; more terms matching higher.
>
>
> -- Jack Krupansky
>
> -Original Message- From: Karthick Duraisamy Soundararaj
> Sent: Friday, May 11, 2012 10:44 AM
> To: solr-user@lucene.apache.org
> Subject: And results before Or results
>
> Lets say I have a query like &quo
uery, the docs
> should be order this way".
>
> So I'd advise against any "query chain" based on scores
> as the threshold, if that's what you mean by "threshold".
>
> Best
> Erick
>
> On Mon, Apr 2, 2012 at 10:28 AM, Karthick Duraisam
One minor change is that I used solr 3.5 source code and not the one from
the trunk.
On Sat, Mar 24, 2012 at 4:17 PM, Karthick Duraisamy Soundararaj <
karthick.soundara...@gmail.com> wrote:
> I followed your instructions. I got 8 Errors and a bunch of warnings few
> of them related
gt;
> 6. replace all string like path="xxx" to path="lucene_trunk/xxx" and copy
> them into .classpath file
> 7. mkdir WebContent/WEB-INF/lib
> 8. extract all jar file in dot.classpath to WebContent/WEB-INF/lib
> I use this command:
>lili@lili-desk
30 matches
Mail list logo