It will be easier to understand these if you make an index in Solr and
examine it with the Luke program. Build Solr,
cd solr/example
java -jar start.jar
in another window
cd solr/exampledocs
sh post.sh *.xml
Now use Luke on the index in solr/example/solr/collection1/data/index
You will see what f
: Modifying the field definition to
Alok: thanks for reporting this. I've opend an issue to improve hte
example and the docs...
https://issues.apache.org/jira/browse/SOLR-3674
-Hoss
So on the lucene side I am only using:
http://lucene.apache.org/core/3_6_0/api/core/org/apache/lucene/document/Field.html#Field(java.lang.String,
java.lang.String, org.apache.lucene.document.Field.Store,
org.apache.lucene.document.Field.Index)
and
http://lucene.apache.org/core/3_6_0/api/core/org/
Hi,
Is there a way to make a SOLR query which will filter the result returned by
the group.
I am having the following three document in SOLR, and I want to pick up the
latest document based on RqDate which is associated with OrganizationIdRef:154.
So I wrote my query to group the results by Use
Solr places constraints upon what you can do with your lucene index
(e.g. You must conform to a schema). If your Lucene index cannot be
mapped to a schema, then it cannot be used within Solr.
Upayavira
On Tue, Jul 24, 2012, at 11:05 PM, spredd1208 wrote:
> Is there a best practice to copy a lucen
: emptyFieldChain
...
: 294
...
: When running the DIH full import, the log output is:
...
: I'm a bit confused that it does not output the commit logs but it didn't
: do that before, neither, if I remember correctly. When I issue an
It may not commit by default unless y
Is there a best practice to copy a lucene index which is built using the core
API of Lucene 3.6 into a
solr server (also 3.6) and then have it work?
I cannot find a mapping anywhere of lucene fields to solr fields and what
the corresponding schema.xml would look like.
This seems like something th
Nagendra,
Does RankingAlgorithm work with faceting which requires the use of cache? As
new documents are added or updated, the cache will be constantly invalidated.
So how would RankingAlgorithm work in this case?
From: Nagendra Nagarajayya
To: solr-user@luce
: Managed to do this in the end by reconstructing a new SolrQueryRequest
: with a SolrRequestParsers (method buildRequestFrom()) and then calling
: core.execute();
: Took some fiddling but seems to be working now! :)
FWIW, i think the simplest way to do something like this would be...
CoreContai
: I'm suspicious now, of an Opensuse-ism. Maybe lingering pkg pollution
: of the java stack on this box.
I would be more suspicious of lingering pkg pollution in tomcat ... i'm
assuming you already tried the solr tutorial using the provided jetty
first ... right?
if that works it's unlikely
On Tue, Jul 24, 2012, at 11:43 AM, Chris Hostetter wrote:
>
> : Whoops ... sorry, somehow i totally missed that. I just tried again
> with Solr 3.6.1 and everything still worked fine...
>
> BTW: I ran all these steps on Solr 3.6.1 using both...
>
> java version "1.6.0_24"
> OpenJDK Runtime Envir
: Whoops ... sorry, somehow i totally missed that. I just tried again with
: Solr 3.6.1 and everything still worked fine...
BTW: I ran all these steps on Solr 3.6.1 using both...
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.12.04.1)
OpenJDK 64-Bit
: > I just used the following steps (basically the same as yours just
: > different paths) and got solr running in tomcat 7.0.29 with no
: > problems
:
: Well, *and* using a different version of solr ...
Whoops ... sorry, somehow i totally missed that. I just tried again with
Solr 3.6.1 and
I have used Solr 3.4 for a long time. Recently, when I upgrade to Solr 4.0
and reindex the whole data, I find that the fields which are specified as
string type can not be searched by q parameter. If I just change the type
to text_general, it works. So my question is for Solr 4.0, must I set the
: I have a multivalued field and I want to find records that have (for
: example) at least 3 values in that list. Is there an easy way to do
: it?
Typically this is solved by adding another field that contains the count
-- I thought i had already written an update processor in Solr 4.0.0-ALPHA
Hi,
On Tue, Jul 24, 2012, at 10:50 AM, Chris Hostetter wrote:
>
> : I removed distro pacakged Tomcat from the eqaation,
> ...
> : replacing it with an upstream instance
> ...
> : Repeating the process, at attempt to 'start' the /solr webapp, there's
> : no change. I still get
>
: I removed distro pacakged Tomcat from the eqaation,
...
: replacing it with an upstream instance
...
: Repeating the process, at attempt to 'start' the /solr webapp, there's
: no change. I still get
...
: java.lang.IllegalArgumentException: Invalid or unreadable WA
Yair
1. In case if you have not seen this, you can download and play with the
example
http://www.ibm.com/developerworks/opensource/library/j-spatial/
2. Download solr-example.tgz from below which has input xml files, index using
DIH {It doesnt use solrj but I think you will get some idea
On 24 July 2012 09:55, yair even-zohar wrote:
> Can someone please send a simple java example for indexing and querying a
> latitude, longitude coordinate on SolrDocument.
> That is, assume we have a document and we want to simply add the lat,lon
> as field to the document and then query accordin
Can someone please send a simple java example for indexing and querying a
latitude, longitude coordinate on SolrDocument.
That is, assume we have a document and we want to simply add the lat,lon as
field to the document and then query according to distance too
Thanks
-Yair
I asked that question just a couple of days ago. Check archive for
full conversation on July 14-16th.
In summary, what you want is only possible if all (ALL!) fields are
stored (not just indexed). And you may want to look at:
https://issues.apache.org/jira/browse/SOLR-139
Regards,
Alex.
Person
Hi there,
sorry for the length - it is mostly (really) log output. The basic issue is
reflected in the subject: DIH runs fine, but even with an extra optimize on top
(which should not be necessary given my DIH config) the index remains empty.
(I have changed from 3.6.1 to 4.0-ALPHA because of H
Hello Alexander,
The cache gets dumped when you restart for the upgrade. Do you mean the index?
Michael Della Bitta
Appinions, Inc. -- Where Influence Isn’t a Game.
http://www.appinions.com
On Tue, Jul 24, 2012 at 7:43 AM, alexander81 wrote:
>
I'm using solr 3.5 via SIREn
I modified the schema.xml by adding:
My code is the following:
SolrInputDocument document = new SolrInputDocument();
SolrInputField inputField = new SolrInputField("coordinate");
String latlon = "40.19,-73.978551";
inputField.addValue(latlon, 1.0F
Hi,
after this upgrade I need to see if the cache has to be rebuilt or not.
regards
--
View this message in context:
http://lucene.472066.n3.nabble.com/Upgrade-solr-1-4-1-to-3-6-tp3996952.html
Sent from the Solr - User mailing list archive at Nabble.com.
Thanks Mark! I am already working with Apache Software Foundation on the
mark and am using the correct usage of the mark as suggested by them.
Regards,
Nagendra Nagarajayya
http://solr-ra.tgels.org
http://rankingalgorithm.tgels.org
On 7/23/2012 12:15 PM, Mark Miller wrote:
On Jul 23, 2012, a
On Tue, Jul 24, 2012 at 8:24 AM, Nagendra Nagarajayya
wrote:
> SolrIndexSearcher is a heavy object with caches, etc.
As I've said, the caches are configurable, and it's trivial to disable
all caching (to the point where the cache objects are not even
created).
> The reader member is not replaced
Hi Yonik:
Please see my comments below:
On 7/23/2012 8:52 AM, Yonik Seeley wrote:
On Mon, Jul 23, 2012 at 11:37 AM, Nagendra Nagarajayya
wrote:
Realtime NRT algorithm enables NRT functionality in
Solr by not closing the Searcher object and so is very fast. I am in the
process of contributin
Hi Hoss,
thank you for the quick response and the explanations!
> My suggestion would be to modify the XPath expression you are using to
> pull data out of your original XML files and ignore ""
>
I don't think this is possible. That would include text() in the XPath which is
not handled by t
Thanks for your reply. It worked for me. For now, I am using it in query
string only. But planning to move it to solrconfig.
Thanks again!
~Amitesh
--
View this message in context:
http://lucene.472066.n3.nabble.com/Does-defType-overrides-other-settings-for-default-request-handler-tp3995946p399
30 matches
Mail list logo