Re: Reusable tokenstream

2017-11-23 Thread Roxana Danger
analysis chain of target field). You can remove > inputField from document. > > HTH, > Emir > -- > Monitoring - Log Management - Alerting - Anomaly Detection > Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > > > > > On 22 Nov 2017, at 17

Re: Reusable tokenstream

2017-11-22 Thread Roxana Danger
esn't help you. TokenStream is stateless, it holds the attributes for the > current token only. > Anyway, it resetted before it's returned for later reuse - it can't carry a > state. > > On Wed, Nov 22, 2017 at 1:43 PM, Roxana Danger <roxana.dan...@gmail.com> > wrote: >

Re: Reusable tokenstream

2017-11-22 Thread Roxana Danger
mp; Elasticsearch Consulting Support Training - http://sematext.com/ > > > > > On 22 Nov 2017, at 11:43, Roxana Danger <roxana.dan...@gmail.com> wrote: > > > > Hi Emir, > > Many thanks for your reply. > > The UpdateProcessor can do this work, but is analyzer.reu

Re: Reusable tokenstream

2017-11-22 Thread Roxana Danger
Emir > -- > Monitoring - Log Management - Alerting - Anomaly Detection > Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > > > > > On 22 Nov 2017, at 11:09, Roxana Danger <roxana.dan...@gmail.com> wrote: > > > > Hello all, > &g

Reusable tokenstream

2017-11-22 Thread Roxana Danger
Hello all, I would like to reuse the tokenstream generated for one field, to create a new tokenstream (adding a few filters to the available tokenstream), for another field without the need of executing again the whole analysis. The particular application is: - I have field *tokens* that uses an

tokenstream reusable

2017-11-21 Thread Roxana Danger
Hello all, I would like to reuse the tokenstream generated in one field, to create a new tokenstream for another field without executing again the whole analysis. The particulate application is: - I have field *tokens* with an analyzer that generate the tokens (and maintains the token type

Re: problem executing a query using lucene directly

2016-12-23 Thread Roxana Danger
your classpath, you should be able to use UninvertingReader.wrap() > to do something similar. > > Alan Woodward > www.flax.co.uk > > > > On 22 Dec 2016, at 17:58, Roxana Danger <roxana.dan...@reedonline.co.uk> > wrote: > > > > Hi Alan, > > thank you ve

Re: problem executing a query using lucene directly

2016-12-22 Thread Roxana Danger
.uk> wrote: > Hi, > > FieldValueQuery reports matches using docvalues, and it looks like they’re > not enabled on that field. > > Alan Woodward > www.flax.co.uk > > > > On 22 Dec 2016, at 16:21, Roxana Danger <roxana.dan...@reedonline.co.uk> > wrote: >

problem executing a query using lucene directly

2016-12-22 Thread Roxana Danger
Hi all, I have created an index using solr. I am trying to execute the following code, but I get zero results in the count. DirectoryReader dr = DirectoryReader.open(FSDirectory.open(new File(indexDir).toPath())); IndexSearcher searcher = new IndexSearcher( dr );

Re: plugging an analyzer

2016-02-03 Thread Roxana Danger
* Not declaring a field with that type > * Not using that field in a document > * Assuming the tokenizer/filter will be instantiated directly rather than > through the factory interfaces. > > Hope that helps! > > k/r, > Scott > > > On Tue, Feb 2, 2016 at 3:04 AM, Roxana Dang

plugging an analyzer

2016-02-02 Thread Roxana Danger
Hello, I would like to use some code embedded on an analyser. The problem is that I need to pass some parameters for initializing it. My though was to create a plugin and initialize the parameters with the init( Map args ) or init( NamedList args ) methods as explained in

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-26 Thread Roxana Danger
? On 23 October 2015 at 07:49, Roxana Danger <roxana.dan...@reedonline.co.uk> wrote: > Hi Alexandre, > > No, this is what is missing... I assume I can select the docs with a query > (e.g. *:*, in the content.stream?), but I haven't found which parameter is > the right one

using a custom update for all documents

2015-10-26 Thread Roxana Danger
Hello everyone, Is there a way to update all the documents in the solr index using a custom update processor? Thank you, Roxana

Re: using a custom update for all documents

2015-10-26 Thread Roxana Danger
, Upayavira <u...@odoko.co.uk> wrote: > > > On Mon, Oct 26, 2015, at 02:58 PM, Roxana Danger wrote: > > Hello everyone, > > Is there a way to update all the documents in the solr index using a > > custom > > update processor? > > > You want to re-i

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-23 Thread Roxana Danger
You need to tell the second call which documents to update. Are you doing > that? > > There may also be a wrinkle in the URP order, but let's get the first step > working first. > On 22 Oct 2015 12:59 pm, "Roxana Danger" <roxana.dan...@reedonline.co.uk> > wrot

getting cached terms inside UpdateRequestProcessor...

2015-10-22 Thread Roxana Danger
Hello, I would like to create an updateRequestProcessorChain that should to be executed after a DB DIH. I am extending UpdateRequestProcessorFactory and the UpdateRequestProcessor classes. The method processAdd of my UpdateRequestProcessor should be able to update the documents with the indexed

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-22 Thread Roxana Danger
t; Regards, > Alex. > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 22 October 2015 at 06:20, Roxana Danger > <roxana.dan...@reedonline.co.uk> wrote: > > Hello, > > > > I would like to create

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-22 Thread Roxana Danger
method is executed? > > > > Thank you very much in advance. > > > > > > -- > Sincerely yours > Mikhail Khludnev > Principal Engineer, > Grid Dynamics > > <http://www.griddynamics.com> > <mkhlud...@griddynamics.com> > -- Roxana

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-22 Thread Roxana Danger
itect > http://www.lucidworks.com <http://www.lucidworks.com/> > > > > > > On Oct 22, 2015, at 6:20 AM, Roxana Danger < > roxana.dan...@reedonline.co.uk> wrote: > > > > Hello, > > > > I would like to create an updateRequestProcessorCh

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-22 Thread Roxana Danger
t; > Regards, >Alex. > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 22 October 2015 at 10:49, Roxana Danger > <roxana.dan...@reedonline.co.uk> wrote: > > Hi Alex, > > > > My idea b

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-22 Thread Roxana Danger
).getResourceLoader(); > DIHWriter sw = getSolrWriter(processor, loader, requestParams, req); > > > > > > > > On Oct 22, 2015, at 12:19 PM, Shawn Heisey <apa...@elyograg.org> wrote: > > > > On 10/22/2015 10:09 AM, Roxana Danger wrote: > >>

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-22 Thread Roxana Danger
@gmail.com%3E > > In the first email of the thread, I indicated I had tried 4.4 and > 4.5-SNAPSHOT. > > Thanks, > Shawn > > -- Roxana Danger | Data Scientist Dragon Court, 27-29 Macklin Street, London, WC2B 5LX Tel: 020 7067 4568 [image: reed.co.uk] <http://www.reed.co.uk/>

