Re: SOLR-1316 How To Implement this autosuggest component ???

2010-03-24 Thread stocki

okay, thx 

i installed ant and want to build with ant. but java cannot compile, because
all the lucene files missed ... !?

package org.apache.lucene.search does not exist
and more... did i checkout the wrong trunk ? 
.../lucee/dev/solr/trunk


Lance Norskog-2 wrote:
 
 You need 'ant' to do builds.  At the top level, do:
 ant clean
 ant example
 
 These will build everything and set up the example/ directory. After that,
 run:
 ant test-core
 
 to run all of the unit tests and make sure that the build works. If
 the autosuggest patch has a test, this will check that the patch went
 in correctly.
 
 Lance
 
 On Tue, Mar 23, 2010 at 7:42 AM, stocki st...@shopgate.com wrote:

 okay,
 i do this..

 but one file are not right updatet 
 Index: trunk/src/java/org/apache/solr/util/HighFrequencyDictionary.java
 (from the suggest.patch)

 i checkout it from eclipse, apply patch, make an new solr.war ... its the
 right way ??
 i thought that is making a war i didnt need to make an build.

 how do i make an build ?




 Alexey-34 wrote:

 Error loading class 'org.apache.solr.spelling.suggest.Suggester'
 Are you sure you applied the patch correctly?
 See http://wiki.apache.org/solr/HowToContribute#Working_With_Patches

 Checkout Solr trunk source code (
 http://svn.apache.org/repos/asf/lucene/solr/trunk ), apply patch,
 verify that everything went smoothly, build solr and use built version
 for your tests.

 On Mon, Mar 22, 2010 at 9:42 PM, stocki st...@shopgate.com wrote:

 i patch an nightly build from solr.
 patch runs, classes are in the correct folder, but when i replace
 spellcheck
 with this spellchecl like in the comments, solr cannot find the classes
 =(

 searchComponent name=spellcheck class=solr.SpellCheckComponent
    lst name=spellchecker
      str name=namesuggest/str
      str
 name=classnameorg.apache.solr.spelling.suggest.Suggester/str
      str
 name=lookupImplorg.apache.solr.spelling.suggest.jaspell.JaspellLookup/str
      str name=fieldtext/str
      str name=sourceLocationamerican-english/str
    /lst
  /searchComponent


 -- SCHWERWIEGEND: org.apache.solr.common.SolrException: Error loading
 class
 'org.ap
 ache.solr.spelling.suggest.Suggester'


 why is it so ??  i think no one has so many trouble to run a patch
 like
 me =( :D


 Andrzej Bialecki wrote:

 On 2010-03-19 13:03, stocki wrote:

 hello..

 i try to implement autosuggest component from these link:
 http://issues.apache.org/jira/browse/SOLR-1316

 but i have no idea how to do this !?? can anyone get me some tipps ?

 Please follow the instructions outlined in the JIRA issue, in the
 comment that shows fragments of XML config files.


 --
 Best regards,
 Andrzej Bialecki     
   ___. ___ ___ ___ _ _   __
 [__ || __|__/|__||\/|  Information Retrieval, Semantic Web
 ___|||__||  \|  ||  |  Embedded Unix, System Integration
 http://www.sigram.com  Contact: info at sigram dot com




 --
 View this message in context:
 http://old.nabble.com/SOLR-1316-How-To-Implement-this-autosuggest-component-tp27950949p27990809.html
 Sent from the Solr - User mailing list archive at Nabble.com.





 --
 View this message in context:
 http://old.nabble.com/SOLR-1316-How-To-Implement-this-patch-autoComplete-tp27950949p28001938.html
 Sent from the Solr - User mailing list archive at Nabble.com.


 
 
 
 -- 
 Lance Norskog
 goks...@gmail.com
 
 

-- 
View this message in context: 
http://old.nabble.com/SOLR-1316-How-To-Implement-this-patch-autoComplete-tp27950949p28013791.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: SOLR-1316 How To Implement this autosuggest component ???

2010-03-24 Thread stocki

hey.

i got it =) 

i checked out with lucene and the build from solr. with ant -verbose
example.

now, when i put this line into solrconfig: str
name=classnameorg.apache.solr.spelling.suggest.Suggester/str
no exception occurs =) juhu

but how wokrs this component ?? sorry for a new stupid question ^^


stocki wrote:
 
 okay, thx
 
 so i checked out but i cannot build an build.
 
 i got 100 errors ... 
 
 D:\cygwin\home\stock\trunk_\solr\common-build.xml:424: The following error
 occur
 red while executing this line:
 D:\cygwin\home\stock\trunk_\solr\common-build.xml:281: The following error
 occur
 red while executing this line:
 D:\cygwin\home\stock\trunk_\solr\contrib\clustering\build.xml:69: The
 following
 error occurred while executing this line:
 D:\cygwin\home\stock\trunk_\solr\build.xml:155: The following error
 occurred whi
 le executing this line:
 D:\cygwin\home\stock\trunk_\solr\common-build.xml:221: Compile failed; see
 the c
 ompiler error output for details.
 
 
 
 Lance Norskog-2 wrote:
 
 You need 'ant' to do builds.  At the top level, do:
 ant clean
 ant example
 
 These will build everything and set up the example/ directory. After
 that, run:
 ant test-core
 
 to run all of the unit tests and make sure that the build works. If
 the autosuggest patch has a test, this will check that the patch went
 in correctly.
 
 Lance
 
 On Tue, Mar 23, 2010 at 7:42 AM, stocki st...@shopgate.com wrote:

 okay,
 i do this..

 but one file are not right updatet 
 Index: trunk/src/java/org/apache/solr/util/HighFrequencyDictionary.java
 (from the suggest.patch)

 i checkout it from eclipse, apply patch, make an new solr.war ... its
 the
 right way ??
 i thought that is making a war i didnt need to make an build.

 how do i make an build ?




 Alexey-34 wrote:

 Error loading class 'org.apache.solr.spelling.suggest.Suggester'
 Are you sure you applied the patch correctly?
 See http://wiki.apache.org/solr/HowToContribute#Working_With_Patches

 Checkout Solr trunk source code (
 http://svn.apache.org/repos/asf/lucene/solr/trunk ), apply patch,
 verify that everything went smoothly, build solr and use built version
 for your tests.

 On Mon, Mar 22, 2010 at 9:42 PM, stocki st...@shopgate.com wrote:

 i patch an nightly build from solr.
 patch runs, classes are in the correct folder, but when i replace
 spellcheck
 with this spellchecl like in the comments, solr cannot find the
 classes
 =(

 searchComponent name=spellcheck class=solr.SpellCheckComponent
    lst name=spellchecker
      str name=namesuggest/str
      str
 name=classnameorg.apache.solr.spelling.suggest.Suggester/str
      str
 name=lookupImplorg.apache.solr.spelling.suggest.jaspell.JaspellLookup/str
      str name=fieldtext/str
      str name=sourceLocationamerican-english/str
    /lst
  /searchComponent


 -- SCHWERWIEGEND: org.apache.solr.common.SolrException: Error loading
 class
 'org.ap
 ache.solr.spelling.suggest.Suggester'


 why is it so ??  i think no one has so many trouble to run a patch
 like
 me =( :D


 Andrzej Bialecki wrote:

 On 2010-03-19 13:03, stocki wrote:

 hello..

 i try to implement autosuggest component from these link:
 http://issues.apache.org/jira/browse/SOLR-1316

 but i have no idea how to do this !?? can anyone get me some tipps ?

 Please follow the instructions outlined in the JIRA issue, in the
 comment that shows fragments of XML config files.


 --
 Best regards,
 Andrzej Bialecki     
   ___. ___ ___ ___ _ _   __
 [__ || __|__/|__||\/|  Information Retrieval, Semantic Web
 ___|||__||  \|  ||  |  Embedded Unix, System Integration
 http://www.sigram.com  Contact: info at sigram dot com




 --
 View this message in context:
 http://old.nabble.com/SOLR-1316-How-To-Implement-this-autosuggest-component-tp27950949p27990809.html
 Sent from the Solr - User mailing list archive at Nabble.com.





 --
 View this message in context:
 http://old.nabble.com/SOLR-1316-How-To-Implement-this-patch-autoComplete-tp27950949p28001938.html
 Sent from the Solr - User mailing list archive at Nabble.com.


 
 
 
 -- 
 Lance Norskog
 goks...@gmail.com
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/SOLR-1316-How-To-Implement-this-patch-autoComplete-tp27950949p28018196.html
Sent from the Solr - User mailing list archive at Nabble.com.




Re: SOLR-1316 How To Implement this autosuggest component ???

2010-03-23 Thread stocki

okay,
i do this.. 

but one file are not right updatet  
Index: trunk/src/java/org/apache/solr/util/HighFrequencyDictionary.java
(from the suggest.patch)

i checkout it from eclipse, apply patch, make an new solr.war ... its the
right way ?? 
i thought that is making a war i didnt need to make an build. 

how do i make an build ? 




Alexey-34 wrote:
 
 Error loading class 'org.apache.solr.spelling.suggest.Suggester'
 Are you sure you applied the patch correctly?
 See http://wiki.apache.org/solr/HowToContribute#Working_With_Patches
 
 Checkout Solr trunk source code (
 http://svn.apache.org/repos/asf/lucene/solr/trunk ), apply patch,
 verify that everything went smoothly, build solr and use built version
 for your tests.
 
 On Mon, Mar 22, 2010 at 9:42 PM, stocki st...@shopgate.com wrote:

 i patch an nightly build from solr.
 patch runs, classes are in the correct folder, but when i replace
 spellcheck
 with this spellchecl like in the comments, solr cannot find the classes
 =(

 searchComponent name=spellcheck class=solr.SpellCheckComponent
    lst name=spellchecker
      str name=namesuggest/str
      str
 name=classnameorg.apache.solr.spelling.suggest.Suggester/str
      str
 name=lookupImplorg.apache.solr.spelling.suggest.jaspell.JaspellLookup/str
      str name=fieldtext/str
      str name=sourceLocationamerican-english/str
    /lst
  /searchComponent


 -- SCHWERWIEGEND: org.apache.solr.common.SolrException: Error loading
 class
 'org.ap
 ache.solr.spelling.suggest.Suggester'


 why is it so ??  i think no one has so many trouble to run a patch
 like
 me =( :D


 Andrzej Bialecki wrote:

 On 2010-03-19 13:03, stocki wrote:

 hello..

 i try to implement autosuggest component from these link:
 http://issues.apache.org/jira/browse/SOLR-1316

 but i have no idea how to do this !?? can anyone get me some tipps ?

 Please follow the instructions outlined in the JIRA issue, in the
 comment that shows fragments of XML config files.


 --
 Best regards,
 Andrzej Bialecki     
   ___. ___ ___ ___ _ _   __
 [__ || __|__/|__||\/|  Information Retrieval, Semantic Web
 ___|||__||  \|  ||  |  Embedded Unix, System Integration
 http://www.sigram.com  Contact: info at sigram dot com




 --
 View this message in context:
 http://old.nabble.com/SOLR-1316-How-To-Implement-this-autosuggest-component-tp27950949p27990809.html
 Sent from the Solr - User mailing list archive at Nabble.com.


 
 

-- 
View this message in context: 
http://old.nabble.com/SOLR-1316-How-To-Implement-this-patch-autoComplete-tp27950949p28001938.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: use termscomponent like spellComponent ?!

2010-03-22 Thread stocki

thx.

it try to patch solr with 1316 but it not works =( 

do i need to checkout from svn Nightly ? 
http://svn.apache.org/repos/asf/lucene/solr/ 

when i create a patch and then create the WAR it has only 40 MB ...




Grant Ingersoll-6 wrote:
 
 See https://issues.apache.org/jira/browse/SOLR-1316
 
 
 On Mar 21, 2010, at 2:34 PM, stocki wrote:
 
 
 hello.
 
 i play with solr but i didn`t find the perfect solution for me.
 
 my goal is a search like the amazonsearch from the iPhoneApp. ;)
 
 it is possible to use the TermsComponent like the SpellComponent ? So,
 that
 works termsComp with more than one single Term ?!  
 
 i got these 3 docs with the name in my index:
 - nikon one
 - nikon two
 - nikon three
 
 so when ich search for nik termsCom suggest me  nikon. thats
 correctly
 whar i want.
 but when i type nikon on i want that solr suggest me nikon one , 
 
 how is that realizable ??? pleeease help me somebody ;) 
 
 a merge of TC nad SC where best solution in think so.
 
 field name=name type=textgen indexed=true stored=true
 required=true / 
 this is my searchfield. did i use the correct type ? 
 
 
 -- 
 View this message in context:
 http://old.nabble.com/use-termscomponent-like-spellComponent--%21-tp27977008p27977008.html
 Sent from the Solr - User mailing list archive at Nabble.com.
 
 
 --
 Grant Ingersoll
 http://www.lucidimagination.com/
 
 Search the Lucene ecosystem using Solr/Lucene:
 http://www.lucidimagination.com/search
 
 
 

-- 
View this message in context: 
http://old.nabble.com/use-termscomponent-like-spellComponent--%21-tp27977008p27988620.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: SOLR-1316 How To Implement this autosuggest component ???

2010-03-22 Thread stocki

i patch an nightly build from solr.
patch runs, classes are in the correct folder, but when i replace spellcheck
with this spellchecl like in the comments, solr cannot find the classes =(

searchComponent name=spellcheck class=solr.SpellCheckComponent
lst name=spellchecker
  str name=namesuggest/str
  str name=classnameorg.apache.solr.spelling.suggest.Suggester/str
  str
name=lookupImplorg.apache.solr.spelling.suggest.jaspell.JaspellLookup/str
  str name=fieldtext/str
  str name=sourceLocationamerican-english/str
/lst
  /searchComponent


-- SCHWERWIEGEND: org.apache.solr.common.SolrException: Error loading class
'org.ap
ache.solr.spelling.suggest.Suggester'


why is it so ??  i think no one has so many trouble to run a patch like
me =( :D


Andrzej Bialecki wrote:
 
 On 2010-03-19 13:03, stocki wrote:

 hello..

 i try to implement autosuggest component from these link:
 http://issues.apache.org/jira/browse/SOLR-1316

 but i have no idea how to do this !?? can anyone get me some tipps ?
 
 Please follow the instructions outlined in the JIRA issue, in the 
 comment that shows fragments of XML config files.
 
 
 -- 
 Best regards,
 Andrzej Bialecki 
   ___. ___ ___ ___ _ _   __
 [__ || __|__/|__||\/|  Information Retrieval, Semantic Web
 ___|||__||  \|  ||  |  Embedded Unix, System Integration
 http://www.sigram.com  Contact: info at sigram dot com
 
 
 

-- 
View this message in context: 
http://old.nabble.com/SOLR-1316-How-To-Implement-this-autosuggest-component-tp27950949p27990809.html
Sent from the Solr - User mailing list archive at Nabble.com.



use termscomponent like spellComponent ?!

2010-03-21 Thread stocki

hello.

i play with solr but i didn`t find the perfect solution for me.

my goal is a search like the amazonsearch from the iPhoneApp. ;)

it is possible to use the TermsComponent like the SpellComponent ? So, that
works termsComp with more than one single Term ?!  

i got these 3 docs with the name in my index:
 - nikon one
 - nikon two
 - nikon three

so when ich search for nik termsCom suggest me  nikon. thats correctly
whar i want.
but when i type nikon on i want that solr suggest me nikon one , 

how is that realizable ??? pleeease help me somebody ;) 

a merge of TC nad SC where best solution in think so.

field name=name type=textgen indexed=true stored=true
required=true / 
this is my searchfield. did i use the correct type ? 


-- 
View this message in context: 
http://old.nabble.com/use-termscomponent-like-spellComponent--%21-tp27977008p27977008.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: SOLR-1316 How To Implement this autosuggest component ???

2010-03-20 Thread stocki

thx, but i had already implement this way, but w are not so happy with the
solutions that this way returns =(

is there any possibility to group suggests ? 



Erick Erickson wrote:
 
 This link might help. Although it talks about getting the data in with
 DIH,
 you can skip that part
 
 http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/
 
 http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/
 Erick
 
 On Fri, Mar 19, 2010 at 8:03 AM, stocki st...@shopgate.com wrote:
 

 hello..

 i try to implement autosuggest component from these link:
 http://issues.apache.org/jira/browse/SOLR-1316

 but i have no idea how to do this !?? can anyone get me some tipps ?
 --
 View this message in context:
 http://old.nabble.com/SOLR-1316-How-To-Implement-this-autosuggest-component-tp27950949p27950949.html
 Sent from the Solr - User mailing list archive at Nabble.com.


 
 

-- 
View this message in context: 
http://old.nabble.com/SOLR-1316-How-To-Implement-this-autosuggest-component-tp27950949p27958714.html
Sent from the Solr - User mailing list archive at Nabble.com.



SOLR-1316 How To Implement this autosuggest component ???

2010-03-19 Thread stocki

hello..

i try to implement autosuggest component from these link:
http://issues.apache.org/jira/browse/SOLR-1316

but i have no idea how to do this !?? can anyone get me some tipps ? 
-- 
View this message in context: 
http://old.nabble.com/SOLR-1316-How-To-Implement-this-autosuggest-component-tp27950949p27950949.html
Sent from the Solr - User mailing list archive at Nabble.com.



better results and differentiate my products

2010-03-19 Thread stocki

Hello.

i try to get better results of my search. so i need some help ;)
here my problem or better how i want my search:

if i search for TOMTOM and my results are something like this.
autosuggestion.

MERIAN scout Themenguide - Feinschmecker - für Garmin und TomTom
{
 response:{numFound:46,start:0,docs:[
{
 name:MERIAN scout Themenguide - Feinschmecker - für Garmin und
TomTom},
{
 name:MERIAN scout Reiseguide - München - für Garmin und TomTom},
{
 name:TomTom GO-Ladegerät für zu Hause und unterwegs},
{
 name:TomTom GO-Verbindungskabel},
{
 name:TomTom Active Dock Traffic RDS/TMC (mit iPod-Unterstützung) für
GO-Serie},
{
 name:TomTom Aktive Dock Befestigungsset für GO-Serie},
{
 name:TomTom Kartenmaterial West- und Zentraleuropa iQ Routes (v8.30)
SD-Karte}]
 }}


so but what i want is that all results are maching with the
navigation-TOMTOM are completet under one suggest TomTom.
now is it so, that solr search in every field for my surchstring and give me
what he`s founded ...

how can i differentiate my search ? 

another problem: how ca i get a good short name of the productname ?  or is
it better to use autosuggestion for only short terms ?



-- 
View this message in context: 
http://old.nabble.com/better-results-and-differentiate-my-products-tp27950954p27950954.html
Sent from the Solr - User mailing list archive at Nabble.com.



where can i get an synonym.txt and spellcheck.txt ?

2010-03-18 Thread stocki

Hello.

I search an synonym and spellcheck.txt 
where can i find it in the laaarge internet ? 

or how, do you filled these two files with good names ? 
-- 
View this message in context: 
http://old.nabble.com/where-can-i-get-an-synonym.txt-and-spellcheck.txt---tp27946812p27946812.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: where can i get an synonym.txt and spellcheck.txt ?

2010-03-18 Thread stocki


aha, okay thx.

and how do you get yout spellcheck words from your productnames ? 

we have somtimes very looong names. how it is possible to use the
spellchecker function or autosuggestion in the right way ? 




Erick Erickson wrote:
 
 You probably won't find a good synonyms file. The problem is
 that synonyms tend to be domain-specific, so a synonyms file
 for chemistry would be of little use for psychology.
 
 
 Spellcheck is generally more useful it it's derived from words
 already *in* your index. It's of little use to a user to have
 spellcheck/autosuggest show terms that aren't in the
 index...
 
 HTH
 Erick
 
 On Thu, Mar 18, 2010 at 10:58 AM, stocki st...@shopgate.com wrote:
 

 Hello.

 I search an synonym and spellcheck.txt
 where can i find it in the laaarge internet ?

 or how, do you filled these two files with good names ?
 --
 View this message in context:
 http://old.nabble.com/where-can-i-get-an-synonym.txt-and-spellcheck.txt---tp27946812p27946812.html
 Sent from the Solr - User mailing list archive at Nabble.com.


 
 

-- 
View this message in context: 
http://old.nabble.com/where-can-i-get-an-synonym.txt-and-spellcheck.txt---tp27946812p27948589.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: distinct on my result

2010-03-11 Thread stocki

okay.
we have a lot of products and i just importet the name of each product to a
core.
make an edgengram to this and my autoCOMPLETION runs.

but i want an auto-suggestion:

example.

autoCompletion--   I: harry O: harry potter...
but when the input ist -- I. potter -- O: /

so what i want is, that i get harry potter ... when i tipping potter
into my search field!

any idea ? 

i think the solution is a mixe of termsComponent and EdgeNGram or not ? 

i am a little bit despair, and in this forum are too many information about
it =( 


gwk-4 wrote:
 
 Hi,
 
 The autosuggest core is filled by a simple script (written in PHP) which 
 request facet values for all the possible strings one can search for and 
 adds them one by one as a document. Our case has some special issues due 
 to the fact that we search in multiple languages (Typing España will 
 suggest Spain and the other way around when on the Spanish site). We 
 have about 97500 documents yeilding approximately 12500 different 
 documents in our autosuggest-core and the autosuggest-update script 
 takes about 5 minutes to do a full re-index (all this is done on a 
 separate server and replicated so the indexing has no impact on the 
 performance of the site).
 
 Regards,
 
 gwk
 
 On 3/10/2010 3:09 PM, stocki wrote:
 okay. thx

 my suggestion run in another core;)

 do you distinct during the import with DIH ?

 
 
 

-- 
View this message in context: 
http://old.nabble.com/distinct-on-my-result-tp27849951p27864088.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: distinct on my result

2010-03-11 Thread stocki

hey,

okay i show your my settings ;)
i use an extra core with the standard requesthandler.


SCHEMA.XML
field name=id type=string  indexed=true stored=true required=true
/
field name=name type=textindexed=true stored=true
required=true /
field name=suggest type=autocomplete indexed=true stored=true 
multiValued=true/
copyField source=name  dest=suggest/

so i copy my names to the field suggest and use the EdgeNGramFilter and some
others 

fieldType name=autocomplete class=solr.TextField
analyzer type=index
tokenizer class=solr.KeywordTokenizerFactory/
filter class=solr.LowerCaseFilterFactory /   
filter class=solr.EdgeNGramFilterFactory 
maxGramSize=100
minGramSize=1 /  
filter class=solr.StandardFilterFactory/
filter class=solr.TrimFilterFactory/
filter class=solr.SnowballPorterFilterFactory 
language=German2
protected=protwords.txt/ 
filter class=solr.SnowballPorterFilterFactory 
language=English
protected=protwords.txt/
filter class=solr.StopFilterFactory ignoreCase=true
words=stopwords.txt /
/analyzer
analyzer type=query
tokenizer class=solr.KeywordTokenizerFactory/
filter class=solr.LowerCaseFilterFactory /
filter class=solr.EdgeNGramFilterFactory 
maxGramSize=100
minGramSize=1 /
filter class=solr.StandardFilterFactory/
filter class=solr.TrimFilterFactory/
filter class=solr.SnowballPorterFilterFactory 
language=German2
protected=protwords.txt/ 
filter class=solr.SnowballPorterFilterFactory 
language=English
protected=protwords.txt/ 
filter class=solr.StopFilterFactory ignoreCase=true
words=stopwords.txt/

/analyzer
/fieldType


so with this konfig i get the results above ...

maybe i have t many filters ;) ?!



gwk-4 wrote:
 
 Hi,
 
 I'm no expert on the full-text search features of Solr but I guess that 
 has something to do with your fieldtype, or query. Are you using the 
 standard request handler or dismax for your queries? And what analysers 
 are you using on your product name field?
 
 Regards,
 
 gwk
 
 On 3/11/2010 3:24 PM, stocki wrote:
 okay.
 we have a lot of products and i just importet the name of each product to
 a
 core.
 make an edgengram to this and my autoCOMPLETION runs.

 but i want an auto-suggestion:

 example.

 autoCompletion--I: harry O: harry potter...
 but when the input ist --  I. potter -- O: /

 so what i want is, that i get harry potter ... when i tipping potter
 into my search field!

 any idea ?

 i think the solution is a mixe of termsComponent and EdgeNGram or not ?

 i am a little bit despair, and in this forum are too many information
 about
 it =(


 gwk-4 wrote:

 Hi,

 The autosuggest core is filled by a simple script (written in PHP) which
 request facet values for all the possible strings one can search for and
 adds them one by one as a document. Our case has some special issues due
 to the fact that we search in multiple languages (Typing España will
 suggest Spain and the other way around when on the Spanish site). We
 have about 97500 documents yeilding approximately 12500 different
 documents in our autosuggest-core and the autosuggest-update script
 takes about 5 minutes to do a full re-index (all this is done on a
 separate server and replicated so the indexing has no impact on the
 performance of the site).

 Regards,

 gwk

 On 3/10/2010 3:09 PM, stocki wrote:

 okay. thx

 my suggestion run in another core;)

 do you distinct during the import with DIH ?






 
 
 

-- 
View this message in context: 
http://old.nabble.com/distinct-on-my-result-tp27849951p27865058.html
Sent from the Solr - User mailing list archive at Nabble.com.



distinct on my result

2010-03-10 Thread stocki

hello.

i implement my suggest-function with edgengramfilter.
now when i get my result , is the result not distinct. often ist the name
double or more.

is it possible that solr gives me only distinct result ?

 response:{numFound:172,start:0,docs:[
{
 name:Halloween},
{
 name:Hallo Taxi},
{
 name:Halloween},
{
 name:Hallstatt},
{
 name:Hallo Mary},
{
 name:Halloween},
{
 name:Halloween},
{
 name:Halloween},
{
 name:Halleluja},
{
 name:Halloween}]

so how can i delete Halloween from solr ? 
i didnt want delete it from client-side

thx



-- 
View this message in context: 
http://old.nabble.com/distinct-on-my-result-tp27849951p27849951.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: distinct on my result

2010-03-10 Thread stocki

hey.

okay. thx 

my suggestion run in another core ;)

do you distinct during the import with DIH ?



gwk-4 wrote:
 
 Hi,
 
 I ran into the same issue, and what I did (at 
 http://www.mysecondhome.co.uk/) was to create a separate core just for 
 autosuggest which is fully updated once an hour which contains the 
 distinct values of the items I want to look for including the count so I 
 can display the approximate amount of results in the suggest dropdown. 
 This might not be a good solution when your data is updated frequently 
 but for us it's worked very well so far. Maybe you can also use 
 clustering so you won't have to create a separate core but I'm thinking 
 my solution performs better (although I haven't tested it so I could be 
 horribly horribly wrong).
 
 Regards,
 
 gwk
 
 On 3/10/2010 2:55 PM, stocki wrote:
 hello.

 i implement my suggest-function with edgengramfilter.
 now when i get my result , is the result not distinct. often ist the name
 double or more.

 is it possible that solr gives me only distinct result ?

   response:{numFound:172,start:0,docs:[
  {
   name:Halloween},
  {
   name:Hallo Taxi},
  {
   name:Halloween},
  {
   name:Hallstatt},
  {
   name:Hallo Mary},
  {
   name:Halloween},
  {
   name:Halloween},
  {
   name:Halloween},
  {
   name:Halleluja},
  {
   name:Halloween}]

 so how can i delete Halloween from solr ?
 i didnt want delete it from client-side

 thx




 
 
 

-- 
View this message in context: 
http://old.nabble.com/distinct-on-my-result-tp27849951p27850157.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Tomcat save my Index temp ...

2010-03-09 Thread stocki

okay i install my solr so like how the wiki said. and a new try. here one of
my two XML-files:

/var/lib/conf/Catalina/localhost/suggest.xml

Context docBase=/var/lib/tomcat5.5/solr.war debug=0 crossContext=true

   Environment name=solr/home type=java.lang.String  
value=/home/sites/my/path/to/Solr/home/cores/suggest override=true /
/Context


should i set name=solr/home to -- name=$SOLR_HOME ??? 

id did not find the reason.

Solr Home is set by :
export JAVA_OPTS=$JAVA_OPTS
-Dsolr.solr.home=/home/sites/path/to/home/cores

in my cores/ home folder ist the serv.xml from my post above.





Jens Kapitza-2 wrote:
 
 Am 08.03.2010 15:08, schrieb stocki:
 Hello.

 is use 2 cores for solr.

 when is restart my tomcat on debian, tomcat delete my index.

 you should check your tomcat-setup.
 is set data.dir to
 dataDir${solr.data.dir:./suggest/data}/dataDir
 and
 dataDir${solr.data.dir:./search/data}/dataDir


 use an absolute path [you have not set the solr.home path] this is 
 working/tmp dir from tomcat per default.
 cores adminPath=/admin/cores
  core name=search instanceDir=search
 dataDir=/search/data/index/
  core name=suggest instanceDir=suggest
 dataDir=/suggest/data/index/
 /cores


 is ok. but this is relative from solr.home.
 so. why is my index only temp ?


 try to setup solr again.
 http://wiki.apache.org/solr/SolrTomcat
 
 try to setup with Context fragment.
 
 Create a Tomcat Context fragment to point /docBase/ to the 
 /$SOLR_HOME/apache-solr-1.3.0.war/ file and /solr/home/ to /$SOLR_HOME/:
 
 
 and avoid storing the data in .../tmp/
 
 
 



-- 
View this message in context: 
http://old.nabble.com/Tomcat-save-my-Index-temp-...-tp27819967p27833705.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Tomcat save my Index temp ...

2010-03-09 Thread stocki

okay i got it .. iam studid XD  i set my dataDir to /var/data/solr/... and
gives the correct rights now it runs.



Jens Kapitza-2 wrote:
 
 Am 08.03.2010 15:08, schrieb stocki:
 Hello.

 is use 2 cores for solr.

 when is restart my tomcat on debian, tomcat delete my index.

 you should check your tomcat-setup.
 is set data.dir to
 dataDir${solr.data.dir:./suggest/data}/dataDir
 and
 dataDir${solr.data.dir:./search/data}/dataDir


 use an absolute path [you have not set the solr.home path] this is 
 working/tmp dir from tomcat per default.
 cores adminPath=/admin/cores
  core name=search instanceDir=search
 dataDir=/search/data/index/
  core name=suggest instanceDir=suggest
 dataDir=/suggest/data/index/
 /cores


 is ok. but this is relative from solr.home.
 so. why is my index only temp ?


 try to setup solr again.
 http://wiki.apache.org/solr/SolrTomcat
 
 try to setup with Context fragment.
 
 Create a Tomcat Context fragment to point /docBase/ to the 
 /$SOLR_HOME/apache-solr-1.3.0.war/ file and /solr/home/ to /$SOLR_HOME/:
 
 
 and avoid storing the data in .../tmp/
 
 
 





-- 
View this message in context: 
http://old.nabble.com/Tomcat-save-my-Index-temp-...-tp27819967p27834924.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Error 400 - By search with exclamation mark ... ?! PatternReplaceFilterFactory ?

2010-03-08 Thread stocki

oh okay, thx a lot ;)

can i escape all possible operators with a requesthandler ?
or can i escape these operators automatic when the syntax is wrong ?

is use Solr with an php client ^^



MitchK wrote:
 
 According to Ahmet Arslan's Post:
 Solr is expecting a word after the !, because it is an operator.
 If you escape it, it is part of the queried string.
 

-- 
View this message in context: 
http://old.nabble.com/Error-400---By-search-with-exclamation-mark-...--%21-PatternReplaceFilterFactory---tp27778918p27818984.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Free Webinar: Mastering Solr 1.4 with Yonik Seeley

2010-03-08 Thread stocki

i have the same problem ...

i wrote an email...--

Jonas, did you set the country correctly? If you set it to the US it will
validate against US number formats and not recognize your number in Germany.

but i did not find any option to set my country =(




Janne Majaranta wrote:
 
 Do I need a U.S. phone number to view the recording / download the slides
 ?
 The registration form whines about invalid area code..
 
 -Janne
 
 

-- 
View this message in context: 
http://old.nabble.com/Re%3A-Free-Webinar%3A-Mastering-Solr-1.4-with-Yonik-Seeley-tp27720526p27819123.html
Sent from the Solr - User mailing list archive at Nabble.com.



Tomcat save my Index temp ...

2010-03-08 Thread stocki

Hello.

is use 2 cores for solr.

when is restart my tomcat on debian, tomcat delete my index. 

is set data.dir to 
dataDir${solr.data.dir:./suggest/data}/dataDir 
and 
dataDir${solr.data.dir:./search/data}/dataDir

cores adminPath=/admin/cores
core name=search instanceDir=search dataDir=/search/data/index/
core name=suggest instanceDir=suggest
dataDir=/suggest/data/index/
/cores

so. why is my index only temp ? 

solr save my index to: /var/lib/tomcat5.5/temp

i test my solr env on XP with tomcat, and all ist okay =(
-- 
View this message in context: 
http://old.nabble.com/Tomcat-save-my-Index-temp-...-tp27819967p27819967.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Free Webinar: Mastering Solr 1.4 with Yonik Seeley

2010-03-08 Thread stocki

you only just delete your browser cache ;)



stocki wrote:
 
 i have the same problem ...
 
 i wrote an email...--
 
 Jonas, did you set the country correctly? If you set it to the US it will
 validate against US number formats and not recognize your number in
 Germany.
 
 but i did not find any option to set my country =(
 
 
 
 
 Janne Majaranta wrote:
 
 Do I need a U.S. phone number to view the recording / download the slides
 ?
 The registration form whines about invalid area code..
 
 -Janne
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Re%3A-Free-Webinar%3A-Mastering-Solr-1.4-with-Yonik-Seeley-tp27720526p27820239.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Tomcat save my Index temp ...

2010-03-08 Thread stocki


okay i install my solr so like how the wiki said. and a new try. here one of
my two files:

Context docBase=/var/lib/tomcat5.5/solr.war debug=0 crossContext=true

   Environment name=solr/home type=java.lang.String  
value=/home/sites/my/path/to/Solr/home/cores/suggest override=true /
/Context





Jens Kapitza-2 wrote:
 
 Am 08.03.2010 15:08, schrieb stocki:
 Hello.

 is use 2 cores for solr.

 when is restart my tomcat on debian, tomcat delete my index.

 you should check your tomcat-setup.
 is set data.dir to
 dataDir${solr.data.dir:./suggest/data}/dataDir
 and
 dataDir${solr.data.dir:./search/data}/dataDir


 use an absolute path [you have not set the solr.home path] this is 
 working/tmp dir from tomcat per default.
 cores adminPath=/admin/cores
  core name=search instanceDir=search
 dataDir=/search/data/index/
  core name=suggest instanceDir=suggest
 dataDir=/suggest/data/index/
 /cores


 is ok. but this is relative from solr.home.
 so. why is my index only temp ?


 try to setup solr again.
 http://wiki.apache.org/solr/SolrTomcat
 
 try to setup with Context fragment.
 
 Create a Tomcat Context fragment to point /docBase/ to the 
 /$SOLR_HOME/apache-solr-1.3.0.war/ file and /solr/home/ to /$SOLR_HOME/:
 
 
 and avoid storing the data in .../tmp/
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Tomcat-save-my-Index-temp-...-tp27819967p27823287.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Error 400 - By search with exclamation mark ... ?! PatternReplaceFilterFactory ?

2010-03-07 Thread stocki

hello.


yes, this works witghout any Exception.

but what say this to me ?




Koji Sekiguchi-2 wrote:
 
 stocki wrote:
 Hllo again ;)

 i get these Error message when is searching for this : hallo !
 hhtp request: select/?q=hallo+!version=2.2start=0rows=10indent=on

 SCHWERWIEGEND: org.apache.solr.common.SolrException:
 org.apache.lucene.queryParser.ParseException: Cannot parse 'tom !':
 Encountered EOF at line 1, column 5.
 Was expecting one of:
 ( ...
 * ...
 QUOTED ...
 TERM ...
 PREFIXTERM ...
 WILDTERM ...
 [ ...
 { ...
 NUMBER ...
 TERM ...
 * ...

 

 how can i exclude these patterns ? --  ! , . : - !§$%/()=?  during
 my
 index and search requests ?

   
 Can you try to place a back-slash before exclamation mark?
 
 http://localhost:8983/solr/select?q=hallo+\!
 
 Koji
 
 -- 
 http://www.rondhuit.com/en/
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Error-400---By-search-with-exclamation-mark-...--%21-PatternReplaceFilterFactory---tp27778918p27813497.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: 2 Cores, 1 Table, 2 DataImporter -- Import at the same time ?

2010-03-04 Thread stocki

i found it like you said.

i didnt set an seperatet dataDir for my two cores ... ^^ thx =)



Lance Norskog-2 wrote:
 
 No, a core is a lucene index. Two DataImportHandler sessions to the
 same core will run on the same index.
 
 You should use lockType of simple or native. 'single' should only be
 used on a read-only index.
 
 From the stack trace it looks like you're only using one index in
 solr/core. You have to configure two separate cores with separate core
 directories. Check out the example/multicore directory for how that
 works.
 
 On Wed, Mar 3, 2010 at 6:39 AM, stocki st...@shopgate.com wrote:


 okay i change the lockType to single but with no good effect.

 so i think now, that my two DIH are using the same data-Folder. why ist
 it
 so ? i thought that each DIH use his own index ... ?!

 i think it is not possible to import from one table parallel with more
 than
 one DIH`s ?!


 myexception:

 java.io.FileNotFoundException:
 /var/lib/tomcat5.5/temp/solr/data/index/_5d.fnm (No such file or
 directory)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.init(RandomAccessFile.java:212)
        at
 org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput$Descriptor.init(SimpleFSDirectory.java:78)
        at
 org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.init(SimpleFSDirectory.java:108)
        at
 org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.init(NIOFSDirectory.java:94)
        at
 org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:70)
        at
 org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:691)
        at org.apache.lucene.index.FieldInfos.init(FieldInfos.java:68)
        at
 org.apache.lucene.index.SegmentReader$CoreReaders.init(SegmentReader.java:116)
        at
 org.apache.lucene.index.SegmentReader.get(SegmentReader.java:638)
        at
 org.apache.lucene.index.SegmentReader.get(SegmentReader.java:608)
        at
 org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:686)
        at
 org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:662)
        at
 org.apache.lucene.index.DocumentsWriter.applyDeletes(DocumentsWriter.java:954)
        at
 org.apache.lucene.index.IndexWriter.applyDeletes(IndexWriter.java:5190)
        at
 org.apache.lucene.index.IndexWriter.doFlushInternal(IndexWriter.java:4354)
        at
 org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:4192)
        at
 org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:4183)
        at
 org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2647)
        at
 org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2601)
        at
 org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:241)
        at
 org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:61)
        at
 org.apache.solr.handler.dataimport.SolrWriter.upload(SolrWriter.java:75)
        at
 org.apache.solr.handler.dataimport.DataImportHandler$1.upload(DataImportHandler.java:292)
        at
 org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:392)
        at
 org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:242)
        at
 org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:180)
        at
 org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:331)
        at
 org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:389)
        at
 org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:370)





 Erik Hatcher-4 wrote:

 what's the error you're getting?

 is DIH keeping some static that prevents it from running across two
 cores separately?  if so, that'd be a bug.

       Erik

 On Mar 3, 2010, at 4:12 AM, stocki wrote:


 pleeease help me somebody =( :P




 stocki wrote:

 Hello again ;)

 i install tomcat5.5 on my debian server ...

 i use 2 cores and two different DIH with seperatet Index, one for the
 normal search-feature and the other core for the suggest-feature.

 but i cannot start both DIH with an import command at the same
 time. how
 it this possible ?


 thx


 --
 View this message in context:
 http://old.nabble.com/2-Cores%2C-1-Table%2C-2-DataImporter---%3E-Import-at-the-same-time---tp27756255p27765825.html
 Sent from the Solr - User mailing list archive at Nabble.com.





 --
 View this message in context:
 http://old.nabble.com/SEVERE%3A-SolrIndexWriter-was-not-closed-prior-to-finalize%28%29%2C-indicates-a-bugPOSSIBLE-RESOURCE-LEAK%21%21%21-tp27756255p27768997.html
 Sent from the Solr - User mailing list archive at Nabble.com.


 
 
 
 -- 
 Lance Norskog
 goks...@gmail.com
 
 

