You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Timo Schmidt <ti...@aoemedia.de> on 2011/02/09 11:07:37 UTC

Maintain stopwords.txt and synonyms.txt

Hello together,

i am currently developing a search solution, based on Apache Solr. Currently I have the problem that I want to offer the user the possibility to maintain synonyms and stopwords in a userfriendy tool. But currently I could not find any possibility to write the stopwords.txt or synonyms.txt.

Are there any other solutions?

Currently I have some ideas how to handle it:

1.    Implement another SynonymFilterFactory to allow other datasources like databases. I already saw approaches for that but no solutions yet.
2.    Implement a fileWriter request handler to write the stopwords.txt

Are there other solutions which are maybe already implemented?

Thanks and best regards Timo


Timo Schmidt
Entwickler (Diplom Informatiker FH)


AOE media GmbH
Borsigstr. 3
65205 Wiesbaden
Germany 
Tel. +49 (0) 6122 70 70 7 - 234
Fax. +49 (0) 6122 70 70 7 -199



e-Mail: timo.schmidt@aoemedia.de
Web: http://www.aoemedia.de/

Pflichtangaben laut Handelsgesetz §37a / Aktiengesetz §35a
USt-ID Nr.: DE250247455
Handelsregister: Wiesbaden B
Handelsregister Nr.: 22567 


Stammsitz: Wiesbaden
Creditreform: 625.0209354
Geschäftsführer: Kian Toyouri Gould 


Diese E-Mail Nachricht enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. This e-mail message may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. 




Re: Maintain stopwords.txt and synonyms.txt

Posted by Stefan Matheis <ma...@googlemail.com>.
Timo,

then use cronjobs on your solr-machine to fetch the generated
synonyms-file, put in to the correct location and reload the
core-configuration (which is required to update the synonyms-file)? :)

Regards
Stefan

On Wed, Feb 9, 2011 at 1:15 PM, Timo Schmidt <ti...@aoemedia.de> wrote:
> Yes we have something, but on another machine.
>
>
> Timo Schmidt
> Entwickler (Diplom Informatiker FH)
>
>
> AOE media GmbH
> Borsigstr. 3
> 65205 Wiesbaden
> Germany
> Tel. +49 (0) 6122 70 70 7 - 234
> Fax. +49 (0) 6122 70 70 7 -199
>
>
>
> e-Mail: timo.schmidt@aoemedia.de
> Web: http://www.aoemedia.de/
>
> Pflichtangaben laut Handelsgesetz §37a / Aktiengesetz §35a
> USt-ID Nr.: DE250247455
> Handelsregister: Wiesbaden B
> Handelsregister Nr.: 22567
> Stammsitz: Wiesbaden
> Creditreform: 625.0209354
> Geschäftsführer: Kian Toyouri Gould
>
>
> -----Ursprüngliche Nachricht-----
> Von: Stefan Matheis [mailto:matheis.stefan@googlemail.com]
> Gesendet: Mittwoch, 9. Februar 2011 11:34
> An: solr-user@lucene.apache.org
> Betreff: Re: Maintain stopwords.txt and synonyms.txt
>
> Hi Timo,
>
> of course - that's right. Write some JSP (i guess) which could be
> integrated in the already existing jetty/tomcat Server?
>
> Just wondering about, how do you perform Search-Requests to Solr?
> Normally, there is already any other Service running, which acts as
> 'proxy' to the outer world? ;)
>
> Regards
> Stefan
>
> On Wed, Feb 9, 2011 at 11:20 AM, Timo Schmidt <ti...@aoemedia.de> wrote:
>> Hi Stefan,
>>
>> i allready thought about that. Maybe some php service or something like that.
>> But this would mean, that I need additional software on that server like a normal
>> Apache installation, which needs to be maintained. That's why I thought a solution that
>> is build into solr would be nice.
>>
>> Thanks
>>
>> Timo Schmidt
>> Entwickler (Diplom Informatiker FH)
>>
>>
>> AOE media GmbH
>> Borsigstr. 3
>> 65205 Wiesbaden
>> Germany
>> Tel. +49 (0) 6122 70 70 7 - 234
>> Fax. +49 (0) 6122 70 70 7 -199
>>
>>
>>
>> e-Mail: timo.schmidt@aoemedia.de
>> Web: http://www.aoemedia.de/
>>
>> Pflichtangaben laut Handelsgesetz §37a / Aktiengesetz §35a
>> USt-ID Nr.: DE250247455
>> Handelsregister: Wiesbaden B
>> Handelsregister Nr.: 22567
>> Stammsitz: Wiesbaden
>> Creditreform: 625.0209354
>> Geschäftsführer: Kian Toyouri Gould
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Stefan Matheis [mailto:matheis.stefan@googlemail.com]
>> Gesendet: Mittwoch, 9. Februar 2011 11:14
>> An: solr-user@lucene.apache.org
>> Betreff: Re: Maintain stopwords.txt and synonyms.txt
>>
>> Timo,
>>
>> On Wed, Feb 9, 2011 at 11:07 AM, Timo Schmidt <ti...@aoemedia.de> wrote:
>>> But currently I could not find any possibility to write the stopwords.txt or synonyms.txt.
>>
>> what about writing the Files from an external Application and reload
>> your Solr Core!?
>> Seemed to be the simplest way to solve your problem, not?
>>
>> Regards
>> Stefan
>>
>

