Where does the value for ${dih.delta.id} come from exactly?

2017-04-06 Thread Mathias
rned db record? Thanks in advance, Mathias -- View this message in context: http://lucene.472066.n3.nabble.com/Where-does-the-value-for-dih-delta-id-come-from-exactly-tp4328678.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: OR two joins

2016-10-21 Thread Mathias
Yonik Seeley wrote > On Fri, Oct 21, 2016 at 7:07 AM, Mathias > < > mathias.mahlknecht@ > > wrote: >> With the first version I get the fallowing error: >> >> "org.apache.solr.search.SyntaxError: Cannot parse >> '(type:EM_PM_Timerecord&#x

Re: OR two joins

2016-10-21 Thread Mathias
With the first version I get the fallowing error: "org.apache.solr.search.SyntaxError: Cannot parse '(type:EM_PM_Timerecord': Encountered \"\" at line 1, column 22.\nWas expecting one of:\n ...\n ...\n ...\n\"+\" ...\n\"-\" ...\n ...\n\"(\" ...\n\")\" ...\n\"*\"

Re: OR two joins

2016-10-21 Thread Mathias
I tested it with solr version 6.1.0 and 6.2.1. Thanks, Mathias -- View this message in context: http://lucene.472066.n3.nabble.com/OR-two-joins-tp4302415p4302416.html Sent from the Solr - User mailing list archive at Nabble.com.

OR two joins

2016-10-21 Thread Mathias
eated:[142007400 TO 145161000]) Can someone tell me what I'm missing? And what is wrong with the first statement? Thanks in advance, Mathias -- View this message in context: http://lucene.472066.n3.nabble.com/OR-two-joins-tp4302415.html Sent from the Solr - User mailing list archive at Nabble.com.

LIRE Solr plugin updated to 4.10.2 and new demo ...

2014-12-17 Thread Mathias Lux
based search utilizing the standard handler but scoring with a funtcion (it's slower, but more flexible). Feel free to test it and let me know what you think :) http://demo-itec.uni-klu.ac.at/liredemo/ cheers, Mathias -- Priv.-Doz. Dr. Dipl.-Ing. Mathias Lux Associate Professor at

How to delete synonyms in a manages resource with SolrJ

2014-08-26 Thread Mathias Hodler
have to ensure reliability by myself. Thanks. Mathias

Re: DataImport Handler, writing a new EntityProcessor

2013-12-19 Thread Mathias Lux
/LireEntityProcessor.java?at=master#cl-56 The EntityProcessor is part of this image search plugin if anyone is interested: https://bitbucket.org/dermotte/liresolr/ :) It's always the small things that are hard to find cheers and thanks, Mathias On Wed, Dec 18, 2013 at 7:26 PM, P Williams

Re: DataImport Handler, writing a new EntityProcessor

2013-12-18 Thread Mathias Lux
ssume that the nested entity processor will be called for each of the rows that come out from its parent. I've read somewhere, that the data has to be taken from the data source, and I've implemented that, but it doesn't seem to change anything. cheers, Mathias On Wed, Dec 18, 201

DataImport Handler, writing a new EntityProcessor

2013-12-18 Thread Mathias Lux
as the filePath attribute, but it ends up all the same. However, the FileListEntityProcessor is able to read all the files according to the debug output, but I'm missing the link from the FileListEntityProcessor to the LireEntityProcessor. I'd appreciate any pointer or help :) cheers,

Re: Query & result caching with custom functions

2013-11-24 Thread Mathias Lux
set the queryResultCache size to 0 in the solrconfig.xml cheers, Mathias On Thu, Oct 24, 2013 at 4:51 PM, Joel Bernstein wrote: > Mathias, > > I'd have to do a close review of the function sort code to be sure, but I > suspect if you implement the equals() method on the Valu

Re: Query & result caching with custom functions

2013-10-24 Thread Mathias Lux
That's a possibility, I'll try that and report on the effects. Thanks, Mathias Am 24.10.2013 16:52 schrieb "Joel Bernstein" : > Mathias, > > I'd have to do a close review of the function sort code to be sure, but I > suspect if you implement the equals(

Query & result caching with custom functions

