Re: fieldType textgen. tokens > 2
i got this query from the mailing list. but i found the problem. wrong query. i dont know why i construct my query so ... =( but thanks for your help =) - --- System One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, 1 Core with 31 Million Documents other Cores < 100.000 - Solr1 for Search-Requests - commit every Minute - 4GB Xmx - Solr2 for Update-Request - delta every 2 Minutes - 4GB Xmx -- View this message in context: http://lucene.472066.n3.nabble.com/fieldType-textgen-tokens-2-tp2318775p2320121.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: fieldType textgen. tokens > 2
You need to get more familiar with debugging, spending the time on it is well worth the effort. But assuming the '+' in your pasted query are really URL-encoded spaces your syntax is really confused. sender:(name1 name2 name3 OR sender_2:name1 name2 name3) It *looks* like you intend something like sender:(name1 name2 name3) OR sender_2:(name1 name2 name3) note the added parentheses. Best Erick On Mon, Jan 24, 2011 at 6:04 AM, stockii wrote: > > that is my query: &q=sender:name1+name2+name3 > exaclty the request is: > &q=sender:(name1+name2+name3+OR+sender_2:name1+name2+name3) > > so solr is using another field for name2 and name3 ? > > debugging cannot help me, or i dont understand the debugging ... > when i search only for "name1 + name2" search is okay. but with name3 not > ... > in my test-enironment i used the same fieldType but it works fine... > > - > --- System > > > One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, > 1 Core with 31 Million Documents other Cores < 100.000 > > - Solr1 for Search-Requests - commit every Minute - 4GB Xmx > - Solr2 for Update-Request - delta every 2 Minutes - 4GB Xmx > -- > View this message in context: > http://lucene.472066.n3.nabble.com/fieldType-textgen-tokens-2-tp2318775p2318865.html > Sent from the Solr - User mailing list archive at Nabble.com. >
Re: fieldType textgen. tokens > 2
that is my query: &q=sender:name1+name2+name3 exaclty the request is: &q=sender:(name1+name2+name3+OR+sender_2:name1+name2+name3) so solr is using another field for name2 and name3 ? debugging cannot help me, or i dont understand the debugging ... when i search only for "name1 + name2" search is okay. but with name3 not ... in my test-enironment i used the same fieldType but it works fine... - --- System One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, 1 Core with 31 Million Documents other Cores < 100.000 - Solr1 for Search-Requests - commit every Minute - 4GB Xmx - Solr2 for Update-Request - delta every 2 Minutes - 4GB Xmx -- View this message in context: http://lucene.472066.n3.nabble.com/fieldType-textgen-tokens-2-tp2318775p2318865.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: fieldType textgen. tokens > 2
This is not the fieldType but your query that is giving you trouble. You only specify fieldName for value name1, so Solr will use defaultField for values name2 and name3. You also omitted an operator, so Solr will use defaultOperator instead. See you schema.xml for the values for the defaults and use debugQuery=true to, well, debug queries. On Monday 24 January 2011 11:48:07 stockii wrote: > Hello. > > my field sender with fieldType=textgen cannot find any documents wich are > more than 2 tokens long. > > ->q=sender:name1 name2 name3 => 0 Documents found > > WHY ??? > > that is my field (original from default schema.xml) > > positionIncrementGap="100"> > > words="stopwords.txt" enablePositionIncrements="true"/> > generateNumberParts="1" catenateWords="1" catenateNumbers="1" > catenateAll="0" splitOnCaseChange="0"/> > > > > > ignoreCase="true" expand="true"/> > words="stopwords.txt" enablePositionIncrements="true"/> > generateNumberParts="1" catenateWords="0" catenateNumbers="0" > catenateAll="0" splitOnCaseChange="0"/> > > > > > - > --- System > > > One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, > 1 Core with 31 Million Documents other Cores < 100.000 > > - Solr1 for Search-Requests - commit every Minute - 4GB Xmx > - Solr2 for Update-Request - delta every 2 Minutes - 4GB Xmx -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350
fieldType textgen. tokens > 2
Hello. my field sender with fieldType=textgen cannot find any documents wich are more than 2 tokens long. ->q=sender:name1 name2 name3 => 0 Documents found WHY ??? that is my field (original from default schema.xml) - --- System One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, 1 Core with 31 Million Documents other Cores < 100.000 - Solr1 for Search-Requests - commit every Minute - 4GB Xmx - Solr2 for Update-Request - delta every 2 Minutes - 4GB Xmx -- View this message in context: http://lucene.472066.n3.nabble.com/fieldType-textgen-tokens-2-tp2318775p2318775.html Sent from the Solr - User mailing list archive at Nabble.com.