Re: Solr 6 Configuration - java.net.SocketTimeoutException

2016-08-16 Thread slee
Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-6-Configuration-java-net-SocketTimeoutException-tp4291813p4291935.html
Sent from the Solr - User mailing list archive at Nabble.com.


Performance Issue when querying Multivalued fields [SOLR 6.1.0]

2016-09-21 Thread slee
I've been doing a lot of reading on this forum with regards to performance on
multivalued fields, and nothing helps. When I query on singlie fields, the
response time is fairly quick (typically < 1sec). However, when I query on
multivalued fields, the response is > 2 mins ~ 3 mins.

Here's my current environment:
CPU: Intel Xeon E5-2637 v3 @ 3.5Ghz
RAM: 16GB
OS: Windows 7 64 Bit
HD Controller: SCSI

SOLR Documents: 17 million.
Average # of terms in a multivalued fields: 54~60
Schema: Multivalue field has indexed="true"

I've set both my XMS and XMX to 5g, using -m 5g option. Another thing I
realized is, every time I query on the multivalued, the memory consumptions
takes up over 90%. Could this also be the cause of the issue? I have tried
MMapDirectoryFactory, the results seems to be the same (vs the default
NRTCachingDirectoryFactory). 

Please help. Any advise would be appreciated. 
Thanks.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Performance-Issue-when-querying-Multivalued-fields-SOLR-6-1-0-tp4297255.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Performance Issue when querying Multivalued fields [SOLR 6.1.0]

2016-09-22 Thread slee
Here's what I have define in my schema:


  
  
  
  


  
  
  

  



This is what I send in the query (2 values):
q=global_Value:*mas+AND+global_Value:*sef&df=text&rows=5&version=2.2&echoParams=explicit&fl=global_Value

In addition, memory is taking way over 90%, given the heap space set at 5g.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Performance-Issue-when-querying-Multivalued-fields-SOLR-6-1-0-tp4297255p4297474.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Performance Issue when querying Multivalued fields [SOLR 6.1.0]

2016-09-22 Thread slee
Alex,

You do have a point with EdgeNGramFilterFactory. As requested, I've attached
a sample screenshotfor your review.
 

Erick,

Here's my use-case. Assume I have the following term stored in global_Value
as such:
- executionvenuetype#*OFF*-FACILITY
- partyid#B2A*SEF*9AJP5P9OLL1190

Now, I want to retrieve any document matching the term in global_Value that
contains the keyword: "off" and "sef". With regards to leading wild-card,
that's intentional. Not a mail issue. These fields typically contains Guid,
and some financial terms (eg: Bonds, swaps, etc..). If I don't use any
non-wildcard, then it's an exact match. But my use-case dictates that it
should retrieve if it's a partial match.

So what's my best bet for analyzer in such cases ?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Performance-Issue-when-querying-Multivalued-fields-SOLR-6-1-0-tp4297255p4297542.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Performance Issue when querying Multivalued fields [SOLR 6.1.0]

2016-09-23 Thread slee
Erick / Alex,

I want to thank you both. Your hints got me understand SOLR a bit better. I
ended up with reversewildcard, and it speeds up performance a lot. That's
what I'm expecting from SOLR...  I also no longer experience the huge memory
hog.

The only down-side I can think of is, you need to re-index when you change
the schema. But I can live with that, since I'll have 2 machines where one
is for reading, the other one is for indexing... I'll swap when the indexing
is done.. I presume that's what the swap from the Admin UI is for right?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Performance-Issue-when-querying-Multivalued-fields-SOLR-6-1-0-tp4297255p4297821.html
Sent from the Solr - User mailing list archive at Nabble.com.


Viewing the Cache Stats [SOLR 6.1.0]

2016-09-24 Thread slee
I'm trying to view the Cache Stats.
After reading this thread:  Cache Stats
  , I can't
seem to find the Statistic page in the SOLR Admin.

Should I be installing some plug-in or do some configuration?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Viewing-the-Cache-Stats-SOLR-6-1-0-tp4297861.html
Sent from the Solr - User mailing list archive at Nabble.com.


Filter response for lukerequest handler [SOLR 6.1.0]

2016-10-14 Thread slee
I have read the following documentation outline here:  LukeRequestHandler
  

The response always comes back as:


What I want is just to have the response output as followed:


I have a use-case where I have well over 100 dynamic fields, which could
possibly grow. On the UI side, I would give them a text-box with look-ahead
search that binds to this dynamic fields.
 

Can this be done via the given LukeRequestHandler api?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Filter-response-for-lukerequest-handler-SOLR-6-1-0-tp4301218.html
Sent from the Solr - User mailing list archive at Nabble.com.


Multivalued Fields queries for Occurences.

2017-01-23 Thread slee
Hi Everyone,

Assume we have the following documents stored, where animals is a
multivalued fields..

someGuid1

cats
dogs
wolf




someGuid2

cats
cats
wolf




someGuid3

cats
kangaroo
wolf



How do i query a document where the field "animals" contains "cats" with
occurences > 1?
So this query should return doc with "id":someGuid2

Is this possible?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multivalued-Fields-queries-for-Occurences-tp4315482.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Multivalued Fields queries for Occurences.

2017-01-24 Thread slee
Anyone?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multivalued-Fields-queries-for-Occurences-tp4315482p4315580.html
Sent from the Solr - User mailing list archive at Nabble.com.