Re: entity processing order during updates

2015-09-30 Thread Roxana Danger
gt; > Regards, >Alex. > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 28 September 2015 at 11:23, Roxana Danger > <roxana.dan...@reedonline.co.uk> wrote: > > Hello, > > I am importing in sol

Re: entity processing order during updates

2015-09-30 Thread Roxana Danger
ters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 30 September 2015 at 10:53, Roxana Danger > <roxana.dan...@reedonline.co.uk> wrote: > > Do you mean creating 2 instances and then generating a third one (or > > updating one of them) for merging

entity processing order during updates

2015-09-28 Thread Roxana Danger
Hello, I am importing in solr 2 entities coming from 2 different tables, and I have defined an update request processor chain with two custom processor factories: - the first processor factory needs to be executed first for one type of entities and then for the other (I differentiate the

filling multiple fields with one analyzer

2015-09-09 Thread Roxana Danger
Hello, I have an analyzer whose output can be used to fill different fields. I could use copyfield and use the analyzer multiple times to fill each field; or save the output to a "temporal" field and use multiple very simple analyzers, one per field, that just split the output in the temporal

Re: initializing parameters of an alayzer

2015-09-03 Thread Roxana Danger
ee how StandardTokenizerFactory uses/reads maxTokenLength > parameter for initialisation. > > Ahmet > > > > > On Thursday, September 3, 2015 4:51 PM, Roxana Danger < > roxana.dan...@reedonline.co.uk> wrote: > > > > Hello, > I constructed a custom

initializing parameters of an alayzer

2015-09-03 Thread Roxana Danger
Hello, I constructed a custom analyser that needs to get some data from a file. Is there any attribute in the analyzer element of the schema.xml that I can use to initialize the parametersf my analyzer? Thank you very much in advance, Roxana --

best way for adding a new field to all indexed documents...

2015-08-26 Thread Roxana Danger
approach? Will the background processing be re-indexing the documents? Thank you very much in advance, Roxana -- Roxana Danger | Data Scientist Dragon Court, 27-29 Macklin Street, London, WC2B 5LX Tel: 020 7067 4568 [image: reed.co.uk] http://www.reed.co.uk/ The UK's #1 job site. http