AW: Maintain stopwords.txt and synonyms.txt

Posted by Timo Schmidt <ti...@aoemedia.de>.
Yes we have something, but on another machine.


Timo Schmidt
Entwickler (Diplom Informatiker FH)


AOE media GmbH
Borsigstr. 3
65205 Wiesbaden
Germany 
Tel. +49 (0) 6122 70 70 7 - 234
Fax. +49 (0) 6122 70 70 7 -199



e-Mail: timo.schmidt@aoemedia.de
Web: http://www.aoemedia.de/

Pflichtangaben laut Handelsgesetz §37a / Aktiengesetz §35a
USt-ID Nr.: DE250247455
Handelsregister: Wiesbaden B
Handelsregister Nr.: 22567 
Stammsitz: Wiesbaden
Creditreform: 625.0209354
Geschäftsführer: Kian Toyouri Gould 


-----Ursprüngliche Nachricht-----
Von: Stefan Matheis [mailto:matheis.stefan@googlemail.com] 
Gesendet: Mittwoch, 9. Februar 2011 11:34
An: solr-user@lucene.apache.org
Betreff: Re: Maintain stopwords.txt and synonyms.txt

Hi Timo,

of course - that's right. Write some JSP (i guess) which could be
integrated in the already existing jetty/tomcat Server?

Just wondering about, how do you perform Search-Requests to Solr?
Normally, there is already any other Service running, which acts as
'proxy' to the outer world? ;)

Regards
Stefan

On Wed, Feb 9, 2011 at 11:20 AM, Timo Schmidt <ti...@aoemedia.de> wrote:
> Hi Stefan,
>
> i allready thought about that. Maybe some php service or something like that.
> But this would mean, that I need additional software on that server like a normal
> Apache installation, which needs to be maintained. That's why I thought a solution that
> is build into solr would be nice.
>
> Thanks
>
> Timo Schmidt
> Entwickler (Diplom Informatiker FH)
>
>
> AOE media GmbH
> Borsigstr. 3
> 65205 Wiesbaden
> Germany
> Tel. +49 (0) 6122 70 70 7 - 234
> Fax. +49 (0) 6122 70 70 7 -199
>
>
>
> e-Mail: timo.schmidt@aoemedia.de
> Web: http://www.aoemedia.de/
>
> Pflichtangaben laut Handelsgesetz §37a / Aktiengesetz §35a
> USt-ID Nr.: DE250247455
> Handelsregister: Wiesbaden B
> Handelsregister Nr.: 22567
> Stammsitz: Wiesbaden
> Creditreform: 625.0209354
> Geschäftsführer: Kian Toyouri Gould
>
>
> -----Ursprüngliche Nachricht-----
> Von: Stefan Matheis [mailto:matheis.stefan@googlemail.com]
> Gesendet: Mittwoch, 9. Februar 2011 11:14
> An: solr-user@lucene.apache.org
> Betreff: Re: Maintain stopwords.txt and synonyms.txt
>
> Timo,
>
> On Wed, Feb 9, 2011 at 11:07 AM, Timo Schmidt <ti...@aoemedia.de> wrote:
>> But currently I could not find any possibility to write the stopwords.txt or synonyms.txt.
>
> what about writing the Files from an external Application and reload
> your Solr Core!?
> Seemed to be the simplest way to solve your problem, not?
>
> Regards
> Stefan
>

Re: Maintain stopwords.txt and synonyms.txt

