I am wrapping CoreContainer in my own class (FacetServerImpl), so that I can
override the query(SolrRequest request) method to return an xml String. This
is the best way I found to get an xml response from Solr, without deploying
solr as a service, note that EmbeddedSolrServer returns a NamedList.
Hi,
Is there any way, we can implement field boosting with q.alt parameter
query. I would appreciate if somebody can suggest if there is any workaround
for the same.
Thanks,
Amit Garg
--
View this message in context:
http://www.nabble.com/Field-Boosting-with-q.alt-parameter-Query-tp22304491p22
The dismax parser does not support wildcard queries currently (but see
also SOLR-756). Again, use defType=lucene to get that capability.
But, you will lose the qf field specific boosting capability. You
can, however, OR in additional clauses for boosting (like the dismax
bq does).
Quer
On Mar 3, 2009, at 3:01 AM, The Flight Captain wrote:
I am wrapping CoreContainer in my own class (FacetServerImpl), so
that I can
override the query(SolrRequest request) method to return an xml
String. This
is the best way I found to get an xml response from Solr, without
deploying
solr a
On Mar 3, 2009, at 3:35 AM, dabboo wrote:
Is there any way, we can implement field boosting with q.alt parameter
query. I would appreciate if somebody can suggest if there is any
workaround
for the same.
The question really is not about q.alt specifically, but about query
parsers. With t
Hi Eric,
Thanks a lot for the information. How I can add the clauses for boosting
like bq. I have field names like "prodMainTitle_s" etc. Do you mean that I
should add the field boosting in bq entry in solrConfig file.
Please suggest.
Thanks,
Amit Garg
Erik Hatcher wrote:
>
> The dismax par
Thanks it did work with the standard woodstox parser in the resin
configuration file.
Regards,
Pooja
On Mon, Mar 2, 2009 at 9:55 PM, Walter Underwood wrote:
> Also, open your document in a browser to make sure that it really is
> well-formed. Most browsers will pinpoint the syntax error. --wunde
Hi,
I tried this url but it threw nullpointer exception. Also, I am having
underscores in the field name like ProductUrl_s etc.
I also debug the query which gets formed with q.alt, it doesnt calculate the
scores of the documents and hence doesnt support field boosting.
Please suggest me as how I
Hi,
I want to search "tes*t", where "*" is not considering as wildcard but as
character. So, I am expecting the results which have tes*t as string as one
of their field value.
Please suggest how to achieve it.
Thanks,
Amit Garg
--
View this message in context:
http://www.nabble.com/Phrase-Que
L.S.
There seems to be a bug in the PHPS outputHandler when retrieving a
query that also produces spellcheck results.
The following query fails to return an unserializable string:
spellcheck=true&facet=true&indent=on&facet.mincount=1&spellcheck.extendedResults=true&
spellcheck.q=groninen&spellc
On Mar 3, 2009, at 8:13 AM, dabboo wrote:
I want to search "tes*t", where "*" is not considering as wildcard
but as
character. So, I am expecting the results which have tes*t as string
as one
of their field value.
Please suggest how to achieve it.
This requires escaping the special charac
Amit,
If you use the lucene query parser, you only get a q parameter. All
the other parameters, such as qf and bq, are specific to the dismax
query parser. If you want to use the lucene query parser for wildcard
capability, you have to manually build the query across multiple
fields and
I have a thesaurus that I would like to dump into the synonyms.txt In my
thesaurus I have a term swine that
has a property called use_for which in my case is essentially a synonym.
The json representation of the term swine from my solr based thesaurus is:
{
"term":"swine",
"us
It looks like if you set a -Dsolr.data.dir=foo then you could specify
where the index would be stored, yes? Are you properly setting your
solr.home? I've never had to set the data directory specifically, Solr
has always put it under my home.
From solrconfig.xml:
${solr.data.dir:./solr/dat
Hi Matthew,
The problem is that we have multiple instances of solr running under one
tomcat. So setting -Dsolr.data.dir=foo would set the home for every solr. I
guess multi-core might solve my problem, but that'd change our app
architecture too much, maybe some other day.
I *kind* of have a solut
Perhaps you could hard code it in the solrconfig.xml file for each
solr instance? Other than that, what we did was run multiple instances
of Tomcat. That way if something goes bad in one, it doesn't affect
the others.
Thanks for your time!
Matthew Runo
Software Engineer, Zappos.com
mr...@z
That's exactly what we're doing (setting the value in each config). The main
problem with that is we have multiple people working on each of these solr
projects, in different environments. Their data.dir path is always the same
(relative) value which works fine under Jetty. But running under tomcat
there is a strange behavior which seems to affect hudson today (March 3rd)
build but not (for example) hudson February 2th build.
Basically when I start the multicore enviroment, it just create datadir in
the current path.
To replicate:
1. download latest trunk
2. go to example directory
$ ls
READ
I see where your problems come in then. I'm not sure of the answer
though =\
We've not had issues running multiple tomcat instances per server. I
think at one point a few weeks ago we ran 6 instances per server, on
quad core Xeon servers with 16gb of ram. Our use case might be
different t
See http://wiki.apache.org/solr/SpellCheckComponent
On Mar 3, 2009, at 1:23 AM, dabboo wrote:
Hi,
I am trying to implement the spell check feature in solr with
lucene. for
e.g. if any record contains "elephants" and user enters "elepents",
even
then also, it should return the results wi
Those are in the Lucene core JAR.
On Feb 25, 2009, at 11:46 PM, dabboo wrote:
Hi,
I am trying to override getFieldQuery method of QueryParser class,
which
uses 2 classed i.e. PositionIncrementAttribute & TokenAttribute of
org.apache.lucene.analysis.tokenattributes package. I\
I am not able
Dear solr fans,
I have a solr index of roughly 8M docs and I have here a little
problem when I commit some insertion into it.
The insert itself is very fast, but my commit takes 163 seconds.
Here's the solr trace the commit leaves:
INFO: start commit(optimize=false,waitFlush=false,waitS
Looks like cache autowarming.
If you have statically defined warming queries in solrconfig.xml, you
could try setting autowarmCount=0 for all the caches.
-Yonik
http://www.lucidimagination.com
On Tue, Mar 3, 2009 at 2:37 PM, Jérôme Etévé wrote:
> Dear solr fans,
>
> I have a solr index of roug
Hi list
We're in need of a spatial search extension to Solr, and it looks like we
might end up implementing it ourselves.
At first glance localsolr looked promising, but a closer look revealed that
each document has only a single point location, and querying is done via a
cartesian grid. Our docu
I have a question regarding using large number of weighted tags in order to
compare documents using Solr.
Basically, I have a set of domain objects, each of which has many properties,
and from these I'm creating documents which are added to Solr. The properties
are all being turned into tags, s
I'm using solr 1.3 and am trying to get a delta-import with the DIH.
Recently the wiki, http://wiki.apache.org/solr/DataImportHandler, was
updated explaining that delta import is a 1.4 feature now but it was
still possible get a delta using the full import example here,
http://wiki.apache.org/solr/
Are there any easily foreseeable problems with implementing an r-
tree box
indexing/searching extension to Solr, in the spirit of localsolr? If
anyone
has any pointers I'm all ears.
I have implemented an R-Tree based integration for solr. It is pretty
ugly and memory intensive, but works
Hi,
I have two cores in different machines which are referring to the same data
directory.
I have implemented this mechanism to have fault tolerance in place, if any of
the machines are down the fault tolerance take care to index data from other
machine.
Since two cores are referring to the
Hi,
I am using Nutch nightly build #736 (version 1.0?) to crawl and index, and I
would like to use Solr as the indexer. I wonder if there's a way to convert
Nutch indices to Solr?
Thanks!
Tony
--
Are you RCholic? www.RCholic.com
温 良 恭 俭 让 仁 义 礼 智 信
I do not see anything wrong with this .It should have worked . Can you
check that dataimport.properties is created (by DIH) in the conf
directory? . check the content?
are you sure that the query
select DId from 2_Doc where ModifiedDate > '${dataimporter.last_index_time}'
works with a date for
Anshul: It doesn't look like you ever got an answer to this question, did
you ever find a solution?
I'm not very shard savy, but if the numFound is coming back non-zero, the
best guess i have is that somewhere you are overridding the default "rows"
param with a value of 0.
if that's not it: c
I don't think there is a way, other than manually reading Nutch's (Hadoop's)
files and reindexing the content with Solr. But you should probably be using
Nutch's support for Solr instead.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From:
Thanks for the DirectSolrConnection tip, that eliminated the need for parsing
the XML as a string, and all that code need to instantiate a container. I am
now Using SolrCore.getSolrCore(). This method is deprecated though, what is
the standard way of instaniating a SoreCore to pass it as a paramet
Hi Eric,
Thanks for all the inputs you have given. They are really helpful. I am able
to achieve the field boosting * wildcard with dismax. For this, I had to
make code changes in DisjunctionMaxQueryParser sub class in SolrPluginUtils
class.
Thanks,
Amit Garg
Erik Hatcher wrote:
>
> Amit,
>
>
Hi,
Date search is not happening in solr. I am giving the field name and date
value as the request but it is not returning any value.
Please suggest.
Thanks,
Amit Garg
--
View this message in context:
http://www.nabble.com/Search-with-Date-field-tp22324779p22324779.html
Sent from the Solr - U
Can you reply with example of solr request?
Amit
On Mar 3, 2009, at 11:08 PM, dabboo wrote:
Hi,
Date search is not happening in solr. I am giving the field name and
date
value as the request but it is not returning any value.
Please suggest.
Thanks,
Amit Garg
--
View this message in co
36 matches
Mail list logo