2013-10-24 Thread Mathias Lux
ounteract? btw. I'm using Solr 4.4 (so if you are aware of the issue and it has been resolved in 4.5 I'll port it :) The code I'm using is at https://bitbucket.org/dermotte/liresolr regards, Mathias -- Dr. Mathias Lux Assistant Professor, Klagenfurt University, Austria http://tinyurl.com/mlux-itec

Re: Re-Ranking results based on DocValues with custom function.

2013-09-18 Thread Mathias Lux
Got it! Just for you to share ... and maybe for inclusion in the Java API docs of ValueSource :) For sorting one needs to implement the method public double doubleVal(int) of the class ValueSource then it works like a charm. cheers, Mathias On Tue, Sep 17, 2013 at 6:28 PM, Chris Hostetter

Re: Scoring by document size

2013-09-17 Thread Mathias Lux
u can extend and override the Similarity implementation. You might take a look at http://lucene.apache.org/core/4_4_0/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html cheers, Mathias On Tue, Sep 17, 2013 at 1:59 PM, Upayavira wrote: > Have you used debugQuery=true, or fl=*,

Re: Re-Ranking results based on DocValues with custom function.

2013-09-17 Thread Mathias Lux
g8QEgsgEBAQEBAgEBAQEBA%3D)+asc&fl=id%2Ctitle%2Clirefunc(cl_hi%2CFQY5DhMYDg0ODg0PEBEPDg4ODg8QEgsgEBAQEBAgEBAQEBA%3D)&wt=json&indent=true cheers, Mathias On Tue, Sep 17, 2013 at 1:01 AM, Chris Hostetter wrote: > : dissimilarity functions). What I want to do is to search using common >

Re-Ranking results based on DocValues with custom function.

2013-09-16 Thread Mathias Lux
t the DocValues for search is handled by a custom RequestHandler, which works great, but using text as a main search feature, and my DocValues for re-ranking, I'd rather just add a function for sorting and use the current, stable and well performing request handler. cheers, Mathias ps. a de

Re: Is there a way to store binary data (byte[]) in DocValues?

2013-08-12 Thread Mathias Lux
PL-ed) source online at the end of September (as module of LIRE), after some stress tests, documentation and further bug fixing. cheers, Mathias On Mon, Aug 12, 2013 at 4:51 PM, Robert Muir wrote: > On Mon, Aug 12, 2013 at 8:38 AM, Mathias Lux wrote: >> Hi! >> >> I&

Re: Is there a way to store binary data (byte[]) in DocValues?

2013-08-12 Thread Mathias Lux
Hi! That's what I'm doing currently, but it ends up in StoredField implementations, which create an overhead on decompression I want to avoid. cheers, Mathias On Mon, Aug 12, 2013 at 3:11 PM, Raymond Wiker wrote: > base64-encode the binary data? That will give you strings, at the

Is there a way to store binary data (byte[]) in DocValues?

2013-08-12 Thread Mathias Lux
Hi! I'm basically searching for a method to put byte[] data into Lucene DocValues of type BINARY (see [1]). Currently only primitives and Strings are supported according to [1]. I know that this can be done with a custom update handler, but I'd like to avoid that. cheers, Mathias

DocValues for byte[] ... or a common codec for "selected fields"

2013-08-08 Thread Mathias Lux
Values? cheers, Mathias -- Dr. Mathias Lux Assistant Professor, Klagenfurt University, Austria http://tinyurl.com/mlux-itec

Listening to index updates in SolrJ?

2012-09-25 Thread Mathias Hodler
Hi, I'm using Embedded Solr 4.0 with SolrJ. In solrconfig.xml you can specify a RunExecutableListener. Is there something similar in SolrJ, so I can get an event, if the index gets updated? This can be very useful if using SolrCloud, to get an event if other shards updating the index. Thanks.

Re: Lucene FieldCache doesn' get cleaned up and OOM occurs

2012-05-14 Thread Mathias Hodler
lds is the only possibility if you can't increase memory. Thanks. Mathias 2012/5/14 Erick Erickson : > But consider what would happen if the cache was cleaned up the next > query in would require that the terms be re-loaded. I guess it's possible > that some people would be willing

Lucene FieldCache doesn' get cleaned up and OOM occurs

2012-05-11 Thread Mathias Hodler
s not enough memory left. But instead of that, Field Cache will always remains in "Old Generation GC". Could this be fixed or is the only way out to get more memory? Thanks. Mathias

How to only count distinct facet values of each group