Posted by Stefan Matheis <ma...@googlemail.com>.
Hi Timo,

of course - that's right. Write some JSP (i guess) which could be
integrated in the already existing jetty/tomcat Server?

Just wondering about, how do you perform Search-Requests to Solr?
Normally, there is already any other Service running, which acts as
'proxy' to the outer world? ;)

Regards
Stefan

On Wed, Feb 9, 2011 at 11:20 AM, Timo Schmidt <ti...@aoemedia.de> wrote:
> Hi Stefan,
>
> i allready thought about that. Maybe some php service or something like that.
> But this would mean, that I need additional software on that server like a normal
> Apache installation, which needs to be maintained. That's why I thought a solution that
> is build into solr would be nice.
>
> Thanks
>
> Timo Schmidt
> Entwickler (Diplom Informatiker FH)
>
>
> AOE media GmbH
> Borsigstr. 3
> 65205 Wiesbaden
> Germany
> Tel. +49 (0) 6122 70 70 7 - 234
> Fax. +49 (0) 6122 70 70 7 -199
>
>
>
> e-Mail: timo.schmidt@aoemedia.de
> Web: http://www.aoemedia.de/
>
> Pflichtangaben laut Handelsgesetz §37a / Aktiengesetz §35a
> USt-ID Nr.: DE250247455
> Handelsregister: Wiesbaden B
> Handelsregister Nr.: 22567
> Stammsitz: Wiesbaden
> Creditreform: 625.0209354
> Geschäftsführer: Kian Toyouri Gould
>
>
> -----Ursprüngliche Nachricht-----
> Von: Stefan Matheis [mailto:matheis.stefan@googlemail.com]
> Gesendet: Mittwoch, 9. Februar 2011 11:14
> An: solr-user@lucene.apache.org
> Betreff: Re: Maintain stopwords.txt and synonyms.txt
>
> Timo,
>
> On Wed, Feb 9, 2011 at 11:07 AM, Timo Schmidt <ti...@aoemedia.de> wrote:
>> But currently I could not find any possibility to write the stopwords.txt or synonyms.txt.
>
> what about writing the Files from an external Application and reload
> your Solr Core!?
> Seemed to be the simplest way to solve your problem, not?
>
> Regards
> Stefan
>

AW: Maintain stopwords.txt and synonyms.txt

Posted by Timo Schmidt <ti...@aoemedia.de>.
Hi Stefan,

i allready thought about that. Maybe some php service or something like that.
But this would mean, that I need additional software on that server like a normal
Apache installation, which needs to be maintained. That's why I thought a solution that
is build into solr would be nice.

Thanks

Timo Schmidt
Entwickler (Diplom Informatiker FH)


AOE media GmbH
Borsigstr. 3
65205 Wiesbaden
Germany 
Tel. +49 (0) 6122 70 70 7 - 234
Fax. +49 (0) 6122 70 70 7 -199



e-Mail: timo.schmidt@aoemedia.de
Web: http://www.aoemedia.de/

Pflichtangaben laut Handelsgesetz §37a / Aktiengesetz §35a
USt-ID Nr.: DE250247455
Handelsregister: Wiesbaden B
Handelsregister Nr.: 22567 
Stammsitz: Wiesbaden
Creditreform: 625.0209354
Geschäftsführer: Kian Toyouri Gould 


-----Ursprüngliche Nachricht-----
Von: Stefan Matheis [mailto:matheis.stefan@googlemail.com] 
Gesendet: Mittwoch, 9. Februar 2011 11:14
An: solr-user@lucene.apache.org
Betreff: Re: Maintain stopwords.txt and synonyms.txt

Timo,

On Wed, Feb 9, 2011 at 11:07 AM, Timo Schmidt <ti...@aoemedia.de> wrote:
> But currently I could not find any possibility to write the stopwords.txt or synonyms.txt.

what about writing the Files from an external Application and reload
your Solr Core!?
Seemed to be the simplest way to solve your problem, not?

Regards
Stefan

Re: Maintain stopwords.txt and synonyms.txt

Posted by Stefan Matheis <ma...@googlemail.com>.
Timo,

On Wed, Feb 9, 2011 at 11:07 AM, Timo Schmidt <ti...@aoemedia.de> wrote:
> But currently I could not find any possibility to write the stopwords.txt or synonyms.txt.

what about writing the Files from an external Application and reload
your Solr Core!?
Seemed to be the simplest way to solve your problem, not?

Regards
Stefan