Hi,
I'm a bit baffled as to why this querys not working for me:
((title:"test" OR title:"keywords") OR (description:"test" OR
description:"keywords") OR (tags:"test" OR tags:"keywords")) AND
(-title:"something" AND -tags:"something" AND -description:"something") AND
(cat_id:"1") AND (private:"0")
Hello,
I have to index around 5-6 million documents in solr for full text search.
Each of these documents have around 25 additional metadata fields attached
to them. Each of the metadata fields individually are small (upto 64
characters). Common queries would be involving a search term along with
Two things.
1. There is a known bug related to field names immediately after a left
parenthesis, so insert a space between any left parenthesis and field name.
2. Purely negative expressions don't always work. insert "*:*" before any
purely negative expression.
So, for example, change:
((t
I would say "a" - index and filter on the metadata in Solr. Otherwise you
will have larger result lists from Solr that have to be queried against the
database, negating any minor speedup in the Solr portion of the search.
Solr filter queries, with their associated caching, should result in very
@ajdabholkar, It certainly achievable. How exactly to achieve this depends
on your document structure.
Lets say you have
iphone 4 - white
iphone 4s - white
iphone 4 - black
case 1: You have product_name - color format
If you have a field in each of your documents that specifies product_name
and
@ajdabholkar, It certainly achievable. How exactly to achieve this depends
on your document structure.
Lets say you have
iphone 4 - white
iphone 4s - white
iphone 4 - black
case 1: You have product_name - color format
If you have a field in each of your documents that specifies product_name
and
Sorry about resending couple of times, I accidently hit send a couple of
times..
@ajdabholkar, It certainly achievable. How exactly to achieve this depends
on your document structure.
Lets say you have
iphone 4 - white
iphone 4s - white
iphone 4 - black
case 1: You have product_name - color for
You can try directly querying Solr to see if your entire text value was
stored, but I suspect that somewhere in django the length is being limited
and the remaining words are being discarded - before Solr ever sees the
value.
Check "max_length" for your CharField.
I believe that the django do