2012-02-29 Thread Mathias Hodler
Hi, I'm looking for a parameter like "group.truncate=true". Though I not only want to count facets based on the most relevant document of each group but based on all documents. Moreover if a facet value is in more than in one document of a group it should only count once. Example: Doc 1: type: s

Re: Tokenize result of a NGramFilterFactory in Solr (query analyzer)

2012-02-10 Thread Mathias Hodler
Hi Ahmet, awesome! Now it works. 2012/2/10 Ahmet Arslan : >> I'm using the NGramFilterFactory for indexing and querying. >> >> So if I'm searching for "overflow" it creates an query like >> this: >> >> mySearchField:"ov ve ... erflow overflo verflow overflow" >> >> But if I misspelled "overflow",

Tokenize result of a NGramFilterFactory in Solr (query analyzer)

2012-02-10 Thread Mathias Hodler
Hi, I'm using the NGramFilterFactory for indexing and querying. So if I'm searching for "overflow" it creates an query like this: mySearchField:"ov ve ... erflow overflo verflow overflow" But if I misspelled "overflow", i.e. "owerflow" there are no matches because the quotes around the query:

Re: Best practise to automatically change a field value for a specific period of time

2011-12-02 Thread Mathias Hodler
Hi Morten, thanks, this is a very good solution. I also found another solution: Creating a custom ValueSourceParser for price sorting which considered the standard price and the campaign price. In my special case I think your approach isn't working, because i also need result grouping and this c

Re: Indexing-speed issues (chart included)

2011-06-21 Thread Mathias Hodler
Sorry, here are some details: requestHandler: XmlUpdateRequesetHandler protocol: http (10 concurrend threads) document: 1kb size, 15 fields cpu load: 20% memory usage: 50% But generally speaking, is that normal or must be something wrong with my configuration, ... 2011/6/17 Erick Erickson >

IndexableBinaryStringTools (was FieldCache)

2010-11-02 Thread Mathias Walter
string representation of the array address will be added the the SolrInputDocument. BTW: I've tested it with EmbeddedSolrServer and Solr/Lucene trunk. Why has the string representation changed? From the changed string I cannot decode the correct ID. -- Kind regards, Mathias

RE: FieldCache

2010-10-25 Thread Mathias Walter
Hi, > On Mon, Oct 25, 2010 at 3:41 AM, Mathias Walter > wrote: > > I indexed about 90 million sentences and the PAS (predicate argument > structures) they consist of (which are about 500 million). Then > > I try to do NER (named entity recognition) by searching about 5 mi

AW: FieldCache

2010-10-25 Thread Mathias Walter
. BTW: I made some tests with a smaller index and the ID encoded as string. Using the field cache improves the hit retrieval dramatically (from 18 seconds down to 2 seconds per query, with a large number of results). -- Kind regards, Mathias > -Ursprüngliche Nachricht- > Von: Er

FieldCache

2010-10-21 Thread Mathias Walter
FieldCache with a binary field? -- Kind regards, Mathias

RE: Using Solr Analyzers in Lucene

2010-10-05 Thread Mathias Walter
uot;1"); args.put("stemEnglishPossessive", "0"); args.put("language", "English"); wordDelimiter = new WordDelimiterFilterFactory(); wordDelimiter.init(args); stream = wordDelimiter.create(stream); -- Kind regards, Mathias > -Original Message- > From: Max Lyn

AW: WordDelimiterFilter combined with PositionFilter

2010-09-29 Thread Mathias Walter
Hi Robert, > On Fri, Sep 24, 2010 at 3:54 AM, Mathias Walter wrote: > > > Hi, > > > > I'm combined the WordDelimiterFilter with the PositionFilter to prevent the > > creation of expensive Phrase and MultiPhraseQueries. But > > if I now parse an es

WordDelimiterFilter combined with PositionFilter

2010-09-24 Thread Mathias Walter
d, I would expect a PhraseQuery and not a BooleanQuery. What should be the correct behavior? -- Kind regards, Mathias

Question on sorting

2009-04-21 Thread Mathias Herberts
eld cache, i.e. could a filter query somehow limit the values loaded in the FieldCache? Is there otherwise a WTH (Well Known Hack) to be able to sort on fields when an index has lots (100s of 1000s) of values for that field? Any help appreciated, Mathias.