-- 
View this message in context: 
http://old.nabble.com/SEVERE%3A-SolrIndexWriter-was-not-closed-prior-to-finalize%28%29%2C-indicates-a-bugPOSSIBLE-RESOURCE-LEAK%21%21%21-tp27756255p27778633.html
Sent from

Error 400 - By search with exclamation mark ... ?! PatternReplaceFilterFactory ?

2010-03-04 Thread stocki

Hllo again ;)

i get these Error message when is searching for this : hallo !
hhtp request: select/?q=hallo+!version=2.2start=0rows=10indent=on

SCHWERWIEGEND: org.apache.solr.common.SolrException:
org.apache.lucene.queryParser.ParseException: Cannot parse 'tom !':
Encountered EOF at line 1, column 5.
Was expecting one of:
( ...
* ...
QUOTED ...
TERM ...
PREFIXTERM ...
WILDTERM ...
[ ...
{ ...
NUMBER ...
TERM ...
* ...



how can i exclude these patterns ? --  ! , . : - !§$%/()=?  during my
index and search requests ?

when i use the filter class=solr.PatternReplaceFilterFactory ... 
i get a NullPointerExeption
-- 
View this message in context: 
http://old.nabble.com/Error-400---By-search-with-exclamation-mark-...--%21-PatternReplaceFilterFactory---tp27778918p27778918.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: 2 Cores, 1 Table, 2 DataImporter -- Import at the same time ?

2010-03-03 Thread stocki

pleeease help me somebody =( :P




stocki wrote:
 
 Hello again ;)
 
 i install tomcat5.5 on my debian server ...
 
 i use 2 cores and two different DIH with seperatet Index, one for the
 normal search-feature and the other core for the suggest-feature. 
 
 but i cannot start both DIH with an import command at the same time. how
 it this possible ? 
 
 
 thx 
 

-- 
View this message in context: 
http://old.nabble.com/2-Cores%2C-1-Table%2C-2-DataImporter---%3E-Import-at-the-same-time---tp27756255p27765825.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: 2 Cores, 1 Table, 2 DataImporter -- Import at the same time ?

2010-03-03 Thread stocki


okay i change the lockType to single but with no good effect.

so i think now, that my two DIH are using the same data-Folder. why ist it
so ? i thought that each DIH use his own index ... ?!

i think it is not possible to import from one table parallel with more than
one DIH`s ?!


myexception: 

java.io.FileNotFoundException:
/var/lib/tomcat5.5/temp/solr/data/index/_5d.fnm (No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.init(RandomAccessFile.java:212)
at
org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput$Descriptor.init(SimpleFSDirectory.java:78)
at
org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.init(SimpleFSDirectory.java:108)
at
org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.init(NIOFSDirectory.java:94)
at
org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:70)
at
org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:691)
at org.apache.lucene.index.FieldInfos.init(FieldInfos.java:68)
at
org.apache.lucene.index.SegmentReader$CoreReaders.init(SegmentReader.java:116)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:638)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:608)
at
org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:686)
at
org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:662)
at
org.apache.lucene.index.DocumentsWriter.applyDeletes(DocumentsWriter.java:954)
at
org.apache.lucene.index.IndexWriter.applyDeletes(IndexWriter.java:5190)
at
org.apache.lucene.index.IndexWriter.doFlushInternal(IndexWriter.java:4354)
at
org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:4192)
at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:4183)
at
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2647)
at
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2601)
at
org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:241)
at
org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:61)
at
org.apache.solr.handler.dataimport.SolrWriter.upload(SolrWriter.java:75)
at
org.apache.solr.handler.dataimport.DataImportHandler$1.upload(DataImportHandler.java:292)
at
org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:392)
at
org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:242)
at
org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:180)
at
org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:331)
at
org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:389)
at
org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:370)





Erik Hatcher-4 wrote:
 
 what's the error you're getting?
 
 is DIH keeping some static that prevents it from running across two  
 cores separately?  if so, that'd be a bug.
 
   Erik
 
 On Mar 3, 2010, at 4:12 AM, stocki wrote:
 

 pleeease help me somebody =( :P




 stocki wrote:

 Hello again ;)

 i install tomcat5.5 on my debian server ...

 i use 2 cores and two different DIH with seperatet Index, one for the
 normal search-feature and the other core for the suggest-feature.

 but i cannot start both DIH with an import command at the same  
 time. how
 it this possible ?


 thx


 -- 
 View this message in context:
 http://old.nabble.com/2-Cores%2C-1-Table%2C-2-DataImporter---%3E-Import-at-the-same-time---tp27756255p27765825.html
 Sent from the Solr - User mailing list archive at Nabble.com.

 
 
 

-- 
View this message in context: 
http://old.nabble.com/SEVERE%3A-SolrIndexWriter-was-not-closed-prior-to-finalize%28%29%2C-indicates-a-bugPOSSIBLE-RESOURCE-LEAK%21%21%21-tp27756255p27768997.html
Sent from the Solr - User mailing list archive at Nabble.com.



get Server Status, TotalDocCount .... PHP !

2010-03-02 Thread stocki

hello

I use Solr in my cakePHP Framework.

How can i get status information of my solr cores ?? 

I dont want analyze everytime the responseXML. 

do anybody know a nice way to get status messages from solr ? 

thx ;) Jonas
-- 
View this message in context: 
http://old.nabble.com/get-Server-Status%2C-TotalDocCount--PHP-%21-tp27756118p27756118.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: get Server Status, TotalDocCount .... PHP !

2010-03-02 Thread stocki

Hey-

No i use the SolrPHPClient http://code.google.com/p/solr-php-client/
i not really want tu use two different php-libs. ^^

what do you mean with unserialize ? XD





Guillaume Rossolini-2 wrote:
 
 Hi
 
 Have you tried the php_solr extension from PECL?  It has a handy
 SolrPingResponse class.
 Or you could just call the CORENAME/admin/ping?wt=phps URL and unserialize
 it.
 
 Regards,
 
 --
 I N S T A N T  |  L U X E - 44 rue de Montmorency | 75003 Paris | France
 Tél. : 01 80 50 52 51 | Mob. : 06 09 96 10 29 | web : www.instantluxe.com
 
 
 On Tue, Mar 2, 2010 at 2:50 PM, stocki st...@shopgate.com wrote:
 

 hello

 I use Solr in my cakePHP Framework.

 How can i get status information of my solr cores ??

 I dont want analyze everytime the responseXML.

 do anybody know a nice way to get status messages from solr ?

 thx ;) Jonas
 --
 View this message in context:
 http://old.nabble.com/get-Server-Status%2C-TotalDocCount--PHP-%21-tp27756118p27756118.html
 Sent from the Solr - User mailing list archive at Nabble.com.


 
 

-- 
View this message in context: 
http://old.nabble.com/get-Server-Status%2C-TotalDocCount--PHP-%21-tp27756118p27756852.html
Sent from the Solr - User mailing list archive at Nabble.com.